09-06-2008 3:07 PM
I copied standard transaction VL06C program to yprogram.
Now my requirement is i want to add one pushbutton on the application toolbar in the output screen.
regards,
vijay
09-06-2008 3:12 PM
09-06-2008 3:09 PM
09-06-2008 3:12 PM
09-06-2008 3:19 PM
GUI status is declared for only selecion screen. In output application toolbar i want to add pushbutton.
09-06-2008 4:12 PM
Hi Vijay,
Check this logic.
END-OF-SELECTION.
SET PF-STATUS 'ZSTATUS'.
Now go to se41 transaction. Click on copy status button in tool bar.
Give from program name as SAPMSSY0 and status as STLI , to program as ur program name and to status as ZSTATUS. Click enter. Now add ur push button in this ZSTATUS. Activate bothe status and program.
Now u should be able to see the button in ur program output.
In AT USER-COMMAND event handle this push button.
AT USER-COMMAND.
IF sy-ucomm EQ 'ur Function code of button'.
Do what ever u want.
ENDIF.
Hope it is clear.
Thanks,
Vinod.