Skip to Content
0

Custom Workflow FIORI SWFVISU Configuration

Dec 19, 2017 at 08:18 AM

160

avatar image
Former Member

Hi Experts,

I have created custom workflow for PR requisition which is enabled in FIORI as well. I need line items and other details in FIORI which comes by triggering CDS with annotation with the help of SWFVISU configuration which now includes My-Inbox generic application option as well.

I have added standard task and copied the standard setting but i want to know where exactly we will define PurchaseReq value, as in below screen-shot, if I hard-cord value , it will pick required details, where exactly this PR values needs to be assigned so that it will pick dynamically.

Thanks

Ankesh Jindal

swfvisu.jpg (86.4 kB)
swfvisu1.jpg (74.0 kB)
swfvisu1.jpg (74.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Tejas Chouhan Dec 19, 2017 at 09:11 AM
0

Hi Ankesh,

For standard configuration, check this it will pick up dynamically.

data=/sap/opu/odata/sap/C_PURREQUISITIONITEM_FS_SRV;o=sid({SYSTEM}.{CLIENT})/C_PurRequisitionItemFs(PurchaseRequisition='{&_WI_Object_ID.Number&}',PurchaseRequisitionItem='{&_WI_Object_ID.Item&}')

Regards,
Tejas

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 19, 2017 at 09:52 AM
0

Hi Tejas Chouhan,

For standard task, it will pick automatically, but mine is custom task

Also the data which you have written is different from the image one,

data=/sap/opu/odata/sap/C_PURREQUISITIONITEM_FS_SRV;o=sid({SYSTEM}.{CLIENT})/C_PurRequisitionItemFs(PurchaseRequisition='{&_WI_Object_ID.Number&}',PurchaseRequisitionItem='{&_WI_Object_ID.Item&}')


In above data I can see WI_Object_ID & &_WI_Object_ID.Item& but mine below does not have these, You mean to say should I pass these in my data and it will pick automatically , also Mine workflow is header release workflow, i don't require &_WI_Object_ID.Item& to pass, isn't it??

With Header one it should be:-

data=/sap/opu/odata/sap/C_PURREQUISITIONITEM_FS_SRV;o=sid({SYSTEM}.CLIENT}

/C_PurRequisitionItemFs(PurchaseRequisition='{&_WI_Object_ID.Number&}')


swfvisu.jpg (86.4 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 08 at 07:22 AM
0

Hi Tejas Chouhan/ Masayuki Sekihara/ Experts,

Above issue is still open, Please suggest.

Regards,

Ankesh Jindal

Share
10 |10000 characters needed characters left characters exceeded
Masayuki Sekihara
Jan 09 at 01:47 AM
0

Hi Ankesh,

Please make sure the header level approval works with SAP delivered standard task. Did it work with SAP standard task?

If it works with the standard task, root cause is in your custom task. Check the container element binding in your custom task.

Regards,

Masa

Share
10 |10000 characters needed characters left characters exceeded