Skip to Content

enable or disable function key on application toolbar

Hi panel, wish this message finds you in good health,

Expert, there are some links which I have searched about this issue:

but the problem is not yet solved.

I have an interface INS or GUI status, in MP900200 standard program, where icons- EPRV (ICON_PREVIOUS_OBJECT) and ENXT (ICON_NEXT_OBJECT) are created visible but disabled, I would like to see them visible and enable, as well as to add some code below them. All of icons are Display all value in Displaying Inactive Function option. I'm using this GUI status in Z transaction.

could you tell me how can I do that?

Kind regars

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 18, 2016 at 09:27 AM

    I guess you want to do a modification of the standard. If you're sure of what you're doing, okay.

    There are three ways to disable a function code:

    1. either at runtime via SET PF-STATUS ... EXCLUDING itab (where the function code is passed via the itab internal table),
    2. or statically in the GUI status by setting the cursor at the function code and pressing the button "[activate/deactivate] function code" in the toolbar (moreover there is a green/yellow/red icon at the right of the "application toolbar" text, which allows displaying the inactive buttons),
    3. or statically via screen variant.

    To enable it, just do the reverse operation.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2016 at 09:40 AM

    Perform some debug, start with form DYNAMIC_PFSTATUS of include FP50MF20 (SAPFP50M).



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 09:54 AM

    Thank you panel,

    Yes Raymond I have just find the line where that icon are "excluded":

    Include FP50MF20 , form SET_PFSTATUS, below is the code:




    and the icons,EPRV and ENXT which I would like to enable are in the itab FUNEXCL referenced in SET PF-STATUS......since it is a standard code, what should I do....

    kind regards.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2016 at 06:40 AM

    hi panel,

    Thank you Raymond

    I will go forward by your suggestion, I wish this solution won't cause an error in many HR transactions where these infotypes are used.

    Kind regards

    ( Cordialmente in PT)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.