Application Development and Automation 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: 
Read only

Pushbutton in Application tool bar

Former Member
0 Likes
411

Hi,

How can i put pushbutton in application tool bar of a report output and how to use this for further processing.

Thanks

Saravana

3 REPLIES 3
Read only

Former Member
0 Likes
391

EX.

DATA: ITAB_CODE LIKE SY-UCOMM OCCURS 0 WITH HEADER LINE.

    • Dummy condition..

IF SY-SUBRC = 0.

  • A & B will be the function code that you gave in the menu painter..

ITAB_CODE = 'A'.APPEND ITAB_CODE.

ITAB_CODE = 'B'. APPEND ITAB_CODE.

  • THis will remove the function codes A & B from the menu bar.

SET PF-STATUS EXCLUDING ITAB_CODE.

ENDIF.

Read only

Former Member
0 Likes
391

Hi,

Create a New GUI status & call that before displaying the output using SET PF-STATUS 'ZNEW'.

Read only

Former Member
0 Likes
391

use set pf-status '1000' and click on 1000 and it will go menu painter.