Online Tutorials & Training Materials | STechies.com
Register Login
Advertisement

Disable Buttons on SRM POWL Toolbar

|| 1

Disable Buttons on SRM POWL Toolbar
Stechies

How to Disable Buttons on SRM POWL Toolbar?

Hello SAP Expert,

Please explain to me how can I disable any button on SRM POWL Toolbar, For example,  disable button Edit in POWL of Supplier Lists?

Thanks in Advance


Comments

  • 16 Apr 2018 6:52 pm Best Answer

    Please follow the steps below in order to disable the button for all users in POWL:

    • First start transaction code /n/SAPSRM/POWL_CUST.
    • Now select the relevant POWL feeder, i.e. SAPSRM_FEEDER_ASL. 
    • Now navigate to Actions and double-click the relevant Action ID, i.e. CHANGE.
    • Now please uncheck the checkbox Enabled and save.

    A user can also disable the button dynamically in POWL (i.e. for some user with specific authorization) via writing a post-exit enhancement for the method below to manipulate table ET_ACTION.

    Class /SAPSRM/CL_PDO_*_STAT_HELPER, i.e. /SAPSRM/CL_PDO_ASL_STAT_HELPER
    Method /SAPSRM/IF_PDO_STATIC_HELPER~GET_STATIC_ACTIONS 

    For example, you can clear flag Enabled or delete the action (i.e. /sapsrm/if_pdo_action_c=>gc_action_edit) completely from table ET_ACTION.


Advertisement
Advertisement
Advertisement