cancel
Showing results for 
Search instead for 
Did you mean: 

Travel Expense to Workflow link?

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

I looked over the SAP_WAPI* functions but I missed this one some how. Thanks!

former_member185167
Active Contributor
0 Kudos

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