REUSE_ALV_GRID_DISPLAY_LVC I_CALLBACK_HTML_TOP_OF_PAGE

I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_TOP_OF_PAGE'

 

FORM HTML_TOP_OF_PAGE USING DOCUMENT TYPE REF TO CL_DD_DOCUMENT.

 

  DATA:LW_TEXT TYPE SDYDO_TEXT_ELEMENT.

  CLEAR:LW_TEXT.

  CALL METHOD DOCUMENT->ADD_TEXT

    EXPORTING   TEXT = LW_TEXT.

  CALL METHOD DOCUMENT->ADD_GAP

     EXPORTING WIDTH = 1.

  CALL METHOD DOCUMENT ->NEW_LINE.

 

 

END FORM.

效果是:ALV 上面出现lw_text文本

 

posted on 2019-12-03 10:41  TorranceZhao  阅读(416)  评论(0编辑  收藏  举报

导航