‎2005 Dec 14 5:57 AM
Hi,
I have 4 select options.After entering the data iam presssing the execute button at top left.Iam getting output.In the output screen i want to crete one 'EXEC' button.(I have 4 check boxes in the output.any of them i wll 'check'.After checking i want to execute the report).
How can i create EXEC button in the output screen?
cheers
kaki
‎2005 Dec 14 5:59 AM
Hi Kaki,
Using Set-pf status 'STAT'.
you can add EXEC button to your report, and handle that in at user command event.
regards
vijay
‎2005 Dec 14 5:59 AM
Hi Kaki,
Using Set-pf status 'STAT'.
you can add EXEC button to your report, and handle that in at user command event.
regards
vijay
‎2005 Dec 14 6:10 AM
you have to create a GUI status and add it to your report after start-of-selection as Vijays suggested
start-of-selection .
<b>set PF-STATUS '<GUI STATUS U CREATED>' .</b>
then within the report
<b>at user-command</b> event you can check for the function code (sy-ucomm) of the button clicked and do appropriate processing.
Regards
Raja
‎2005 Dec 14 6:28 AM
Hi vijay & durairaj,
Iam not able to get the EXEC button.Can you give me any example to get EXEC button or step by step process please..!!! In the selection default iam gettng EXEC button.But in the output iam not able to get.
cheers
kaki
‎2005 Dec 14 6:31 AM
check out the follwoing link for step by step procedure for creating GUI status
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801d43454211d189710000e8322d00/frameset.htm
Regards
Raja
‎2005 Dec 14 6:54 AM
REPORT TEST.
initialization.
set pf-status 'ABC'. "click on this and try to add "
"execute button and give focde 'EXEC' and icon as
"<b>ICON_EXECUTE_OBJECT</b>
parameters: a type sy-datum.
start-of-selection.
"do collect some data...
at selection-screen.
if sy-ucomm = 'EXEC'.
**do what ever you want here..
endif.good luck...
regards
vijay
Message was edited by: Vijay Babu Dudla
‎2005 Dec 14 7:03 AM