cancel
Showing results for 
Search instead for 
Did you mean: 

Get users

Former Member
0 Kudos

hi all. How i can find workitems in any users inbox? Now I using 'RH_SWWUSERWI_READ_FOR_WI' :

CALL FUNCTION 'RH_SWWUSERWI_READ_FOR_WI'
       EXPORTING
         wi_id                    = <fs_task>-id
         including_no_sel_entries = '*'
       TABLES
         act_wi_of_user           = lt_act
       EXCEPTIONS
         nothing_found            = 1
         OTHERS                   = 2.

and get two users, but in one users inbox had this task.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185167
Active Contributor
0 Kudos

Hello,

Try the SAP_WAPI* functions, there may be one there.

Could it be that one user had the workitem reserved? Look in SWI5.

regards

Rick

anjan_paul
Active Contributor
0 Kudos

Hi,

Check in Possible agent, what agent you maintain