cancel
Showing results for 
Search instead for 
Did you mean: 

Work Items don't disappear from My Inbox app, but they disappear when opened from SBWP

Karthik_Gali
Participant
0 Kudos

Dear Community,

In the activity step of the Workflow, a work item is sent to the responsible agents. When these work items are opened in T-Code: SBWP by double-clicking on these items, the WF resumes the execution of the subsequent steps and the Work item disappears from the SBWP inbox and also from the My Inbox FIORI app.

However, when the same work item is opened from the 'My Inbox' FIORI app using the 'Open Task' button, the work items still remain in the Inbox(both My Inbox Fiori app & SBWP), as a result, the WF execution is not resumed.

Do we need to do any additional configuration? to make the behavior of the 'My Inbox' FIORI app and the T-Code: SBWP consistent in terms of handling the work item.

Following is the SWFVISU configuration :

This work item is just to call a T-Code: IQS23 to view some information and no action is required in this step. When it disappears from the Inbox, it means that this Work Item is complete and the WF execution resumes with the subsequent steps.

Thanks for your time!

Regards,

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

Karthik_Gali
Participant
0 Kudos

Just in case, if it helps someone else.

In our WF, we have an activity step(not user-decision step) which creates a Work Item(WI) based on certain business logic. This WI requires user interaction to execute this activity, in order for the WF to resume the execution.

In SBWP, we readily have the 'Execute' button(also double click does the same thing), which will execute this WI and this WI disappears from the INBOX( SBWP & MY Inbox). However, we do not readily have this 'Execute' action button to complete this WF. Therefore, we need to create a new custom button and add the relevant logic to execute the item. Adding the custom button and the relevant business logic/action code for this custom button is clearly explained here: https://www.sap.com/documents/2015/08/ac409c27-5a7c-0010-82c7-eda71af511fa.html. Thanks to the author of this document!

Though there is 'Open Task' button readily available, however, we wanted to make use of this 'Open Task' to call the T-code and the custom 'Execute' to actually execute the item and resume the WF.There might some better approach to achieve both of these functionalities with 'Open Task' button, but the above implemented solution will fulfill our requirements.

Answers (1)

Answers (1)

ibarbaric
Explorer
0 Kudos

Hi, karthiklab,
I realize that this is an old post, maybe you already found the solution, but still.
I had a similar problem and I found the solution in the note 2449058 - Approve workflow from My Inbox not working. There is an attached "Badi Implementation.docx" file where you can find the details.

Basically you need to implement the /IWWRK/ES_WF_WI_BEFORE_UPD_IB BADI and call the functions SAP_WAPI_WORKITEM_COMPLETE and SAP_WAPI_WORKITEM_CONFIRM to make the Workflow-Item disappear from My Inbox Fiori app.

I hope this helps.

VG,

Igor

BTW, your link to SAP Documentation does not work - could you update it?