Tuesday, December 21, 2010
REPORT ztest_notepad. DATA: BEGIN OF it_upload OCCURS 0, pernr TYPE pa0001-pernr, subty TYPE pa0001-subty, ename TYPE pa0001-ename, END OF it_upload. "START-OF-SELECTION START-OF-SELECTION. CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = 'C:\test.txt' filetype = 'ASC' TABLES data_tab = it_upload. IF sy-subrc EQ 0. LOOP AT it_upload. WRITE:/ it_upload-pernr, it_upload-subty, it_upload-ename. ENDLOOP. ENDIF.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
filename = 'C:\test.txt'
ReplyDeletefiletype = 'ASC'
HAS_FIELD_SEPARATOR = 'X'