Skip to Content
0
Former Member
Dec 03, 2009 at 09:57 AM

Dump with html_top_of_page

77 Views

Hi Experts,

I need more length for displaying my header in ALV grid display output. So I tried a sample using html_top_of_page:

FORM top_of_page USING document TYPE REF TO cl_dd_document.

DATA: text TYPE sdydo_text_element.

text = text-055. "'Calender Year/Month'

CALL METHOD document->add_text

EXPORTING

text = text

sap_emphasis = 'Strong'.

ENDFORM.

Exactly the same code I have tried for some other program and it worked perfectly. But now, its giving dump: 'Missing parameter with PERFORM.' => A PERFORM was used to call the routine "TOP_OF_PAGE" of the program "/ALCANI2P/CTPP_CONFORD_ABCD_V5". The current call contains 0 actual parameter(s), but the routine "TOP_OF_PAGE" expects 1 parameters.

I dont know what's missing. I also declared the type-pool 'SDYDO'.