‎2007 Mar 26 2:45 PM
Hai Experts,
Is there any FMs available for print,search,page-up,page-down etc..other keys like back,exit,cancel etc I can code by using sy-ucomm.I want the standard SAP functionality for print,search,page-up,page-down.
Please Help.
Thanx in Advance.
FAROOK.
‎2007 Mar 26 3:11 PM
Here are few FMS ...
1. RS_DD_PRINT which intrurn calles following function module.
2. GET_PRINT_PARAMETERS.
Hope this will help you to get desired result.
Darshan
Reward points to helpful answer
‎2007 Mar 26 3:22 PM
Hi farook...
No need of any function module for your requirement..
there are standard function codes for: print,search,page-up,page-down.
PRINT - %PRI
PAGE UP - P-
PAGE DOWN - P+
FIND - %SC
now goto the transaction SE41(Menu Painter)
then Give the protran name and Status name and click on the button Create.
it will create a new gui status for your program...
Then add your buttons in the application tool bat....
then press in the function keys ..
there u give these values.....
now use this GUI Ststus in your program....
Now these print,search,page-up,page-down bottons will ne enables and u can use these.
Reward points if useful......
Suresh
‎2007 Mar 27 6:16 AM
Hi Suresh,
I have created a GUI status as you explained,but when I am pressing the icon it does nothing.Do I need to code for the functionality by catching sy-ucomm?
Please clarify,
FAROOK
‎2007 Mar 27 6:42 AM
Hi.....
PRINT - %PRI
PAGE UP - P-
PAGE DOWN - P+
FIND - %SC
these are standard function codes so no need to code for the functionality by catching sy-ucomm.
Let me know if u have any doubt......
earlier i was confused.....
Sorry for that.....
you proceed like this:
create a GUI Status as Explained earlier, but a small change,
You then add your buttons in the application tool bar by pressing on Application tool bar, (Don't go for Functional keys)
there u give these values.....
it will create buttons on the application tool bar and these will provide you the standard functionalities for: print,page-up,page-down,search.
Reward points if useful......
Suresh......