on 11-10-2011 1:31 PM
The users want a report which they can put in a trip number and see where the workflow for that trip is in the process. Up to this point we've made travel reports and workflow reports but never linked them. I can't seem to figure out how they link. Has anyone done this before or have any idea how to link the two? I was hoping it was simple like a field in SWWWIHEAD and PTRV_HEAD that would tie but it's not that easy after all.
I asked this in the Travel forums but no one knew and suggested I post it here.
Hi,
You should use SAP_WAPI_WORKITEMS_TO_OBJECT. You will set the trip "object" (BUS2089) for it as an input and it will give you all work items related to trip object. Search SDN for this function if you don't know how to call it.
Then if you need further info of any of the work items, just take a look to functions SAP_WAPI*. You will find a function to almost any purpose (related to WF) there.
Regards,
Karri
Edited by: Karri Kemppi on Nov 10, 2011 3:51 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I looked over the SAP_WAPI* functions but I missed this one some how. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
As always, start with SAP_WAPI* function modules.
Once the users have filled in something identifying an object (eg a travel request number) then you should be able to look up the workflows with fm SAP_WAPI_WORKITEMS_TO_OBJECT.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.