Skip to Content
0
Former Member
Apr 28, 2010 at 01:41 PM

title in ALV OO

266 Views

Hi Experts!!

How can I put a Title in the ALV OO?

I view this method SET_TITLE_TEXT (Sets Title Text) , but is protected.

I tried with event TOP_OF_PAGE, but nothig too.

form TOP_OF_PAGE using DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT.

"this is more clear.....check it

"first add text, then pass it to comentry write fm

DATA : DL_TEXT(255) TYPE C. "Text

  • Populating header to top-of-page

BREAK iromon.

CALL METHOD DG_DYNDOC_ID->ADD_TEXT

EXPORTING

TEXT = 'Título'

SAP_STYLE = CL_DD_AREA=>HEADING.

  • Add new-line

CALL METHOD DG_DYNDOC_ID->NEW_LINE.

endform. " TOP_OF_PAGE

Anyone can help me? please

Thanks