found here:
http://msdn2.microsoft.com/en-us/library/aa155477(office.10).aspx
It describes which xml-tags can be used to define the Excel page settings
for an document, like scaling or page width.
It describes which xml-tags can be used to define the Excel page settings
for an document, like scaling or page width.
DATA lt_roles TYPE STANDARD TABLE OF str_agrs.
* Einlesen aller Rollen eines Users
CALL FUNCTION 'SRM_VE_GET_USER_ROLES'
EXPORTING
user_name = im_user
time_dependent = im_time_dependent
TABLES
activity_groups_users = lt_roles
EXCEPTIONS
no_activity_groups_available = 1
OTHERS = 2.
IF sy-subrc <> 0.
EXIT.
ENDIF.
SORT lt_roles BY agr_name.
* versuche, die benötigte Rolle zu finden
READ TABLE lt_roles WITH KEY agr_name = im_role_to_check
TRANSPORTING NO FIELDS BINARY SEARCH.
data: lv_date_im TYPE d,
lv_date_ex(10).
lv_date_im = xyz-Datum.
CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
EXPORTING
INPUT = lv_date_im
IMPORTING
OUTPUT = lv_date_ex.
xyz-Datum = lv_date_ex.
CALL FUNCTION 'EVAL_FORMULA'
EXPORTING
FORMULA = 'A+B'
PROGRAM = 'ZSB_TEST'
ROUTINE = 'GET_VAR'
IMPORTING
VALUE = e_value
FORM get_var USING value(name)
CHANGING value(value)
value(subrc).
CASE name.
WHEN 'A'.
value = 13.
WHEN 'B'.
value = 13.
WHEN OTHERS.
value = 0.
ENDCASE.
ENDFORM.
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
<style>
@page { margin:.90in .70in .70in .70in;
mso-header-margin:.49in;
mso-footer-margin:.49in; }
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:WorksheetOptions>
<x:DefaultColWidth>10</x:DefaultColWidth>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>9</x:PaperSizeIndex>
<x:Scale>80</x:Scale>
<x:HorizontalResolution>600</x:HorizontalResolution>
<x:VerticalResolution>600</x:VerticalResolution>
</x:Print>
<x:Selected/>
<x:DoNotDisplayGridlines/>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
Important is the tag <x:Scale>. Also interesting is the tag
<DoNotDisplayGridlines> which suppresses the table/line borders.