cancel
Showing results for 
Search instead for 
Did you mean: 

Get the user ID of workitem creator/Initiator

Former Member
0 Kudos

Hi All

I am writing a program which has to pull out the user ID of the Initiator/Creator of workitem . Basically I have the workitem number and out of which I am to pul out the agents of the workitem through a standard FM 'RH_WI_AGENTS_GET' .

Do we have any other function module / Bapi or any other approch to pull out the Initiator/Creator of Workitem.

Waiting for Suggestions.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

You just need to write a select statement to get the data from the table SWWWIHEAD in which all the details of the workitem are stored.

Hope this will help.

Regards,

Sam

surjith_kumar
Active Contributor
0 Kudos

Hi,

Goto table SWWWIHEAD, Pass your work-item id to WI_ID, and get the Creator or initiator from the field WI_CRUSER.

Regards,

Surjith

Former Member
0 Kudos

hi,

you can use the FM "SAP_WAPI_GET_WI_AGENTS" as ronit suggested.

Former Member
0 Kudos

Search table SWWWIHEAD and try to use some SAP_WAPI FMs that might be of help.

Thanks

Arghadip

Former Member
0 Kudos

Hi,

You can use FM SAP_WAP_GET_WI_AGENT

and you can have a look at sap_wapi* functions

Ronit.