on 02-17-2010 3:58 PM
I am using the following RFC to attempt to retrieve active workflow items for a user:
SAP_WAPI_COUNT_WORKITEMS
Here I am setting the user_id and detail level as 2. This returns a list of the number of workitems by task code in the return structure WORKITEMS_PER_TASK.
My question is this, for each entry in the WORKITEMS_PER_TASK table, how can I get a list of the Workitems that make up the total being displayed? I tried SAP_WAPI_WORKITEMS_BY_TASK, but I get a list of workitems much larger than the number displayed from SAP_WAPI_COUNT_WORKITEMS.
Can anybody help me get these workitems?
If there is a better way to do this, I'm all ears :). Basically my goal is to retrieve a list of workitems (including related task code) for a user within a given date range. So if the user selects 01/01/2009 through 12/31/2009, they would get all workitems in their inbox that are due in the year 2009.
Thanks in advance.
Edited by: Tom Cole on Feb 17, 2010 6:04 PM
Hi Tom,
try the function module: SAP_WAPI_CREATE_WORKLIST
Hope it helps
Regards
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.