SAP ABAP Enable or Disable / Hide Function Keys on the application tool bar and menu painter

Introduction:

Enable or display/hide the function keys or push buttons on the application toolbar on the screen.


Steps

  • Create a PF STATUS by double-clicking on the name “PF_STATUS”.

  • Set the mode of Options of the display icon. 
    • Enable or display (displayed in gray) 
      • The advantage of this method is that functions in the application toolbar remain in the same place (location constant) especially by dynamic deactivation.
    • Hide (disappear).


    • In MODULE status_0100 should maintain the following Code.
      • To do this, modify the Form SET_STATUS.
    *(beasd on the GI_RETURN, buttion will do the action)
    IF gi_return IS INITIAL. "Condition of display or Hide 
      SET PF-STATUS 'STATUS_100' EXCLUDING fcode.
    ELSE.
      SET PF-STATUS 'STATUS_100'.
    ENDIF.
    • Execute the program once again,
      • Now the output will be displayed with one function key or button on the application toolbar.
    Please send us your feedback/suggestions at biitsumudu@gmail.com

    Best Wishes.. :) 

    First
    2 Komentar
    avatar

    Informative article. You have done great explanation and visualization. Keep up the good work.
    BEST SAP ABAP TRAINING IN HYDERABAD

    Balas