Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to put a push button in the top of page of ALV

Former Member
0 Kudos

Hi at all,

I need to put a push button in TOP OF PAGE .

My code is below and i'd like to put a push button to do something.

FORM top_of_page USING r_ddoc TYPE REF TO cl_dd_document.

DATA: text TYPE sdydo_text_element.

DATA: text_table TYPE sdydo_text_table.

CALL METHOD r_ddoc->initialize_document.

  • Title

text = text-301.

CALL METHOD r_ddoc->add_text

EXPORTING

text = text

sap_style = 'HEADING'.

CLEAR text.

endform.

Thanks at all.

ENDFORM.

4 REPLIES 4

MarcinPciak
Active Contributor
0 Kudos

Hi Domenico,

For pushbuttons on Dynamic Documents please refer to this link:

http://help.sap.com/saphelp_nw70/helpdata/EN/b6/ab3a7503ac11d4a73f0000e83dd863/frameset.htm

Regards

Marcin

0 Kudos

I suppose I have to modify the pf status ?

Former Member
0 Kudos

I've modify pf-status

0 Kudos

If you want pushbutton be displayed in application toolbar, the answer is then yes - you have to modify your GUI status in order it is visible there.