on 03-31-2017 10:06 PM
We are on S/4 HANA 1610.
We created copy of standard workflow template(WS20000075) - in a custom workflow template.In the MyInbox App - when I click on Approve - it gives a popup to enter comments and I hit on Submit - gives message " Task successfully processed" - but the PO still not approved.
Any idea what could be missing?
Hi Kapil, Are you on a 'Decision Task'? If not, you need to manually code the decision in BADI.
https://blogs.sap.com/2015/06/08/fiori-my-inbox-step-6-implement-the-badi-for-updating-the-decision/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Thanks for this suggestion, I just did that and approval works fine , now I am facing a strange issue.
Below notification of - "Purchase Order XXX Released" - this comes only if I am in the debugging mode in above BADI. If I run the whole process without debugging mode - PO gets released successfully, however I do not get the below notification after its released.
Is there a way to resolve this issue? Like do I need to put a wait in the BADI implementation or something like that?
Thanks,
Kapil
Hi Krishna,
But this how standard SAP system should work, I need to get the notification when PO is released. Currently its not coming in non debug mode when we release the PO thru MyInbox FIORI App. If I release the PO in normal SAP GUI via SBWP, I get the notification in SAP Business workplace.
This seems to some bug in My Inbox App. Can you please check.
Hi Kapil,
Do not force commit with given function modules(DO_COMMIT = 'X') in BADI as Krishna kishore suggested.
Instead use BAPI transaction Commit with wait.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = abap_true
* IMPORTING
* RETURN =
Your issue resolve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.