Skip to Content
0

My Inbox App not doing any after we hit approve button

Mar 31, 2017 at 09:06 PM

626

avatar image

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?

10 |10000 characters needed characters left characters exceeded

Hi Kapil,

Please share the workflow technical log in the backend. We can check the workitem status.

Regards,

Masa / SAP Technology RIG

0
Former Member

Hi Kapil,

I am also facing same issue, however everything works in debug mode.

Did you found any solution to this cause?

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Krishna Kishor Kammaje
Apr 02, 2017 at 05:11 PM
1

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/

Show 6 Share
10 |10000 characters needed characters left characters exceeded

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

released-image.jpg (45.7 kB)
0

No, you will not get it in a usual (non-debug) scenario. This is coming mainly because of the inconsistent state of the workitem during debugging.

0

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.

released-2.jpg (146.6 kB)
0

Ok. That means that issue is with the way you are handling the task in the above BADI.

Compare the workflow which was completed from Fiori with that of completed in GUI (in SWI1 graphical view). The one which is completed by Fiori is most probably not hitting the notification task.

0
Krishna Kishor Kammaje

but how it hits the notification task only in debugging mode?

0

Most probably you are using a COMMIT statement or a COMMIT BAPI inside the above BADI. Add WAIT to it. (COMMIT WORK AND WAIT. or WAIT parameter in the PR Commit BAPI).

0