cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling WS WF_PO_REL PO Release S4 HANA 1809

0 Kudos
778

We are implementing the Classic workflow template WF_PO_REL. We followed the instructions mentioned in https://blogs.sap.com/2015/06/08/fiori-my-inbox-step-6-implement-the-badi-for-updating-the-decision/.

The workflow is working well when executed in SBWP Tcode, but it does not work properly in Fiori App "My Inbox". The implementation we've done is the same as the standard BADI IMPLEMENTATION MM_PUR_PO_APPROVE_ACTIONS. The execution performed is described below:

1. Method /IWWRK/IF_WF_WI_BEFORE_UPD_IB~BEFORE_UPDATE

2. Method SET_DECISION_RELEASE

3. Method PO_POST

At method PO_POST system tries to save the modification (release) but it just works in debug mode. When the user performs the "Approval" the task stays in processing but in the background system cant perform the update. After the system triggers a TIME OUT error in ST22. Probably it is an update/commit error that occurs only in the background. We've tried many options like using COMMIT WORK and WAIT, NO_COMMIT and using IN UPDATE TASK when system call function MEPO_DOC_POST inside method PO_POST.

Any idea what could be missing?

View Entire Topic
anjan_paul
Active Contributor
0 Kudos

Hi,

Please check in /IWFND/ERROR_LOG if any error shown there.

Thanks