Thursday, April 25, 2013

Simple ALV to display VBRP tables

REPORT  ZBSD_ZAR_52022.


DATAGT_SFLIGHT TYPE TABLE OF VBRP.
DATAG_REPID TYPE SY-REPID.

SELECT FROM VBRP INTO TABLE GT_SFLIGHT.
 
 

G_REPID SY-REPID.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
     EXPORTING
          I_CALLBACK_PROGRAM       G_REPID
          I_STRUCTURE_NAME         'VBRP'
          I_SAVE                   'A'     "Standard and user specific
     TABLES
          T_OUTTAB                 GT_SFLIGHT.



output

No comments:

Post a Comment