This document explains about hiding buttons in standard business workplace POWL query Inbox application.
Here i didn't explain much about POWL query design related.
Hide some buttons in workflow inbox POWL query in business workflow application.
Step 1: First identify the Query ID in t-code POWL_QUERY for which you want to hide the buttons. Here i explained for query Inbox.
Step 2: Navigate to details screen of Inbox entry, here you can see the POWL Type ID mapped for this query in application.
Step 3: For this POWL Type ID WF_INBOX Check the class mapped in t-code POWL_TYPE
Step 4: Now, check this CL_SWF_POWL_FEEDER_INBOX class in t-code SE24
In this class, the method IF_POWL_FEEDER~GET_ACTIONS will contain the code for these all buttons as shown below.
Step 5: Create enhancement/exit for this method and comment the button code which ever you want to hide in application.
Here i just hide for the Set to Done button by commenting the code.
Now run the business workplace application, you will not see Set to Done button for Inbox query.
In same way other query's can be enhanced.