cancel
Showing results for 
Search instead for 
Did you mean: 

FM to raed all work item id against a work flow initiator

Former Member
0 Kudos

Hi experts

I want to read all the work item id's generated at runtime for a user (who had triggred that work flow ). I need all the work itemid's which are completed to . For that I want a Function module which takes user id , from date , end date and gives me all work item id against that user id between this given period .

Thanks in advance

Abhay

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Abhay,

You can query database table SWWWIHEAD to get all the workitems for a user.

Also funtion module RH_MULTIPLE_OBJ_WI_SELECT should help you.

Hope this answers your query.

Regards,

Saumya

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Saumya

Thanks a lot for the table name. Seems like it should solve my problem .

Abhay

Former Member
0 Kudos

Hi Ronit

Thanks for reply . but this FM only work item id's which are not completed.

I want to read all the work item id for the given period .

Thanks

Abhay

Former Member
0 Kudos

Hi,

You can use FM RH_MULTIPLE_OBJ_WI_SELECT

Import:

Act_otype: US

Act_objid: userid

Search_wegid: WS_TASKS

Search_date: ...

Regards,

Ronit.