DATA(lv_file) = 'path/file.xlsx'.
OPEN DATASET lv_file FOR INPUT IN BINARY MODE.
IF sy-subrc EQ 0.
READ DATASET lv_file INTO lv_xls_xstr.
IF sy-subrc NE 0.
MESSAGE e002 WITH lv_file.
ENDIF.
ELSE.
MESSAGE e001 WITH lv_file.
ENDIF.
CLOSE DATASET lv_file.
Serkan AKKAVAK
Computer Engineer BSc
Head of SAP & Software Department
Contact : serkurumsal@yandex.com

0 Comments