ABAP Certification, Smartform, Sapscripts, BAPI, JAVA, Visual Basic Programming 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'.

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.sap-basis-abap.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.sap-basis-abap.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.