2007 Mar 08 6:20 PM
2007 Mar 08 6:22 PM
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?
2007 Mar 08 6:22 PM
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
2007 Mar 08 6:23 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |