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,165

Hi,

I want to define my own pf-status in a program , But dont know what are the compnents in standard one . How i can check or copy standard one as well as add my own components in menu bar, application bar.

thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
800

U can check the standarad PF status in SE41..and check whta all there on menu bar!!!!

Now to create a custom pf-status u can write

set "pf-status" and double click on the pfstatus it will ask u to create it and u will be directed to se41

there u can define the function for the keys !!!

Read only

che_eky
Active Contributor
0 Likes
800

Copy the standard GUI called 'STANDARD' from function group 'SALV'. Copy it to a status in your program.

Read only

Former Member
0 Likes
800

Hi,

Just go to the T-code SE41 and click the copy button in appl toolbar

Input the program name and standard PF status and destination prg nam and z status.

u can get standard status, if you debug the program and get value for sy-pfkey.

Thanks,

Anmol.

Read only

Former Member
0 Likes
800

I am writing SET PF-STATUS 'STANDARD' . but it is showing me blank when double clicking 'STANDARD' .How I can copy STANDARD status.

Read only

che_eky
Active Contributor
0 Likes
800

Is your program setting a status for an ALV or is it a dialog program? For dialogs you should not need to copy and status as the standard status should be visible as default. For an ALV you can copy the standard status as follows:

SE80 -> Function Group -> SALV

Expand the GUI Status and right click on the status "STANDARD" -> Copy...

Give the copy to program name and status

Go back to your program, activate the GUI status you just copied. Make sure you use the correct GUI status name in your SET PF-STATUS command.

Che Eky

Read only

former_member207826
Participant
0 Likes
800

Hi,

You can write the statement SET PF-STATUS TO 'MY_PF_STATUS' in your own program. After that, double-click on 'MY_PF_STATUS' and it will create a new "GUI STATUS" object in your main program. Then, you will be able to customize it as you want.

Regards