Skip to Content

Enabling WS WF_PO_REL PO Release S4 HANA 1809

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jun 03, 2019 at 10:28 AM

    pls check note number: 2761358 and 2780360.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 31, 2019 at 03:51 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 04, 2019 at 07:44 AM

    Hi,

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

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.