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

set pf _status

Former Member
0 Likes
434

what is the purpose of set pf_status?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
404

Hi,

SET PF-STATUS is used for defining menu in the program and screens...

For that first you need to create the GUI Status for the program in which you are going to use the GUI Status....

GUI Status contains the Menubar , Standard Toolbar & Application Toolbar.

You can create it by this way...

SE80

Create Program

Right Click on Program

Create --> GUS Status...

Give Name of that GUI Status.. ( Further it will be useful in the program )

Now it opens the window where you can design your own menu & toolbar...

Design it...

Now save and activate it..

Now come back to your program (ABAP Editor )

Write the first statement like below..

SET PF-STATUS 'MENU1'.

Here MENU1 is the name of the GUI status which you created from SE80..

You can handle the user command here using

case sy-ucomm.

when 'SE11'.

call transaction 'SE11'.

when 'NEXT'.

  • Some logic...

endcase.

Regards,

Ferry Lianto

what is the purpose of set pf_status?

2 REPLIES 2
Read only

Former Member
0 Likes
405

Hi,

SET PF-STATUS is used for defining menu in the program and screens...

For that first you need to create the GUI Status for the program in which you are going to use the GUI Status....

GUI Status contains the Menubar , Standard Toolbar & Application Toolbar.

You can create it by this way...

SE80

Create Program

Right Click on Program

Create --> GUS Status...

Give Name of that GUI Status.. ( Further it will be useful in the program )

Now it opens the window where you can design your own menu & toolbar...

Design it...

Now save and activate it..

Now come back to your program (ABAP Editor )

Write the first statement like below..

SET PF-STATUS 'MENU1'.

Here MENU1 is the name of the GUI status which you created from SE80..

You can handle the user command here using

case sy-ucomm.

when 'SE11'.

call transaction 'SE11'.

when 'NEXT'.

  • Some logic...

endcase.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
404

Hi,

SET PF-STATUS can be used to define your own menus, application toolbar and function keys..

Go to SE41..Create a GUI status ..

In the program give SET PF-STATUS..

In dialog program you have to give in the PBO event..

Thanks,

Naren