Monday, December 20, 2010
REPORT ztest_notepad. DATA:it_data TYPE TABLE OF string, wa_data LIKE LINE OF it_data. DATA:p_app_file(100) TYPE c VALUE '/user/sap/tmp', p_separator TYPE c VALUE ''''. "quote separator "START-OF-SELECTION START-OF-SELECTION. OPEN DATASET p_app_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. IF sy-subrc = 0. DO. READ DATASET p_app_file INTO wa_data. IF wa_data IS INITIAL. EXIT. ELSE. SPLIT wa_data AT p_separator INTO TABLE it_data. ENDIF. ENDDO. ENDIF. CLOSE DATASET p_app_file.
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
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.