Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: ALV top of page not getting displayed

$
0
0

hi  prasanth,

 

                 you have to add events as below code and use GT_EVENTS  in the ''REUSE_ALV_GRID_DISPLAY" import parameter IT_EVENTS.

 

CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

     EXPORTING

       i_list_type     = 0

     IMPORTING

       et_events       = gt_events[]

     EXCEPTIONS

       list_type_wrong = 1

       OTHERS          = 2.

 

   IF sy-subrc <> 0.

  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

   ENDIF.

   READ TABLE gt_events WITH KEY name  = slis_ev_top_of_page INTO ls_event.

   IF sy-subrc  = 0.

     MOVE 'TOP_OF_PAGE'(058) TO ls_event-form.

     APPEND ls_event TO gt_events.

   ENDIF.

 

Regards,

Vikram


Viewing all articles
Browse latest Browse all 10425

Latest Images

Trending Articles



Latest Images