Hide buttons in My inbox fiori app
In S4 HANA when we implement my inbox fiori app. It shows some action tasks buttons by default like “Suspend”, “Claim”, “Show Log” etc. as follows:
In this blog we will discuss how to hide these buttons
In order to hide these buttons we will use the standard BADI “WF_TASK_SUPPORT”.
Go to SE18 and enter BADI Name WF_TASK_SUPPORT.
Click on Display. In following screen right click on implementation and “Create BADI Implementation”.
Click on implementing class.
Implement the MULTIPLE_TASK_SUPPORT method as follows.
loop at CH_TASKS_SUPPORTS assigning field–symbol(<FS_TASK_SUPPORTS>)
where TASK = ‘TS20000166’ or TASK = ‘TS20000168’.
<FS_TASK_SUPPORTS>–FORWARD = ABAP_FALSE.
<FS_TASK_SUPPORTS>–CLAIM = ABAP_FALSE.
<FS_TASK_SUPPORTS>–UIEXECUTIONLINK = ABAP_FALSE.
<FS_TASK_SUPPORTS>–RESUBMIT = ABAP_FALSE. “Suspend
<FS_TASK_SUPPORTS>–PROCESSINGLOGS = ABAP_FALSE.
<FS_TASK_SUPPORTS>–WORKFLOWLOG = ABAP_FALSE.
<FS_TASK_SUPPORTS>–RELEASE = ABAP_FALSE.
Activate the BADI and run my inbox fiori app. Output will be as follows:
For more detail please visit https://community.sap.com/topics/abap