2008 Jun 20 3:11 PM
hi
in menu painter
i designed a application tool bar with 4 items
how to make one of the itemto be displayed in ;disable' mode
2008 Jun 20 3:25 PM
In the runtime you can enable or disable the buttons using the EXCLUDING options with set pf-status.
you can remove one or more buttons in runtime.
"extab of type table of ucomm.
set pf-status 'XST' excluding extab. "append all ucomsss
if single then
set pf-status 'XST' excluding 'CODE'.
hi
in menu painter
i designed a application tool bar with 4 items
how to make one of the itemto be displayed in ;disable' mode
2008 Jun 20 3:19 PM
HI
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/d1/801ce8454211d189710000e8322d00/frameset.htm
Regards
2008 Jun 20 3:20 PM
Hello,
See this:
Setting the GUI status STATUS_0100 of the main program in a PBO module, whereby the functions with the function codes "CHANGE" and "SAVE" are deactivated.
DATA fcode TYPE TABLE OF sy-ucomm.
...
MODULE status_0100 OUTPUT.
APPEND 'CHANGE' TO fcode.
APPEND 'SAVE' TO fcode.
SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.
ENDMODULE.
Regards.
2008 Jun 20 3:25 PM
In the runtime you can enable or disable the buttons using the EXCLUDING options with set pf-status.
you can remove one or more buttons in runtime.
"extab of type table of ucomm.
set pf-status 'XST' excluding extab. "append all ucomsss
if single then
set pf-status 'XST' excluding 'CODE'.
2008 Jun 20 3:36 PM
Jyosthna,
You can use as mentioned below.
SET PF-STATUS 'STANDARD_SCREEN' EXCLUDING "Item Name".
Regards,
Suresh Kumar.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |