Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUI Status

Former Member
0 Likes
640

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.

4 REPLIES 4
Read only

Former Member
0 Likes
604

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

Read only

Former Member
0 Likes
604

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

Read only

0 Likes
604

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

Read only

Former Member
0 Likes
604

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......