Skip to Content
0
Jul 25, 2017 at 09:42 AM

How to delete top of page in main display ?

68 Views Last edit Jul 25, 2017 at 10:57 AM 4 rev

Hi, i just want to know how to delete this capture.png . This issue appears when i use the code below. I need to use i_callback_top_of_page = 'TOP' because i want my header will be displayed into the display before print. I get the right display in the view before print but there is a header in normal view.

 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
 EXPORTING
 i_callback_program = sy-repid
 is_layout = gd_layout
 it_fieldcat = I_fieldcatalog[]
 it_sort = IT_SORT[]
 i_callback_top_of_page = 'TOP'
 I_DEFAULT = 'X'
 I_SAVE = 'A'
 is_variant = i_variant1
 TABLES
 t_outtab = TB_iRESULT
 EXCEPTIONS
 program_error = 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.
FORM TOP.
  CALL FUNCTION 'Z_EGF_TOP_OF_PAGE'
    EXPORTING
      P_BOTTON_LINE = ''.
ENDFORM.
"This function is a standart display of a header.

Attachments

capture.png (23.9 kB)