‎2009 Mar 23 5:36 AM
Hi,
Now I am creating a Module pool programming, But Iam Not able to Activate Function Keys
I have already added GUI status
Please Help me to solve this Issue
Regards
Nausal
‎2009 Mar 23 5:44 AM
Hi,
When you create a gui status, and include buttons in the application toolbar, and provide the function code and text for the button, you are asked for a shorcut key, select a shortcut from the given options and the apply that gui status to the application in PBO:-
SET PF-STATUS '<pf-status_name>'.
Now you can hit the shortcut keys and perform actions.
Hope this helps you.
Regards,
Tarun
‎2009 Mar 23 5:48 AM
Hi,
Through SET PF-STATUS Statement in your program,
you can assign short cut function keys to the buttons
added in its GUI Status.
Check whether your PF-Status is activated pro[erly or not.
Hope it helps
Regards
Mansi
‎2009 Mar 23 6:21 AM
Hi,
You are saying you have added the GUI status but Function keys are not activated this only means that though you have only created the GUI status but haven't actuvated the status.
1.Click on the GUI status created in the module pool program
2.If it is not created it will ask you to create a new one ---Press Yes else it will take you to the created GUI status screen.
3.In that screen add the button as you normally do in creating the PF status.
4.Save it and activate it .
5.Then activate the program.
6.This will create and activate the PF status created in the module pool.
Hope this help you.
Pooja
‎2009 Mar 23 6:32 AM
From your PBO write:
SET PF-STATUS '<pf-status_name>'.
click on the '<pf-status_name>' and add the function keys as per requirement and then activate.
Write appropriate code in PAI corresponding to the function codes
‎2009 Mar 23 6:41 AM
Hi,
Look the below pseudocode.
in PBO,
module status_<screen_no>
module status__<screen_no> output
set pf-status ;< >'.
endmodule.
and in PAI,
module user_command_<screen_no>
module user_command__<screen_no> input.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
endcase.
endmodule.
Thanks!
Brunda
.
‎2009 Mar 24 3:44 AM
Thanks to All
Solved It by adding the functioncode
Regards
Nausal