Make your own free website on Tripod.com
SAP ABAP Programming, Functional and Basis Components Books


View the data after transferring to the dataset

REPORT ZPHYEXP2.

TABLES: ZBISEG,
        RLGRAP.

DATA: BEGIN OF ITAB OCCURS 100.
        INCLUDE STRUCTURE BISEG_MDE.
DATA: END OF ITAB.

OPEN DATASET '/usr/sap/trans/data/phyinvmde' IN TEXT MODE.
DO.
  READ DATASET '/usr/sap/trans/data/phyinvmde' INTO ITAB.
  IF SY-SUBRC <> 0.
    EXIT.
  ENDIF.
  WRITE: / ITAB-WERKS, ITAB-LGORT, ITAB-MATNR, ITAB-BSTAR,
           ITAB-ERFMG, ITAB-ERFME.
ENDDO.
CLOSE DATASET '/usr/sap/trans/data/phyinvmde'.

Back to Previous

Return to SAP Hints and Tips on Configuration and ABAP/4 Programming