‎2008 Aug 12 1:08 PM
hi,
how to assign the function keys for for module pool programming . I need the process, please help me.
‎2008 Aug 12 1:10 PM
Hi.....
> Go to se41 -> expand function keys -> enter SAVE for save icon
Now in the PAI event of that screen, where you are using this PF status....
write this code:
>case sy-ucomm.
>when 'SAVE'.
><write ur action>.
>endcase.
Do like this.
Thanks,
Naveen.I
‎2008 Aug 12 1:11 PM
in ur PBO write set pf-status 'ABC'.
now double click on 'ABC' and will open a popup for pf-status. specify some description and then in this pf-status components screen one can specify require function keys which needs to be shown on various columns like on menu or else on application path.
in code one needs to handle code for the respective function keys....
more info goto ABAPDOCU...
‎2008 Aug 12 1:15 PM
Hi,
Double click the screen element (Push button, check box, radio button & drop down only) in SE51 screen painter layout and give any custom function code in FCode field in properties of that screen element
‎2008 Aug 12 1:17 PM
Using a status (buttons, menus, etc, [menu painter SE41|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=menupainterPF-STATUS&adv=false&sortby=cm_rnd_rankvalue])
- Create a "STATUS" for your program using transaction SE41
- In the PBO of your screen, execute a MODULE that contains a SET PF-STATUS statement
- In the PAI of your screen, execute MODULES that manage the function code, usually a MODULE AT EXIT-COMMAND before the checks and controls then a second MODULE. (That may be the same module. )
In the dynpro ([screen painter SE51|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=screenpainterSE51&adv=false&sortby=cm_rnd_rankvalue])
You can also create buttons, checkboxes, radiobuttons and fields with a dropdown list in the dynpro and then attach a function code to these objects.
Call transaction [DWDM|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=dwdm&adv=false&sortby=cm_rnd_rankvalue] for some SAP samples.
Regards
‎2008 Aug 13 9:32 AM
Hi,
In the PBO event of the screen which u want functionkeys...
module status_0100 output.
set pf-status 'XXXXXXXXX'. (any name say -SCREEN-100)
endmodule. " STATUS_0200 OUTPUT
Now double click on SCREEN-100
It will ask for creation then create ..
Now select the function keys and assign the keys you want.
Regards,
kavitha....