POP UP ALV


TYPE-POOLS: slis.

DATA : lt_flight TYPE TABLE OF sgeocity,

               ls_selfld TYPE slis_selfield.


START-OF-SELECTION.

  SELECT * FROM sgeocity INTO TABLE lt_flight UP TO 10 ROWS  .

  CALL FUNCTION ‘REUSE_ALV_POPUP_TO_SELECT’

       EXPORTING

            i_title                 = ‘Flight Schedules ‘

            i_selection             = ‘X’

            i_zebra                 = ‘X’

*           I_SCREEN_START_COLUMN   = 0

*           I_SCREEN_START_LINE     = 0

*           I_SCREEN_END_COLUMN     = 0

*           I_SCREEN_END_LINE       = 0

*           I_CHECKBOX_FIELDNAME    =

*           I_LINEMARK_FIELDNAME    =

*           I_SCROLL_TO_SEL_LINE    = ‘X’

            i_tabname               = ‘LT_FLIGHT’

            i_structure_name        = ‘SGEOCITY’

*           IT_FIELDCAT             =

*           IT_EXCLUDING            =

*           I_CALLBACK_PROGRAM      =

*           I_CALLBACK_USER_COMMAND =

*            is_private              =

     IMPORTING

            es_selfield             = ls_selfld

*            e_exit                  =

       TABLES

            t_outtab                = lt_flight

       EXCEPTIONS

            program_error           = 1

            OTHERS                  = 2.


 


 

Output- 


 

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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