‎2007 Jun 06 3:35 PM
Hi,
How can i put pushbutton in application tool bar of a report output and how to use this for further processing.
Thanks
Saravana
‎2007 Jun 06 3:40 PM
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.
‎2007 Jun 06 3:41 PM
Hi,
Create a New GUI status & call that before displaying the output using SET PF-STATUS 'ZNEW'.
‎2007 Jun 06 3:46 PM
use set pf-status '1000' and click on 1000 and it will go menu painter.