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文本