cancel
Showing results for 
Search instead for 
Did you mean: 

Disable a button on Application Toolbar of a screen

Former Member
0 Kudos

Hi All,

How can we disable a button on Application Toolbar in the Status of a screen? My requirement is only to make it disable but not to make it invisible. I know that we can make the button invisible by using "Excluding" Option.

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate

In the gui status, you must make a change. Go into your gui-status. Click Go To, Attributes, Pushbutton Assignment, Now choose the radiobutton for "Display All", save and activate. You still will use the EXCLUDING extension of the SET PF-STATUS statement, except now, they will be greyed out and not invisible.

Regards,

Rich Heilman

Former Member
0 Kudos

How can i enable my Application Tool bar button like back, Cancel etc, i m displaying two screen first screen is 100 and other screen is 101 on both screen my application tool bar is become Disable , i cant go back or cancel plz help me out thanks.

biju_john
Explorer
0 Kudos

create a status.

under function keys

assign a function code to the button on the standard tool bar that you want to enable.

in pbo

Set the status

in PAI

Handle the okcode.

if okcode = 'function code'.

do something.

endif.'

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Rich,

Its really useful answer.

Thanks a lot....

Regards,

Ajit sarangi