Tuesday, April 23, 2013

ABAP Sample Program using Internal tables


ABAP Sample Program using Internal tables


REPORT  ZBSD_ZAR_52022.
DATA: it1 TYPE KONV.
DATA: it2 TYPE VBRK.
DATA: it TYPE VBRP.



SELECT * FROM VBRP INTO it UP TO 5 ROWS.
WRITE: / it-matnr, it-vrkme, it-netwr.
ENDSELECT.

ULINE.

SELECT * FROM VBRK INTO it2 UP TO 5 ROWS.
WRITE: / it2-VBELN.
ENDSELECT.

ULINE.

SELECT * FROM KONV INTO it1 UP TO 5 ROWS.
WRITE / it1-KBETR.
ENDSELECT.




No comments:

Post a Comment