Hiding buttons in POWL based applications
Overview:
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.
Requirement:
Hide some buttons in workflow inbox POWL query in business workflow application.
Solution Steps:
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.
Output :
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.
Good article Shankar!!!
Keep posting more.
Very helpful article.