cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling WS WF_PO_REL PO Release S4 HANA 1809

0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

pls check note number: 2761358 and 2780360.

Hello Ali Ceylan,

We have found this note (2761358) here and the problem was solved. We discovered a problem do update table SWWWIHEAD.

Thanks for help.

Answers (2)

Answers (2)

anjan_paul
Active Contributor
0 Kudos

Hi,

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

Thanks

former_member335961
Active Participant
0 Kudos

Hello Rafael,

Have you checked that the system user used in the RFC for the WF has the right authorizations?

I think this is in SWU3.

Best regards,

Oscar.