Skip to Content
author's profile photo
Former Member

Greying out parts of the status screen

Hi,

for icons I have onn the application tool bar,

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

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 04, 2005 at 03:55 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 04, 2005 at 03:54 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 04, 2005 at 03:58 PM

    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,

    Add comment
    10|10000 characters needed characters exceeded