cancel
Showing results for 
Search instead for 
Did you mean: 

Greying out parts of the status screen

Former Member
0 Kudos

Hi,

for icons I have onn the application tool bar,

how can I enable and disable them? Or even hide them completely?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can hide them completely by excluding them.

SET pf-status '100' excluding 'FCODE'.

Check the F1 help for set pf-status. It will show you how to do it. If you want to gray them out when excluding, there is a setting in the gui status to do this also.

in the status, click go to, attributes, pushbutton assignment, click the radiobutton for "display all".

Regards,

Rich Heilman

Answers (2)

Answers (2)

Former Member
0 Kudos

Sims,

You can use 'transaction variants' if you want to hide buttons or fields on a screen of the transaction.

The transaction code for this is SHD0.

Rgds,

Former Member
0 Kudos

From the SET PF-STATUS help:

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 'AUSW' TO WA_TAB-FCODE.

APPEND WA_TAB TO TAB.

SET PF-STATUS 'STA3' EXCLUDING TAB.

Rob