Skip to Content
Author's profile photo Shankar Reddy Chamala

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.

SBWP.PNG

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.

SBWP1.PNG

Step 2: Navigate to details screen of Inbox entry, here you can see the POWL Type ID mapped for this query in application.

SBWP2.PNG

Step 3: For this POWL Type ID WF_INBOX Check the class mapped in t-code POWL_TYPE

SBWP3.PNG

SBWP4.PNG

Step 4: Now, check this CL_SWF_POWL_FEEDER_INBOX class in t-code SE24

SBWP5.PNG

In this class, the method IF_POWL_FEEDER~GET_ACTIONS will contain the code for these all buttons as shown below.

SBWP6.PNG

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.

SBWP7.PNG

Output :

Now run the business workplace application, you will not see Set to Done button for Inbox query.

SBWP8.PNG

In same way other query’s can be enhanced.

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good article Shankar!!!

      Keep posting more.

      Author's profile photo Former Member
      Former Member

      Very helpful article.