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

in menu painter

Former Member
0 Likes
598

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
581

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

4 REPLIES 4
Read only

Former Member
Read only

Former Member
0 Likes
581

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.

Read only

Former Member
0 Likes
582

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'.

Read only

Former Member
0 Likes
581

Jyosthna,

You can use as mentioned below.

SET PF-STATUS 'STANDARD_SCREEN' EXCLUDING "Item Name".

Regards,

Suresh Kumar.