ABAP List Viewer(ALV) – 2

*ALV USING FM - REUSE_ALV_GRID_DISPLAY_LVC*  
data itab type table of vbak.
start-of-selection.
select from vbak into table itab UP TO 20 ROWS .
end-of-selection.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
 EXPORTING
   I_CALLBACK_PROGRAM        SY-CPROG
   I_STRUCTURE_NAME             'VBAK'
  TABLES
    T_OUTTAB                          ITAB.

 Output-


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s