on 06-19-2017 4:37 PM
Hi Experts,
I am fetching workflow annd work items id for an invoice MIR4 using function MODULE
SAP_WAPI_WORKITEMS_TO_OBJECT by passing objtype BUS2081 and objkey as the invoice no .
this function module is not resulting in any result in the table worklist parameter.
please let me know if I am missing any thing.
thanks,
rg
Ramaya,
Your heading and description is hard to understand. Are you trying to fwd a work item by
but you don't have the right work item in hand to send this function to. That is why you are relying on SAP_WAPI_WORKITEMS_TO_OBJECT to give you the work item that can be forwarded.
well to use here is an example:
SAP_WAPI_WORKITEMS_TO_OBJECT
Objkey will have belnr and gjahr combined
Worklist has the header workitem.
You CAN NOT use that work item to use it forward, its a header workitem where the workflow actually starts.
you have to find the dialog step item that you want to forward.
You have to use this work item id add search in SWWWIHEAD table field WI_CHCKWI
& find the work item that is WI_TYPE = 'W' and use that workitem to forward to workitem_forward function module.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.