Skip to Content
avatar image
Former Member

Custom Workflow FIORI SWFVISU Configuration

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 19, 2017 at 09:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 19, 2017 at 09:52 AM

    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&}')

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08 at 07:22 AM

    Hi Tejas Chouhan/ Masayuki Sekihara/ Experts,

    Above issue is still open, Please suggest.

    Regards,

    Ankesh Jindal

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 09 at 01:47 AM

    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

    Add comment
    10|10000 characters needed characters exceeded