2007 Jul 17 11:25 AM
2007 Jul 17 11:29 AM
Hi Suresh
Hi it is used to make some buttons on the PF STATUS as INVISIBLE
Regards
Ravish
Reward if useful
Hi Suresh
Hi it is used to make some buttons on the PF STATUS as INVISIBLE
Regards
Ravish
Reward if useful
2007 Jul 17 11:29 AM
Hi Suresh
Hi it is used to make some buttons on the PF STATUS as INVISIBLE
Regards
Ravish
Reward if useful
2007 Jul 17 11:29 AM
Excluding FCODE functions this way: It is invisible in the toolbar
Ex: Suppose you write SET PF-STATUS 'XXX' EXCLUDING 'BACK'.
BACK button is not visible. But, take care that you give FCODE for 'BACK' instaed direcly writing 'BACK'.
Regards,
Pavan
2007 Jul 17 11:30 AM
2007 Jul 17 11:31 AM
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.
<b>Reward points</b>
Regards
2007 Jul 17 11:32 AM
hi,
I think its better to explain with an eg:
chk this.
data: itab type table of sy-ucomm.
append 'DELE' to itab.
append 'PICK' to itab
set pf-status 'AAA' excluding itab.Use excluding option when you call the PF status from your program,
to do that declare an internal table and populate
the internal table with the fields that have to exclude from the menu and
call the PF status using the syntax given above
Regards
Reshma
2007 Jul 17 11:33 AM
Hi,
Here is an example of using an ITAB to exclude more than one Fcode in a status.
types: begin of tab_type,
fcode like rsmpe-func,
end of tab_type.
data: tab type standard table of tab_type with
non-unique default key initial size 10,
wa_tab type tab_type.
clear tab.
move 'DELE' to wa_tab-fcode.
append wa_tab to tab.
move 'PRIN' to wa_tab-fcode.
append wa_tab to tab.
set pf-status 'STA3' excluding tab.
You can exlude just one fcode by doing this.
set pf-status 'STA3' excluding 'DELE'.
Regards,
Omkar.
2007 Jul 17 11:40 AM
Hi Suresh,
The purpose of using EXCLUDE in set PF STATUS is to deactivate some option/function of PF status of basic list and contuinue the same PF status with limited option in all subsequent list levels.
<i>Reward point if helpful
Regards
Debjani</i>
2007 Jul 17 11:53 AM
EXCLUDE is use for remove buttons and options from PF status,
Chetan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |