Skip to Content
0

Workflow Task in Fiori with No Outcome

Dec 20, 2017 at 01:10 PM

174

avatar image

Greetings,

I have a leave request workflow and standard dialog task TS21500003 doesn't have any outcome. Instead container element REQ.STATUS is updated and in workflow template this element is checked to make condition outcome.

My question is how can we handle this scenario in Fiori. If we have workflow task which has outcome like Approve/Reject then we can implement BADI /IWWRK/ES_WF_WI_BEFORE_UPD_IB.

But in this case there is no outcome. I tried to implement the same BADI and put the break point but it doesn't stop there and giving below error

. Please suggest how can we update different value in container element for option "Approve" or "Reject" configured for the task in Fiori.

Regards,

Tanweer

error-fiori.png (12.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Masayuki Sekihara
Dec 25, 2017 at 08:39 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Tanweer Zaki Dec 24, 2017 at 09:15 AM
0

Greetings,

It is stopping at method in BADI /IWWRK/ES_WF_WI_BEFORE_UPD_IB, But how to update workflow container element Req.Status inside the badi method.

Regards,

Tanweer

Share
10 |10000 characters needed characters left characters exceeded
Tanweer Zaki Dec 24, 2017 at 10:25 AM
0

Hello,

I am reading container using FM 'SAP_WAPI_READ_CONTAINER' inside the BADI method but this FM is not redaing required element _Wi_Object_ID.

Why work item is not reading this container element??

Regards,

Tanweer

Share
10 |10000 characters needed characters left characters exceeded