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

PF-STATUS

Former Member
0 Likes
1,218

Hi,

Using menu painter I have created save button and exit button in my report output screen. It is working fine now I need to activate CTRL S for save button and I want to activate F12 for exit button. Please tell me how to proceed for this.

Thanks a lot in advance

7 REPLIES 7
Read only

Former Member
0 Likes
929

SET PF-STATUS '9000'.

Double click on 9000 then you will get another screen in which you can crete your required buttons

write in function keys back and exit for both symbols resp.

and activate and got to program and activate it

Minal Nampalliwar

Read only

Former Member
0 Likes
929

Hi,

In Menu painter, you can see the function keys. For whichever function key you want to assign SAVE, next to that function key, add the SAVE okcode. Save and activate.

Hope this helps.

ashish

Read only

Former Member
0 Likes
929

Hi,

in the menu painter, Select utilities> F key consistencncy. Give the Function code to the required key.

You can achive your output.

Reward points if usefull.

Regards,

Niyaz

Read only

Former Member
0 Likes
929

hI BABJI.

use set pf-ststus 'name'.double click on name,it will take you to menu painter

where u'll have function keys,u'll have save & exit icons there.

rewards if useful....

kavitha G

Read only

Former Member
0 Likes
929

Hi babji,

These are all standard are already active if u use function code as SAVE and EXIT respectively.

Read only

Former Member
0 Likes
929

Hi,

In the PF-STATUS

you can assign CTRL S for save and F12 for exitusing the "functional keys".

assign these functional keys for the respective buttons..

it will work.

<b>reward points if useful.</b>

regards,

Vinod Samuel.

Read only

Former Member
0 Likes
929

Hi

You have to use the system variable sy-ucomm for activating the functionality for the buttons.The function code which you have entered while creating menu in menu painter will appear in this system variable.When a paricular button is pressed you have to check the value of sy-ucomm and write code for that function.

You can activate the menu using Set pf-status comment

Reward if useful.

Regards

Shibin.