Thursday, April 25, 2013

ALV Demo Programs in SAP

Go To

SE80

PACKAGE

SELECT - SLIS


Example -

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

SELECT FROM SFLIGHT INTO TABLE GT_SFLIGHT.

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


No comments:

Post a Comment