Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any fmodule for display of workitems of object

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

SWI_GET_RELATED_WORKITEMS

Former Member
0 Kudos

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