2007 Sep 19 11:46 AM
need to get file from AL11 to my sap screen
plz give suggestions.
2007 Sep 19 11:49 AM
use the following code
OPEN DATASET gv_physical_name FOR INPUT IN TEXT MODE ENCODING DEFAULT.
DO.
READ DATASET gv_physical_name INTO gw_main.
IF sy-subrc NE 0.
*if sy-subrc failed come out of the do statement
EXIT.
ENDIF.
APPEND gw_main TO gt_main.
ENDDO. .
CLOSE DATASET p_datset.
need to get file from AL11 to my sap screen
plz give suggestions.
2007 Sep 19 11:49 AM
use the following code
OPEN DATASET gv_physical_name FOR INPUT IN TEXT MODE ENCODING DEFAULT.
DO.
READ DATASET gv_physical_name INTO gw_main.
IF sy-subrc NE 0.
*if sy-subrc failed come out of the do statement
EXIT.
ENDIF.
APPEND gw_main TO gt_main.
ENDDO. .
CLOSE DATASET p_datset.