05-04-2006 8:41 PM
Hi
iam looking for a fmodule to get the workitem details of a particular business type. i HAD GOT 'SWI_WORKITEMS_OF_OBJTYPE_GET' but the only problem with this fmodule is it is not displaying the agentid's .So is there any fmodule that displays the wrkitems of a particular busobj with the details of agentid,workitemid,priority and status..
Thanks In Advance
Vicky
05-05-2006 5:59 AM
Hey Vicky,
You try with the fm <b>SWI_WORKITEMS_OF_OBJECT_GET</b>.
There you can get the details in the itemlist table . the fields are wi_id, wi_type ,wi_creator and wi_agent. You can click on tables tab and then SWWWIHEAD to find out the other details .
Regards,
Kunal.
05-05-2006 6:06 AM
05-05-2006 6:39 AM
Hai Vicky
Check with the following Function Modules
1)SWI_GET_COMPLETED_WORKITEMS
2)SWI_GET_DEPENDENT_WORKITEMS
3)SWI_GET_RELATED_WORKITEMS
4)SWI_WORKITEMS_OF_OBJECT_GET
5)SWI_WORKITEMS_OF_OBJTYPE_GET
also check the standard sap Program 'RSWIDONE'
call function 'SWI_GET_COMPLETED_WORKITEMS'
tables
end_date = end_date
task_tab = task_tab
user_tab = user_tab
worklist = i_swwwlhead
exceptions
read_failed = 1
others = 2.
Thanks & regards
Sreenivasulu P
Message was edited by: Sreenivasulu Ponnadi
Message was edited by: Sreenivasulu Ponnadi