Funktionsbaustein MS EXCEL OLE STANDARD DAT

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein MS_EXCEL_OLE_STANDARD_DAT

CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
  EXPORTING
    FILE_NAME                       =
"   CREATE_PIVOT                    = 0
"   DATA_SHEET_NAME                 = ' '
"   PIVOT_SHEET_NAME                = ' '
"   PASSWORD                        = ' '
"   PASSWORD_OPTION                 = 0
" TABLES
"   PIVOT_FIELD_TAB                 =
"   DATA_TAB                        =
"   FIELDNAMES                      =
" EXCEPTIONS
"   FILE_NOT_EXIST                  = 1
"   FILENAME_EXPECTED               = 2
"   COMMUNICATION_ERROR             = 3
"   OLE_OBJECT_METHOD_ERROR         = 4
"   OLE_OBJECT_PROPERTY_ERROR       = 5
"   INVALID_PIVOT_FIELDS            = 6
"   DOWNLOAD_PROBLEM                = 7
"   OTHERS                          = 8
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur