Skip to Content
avatar image
Former Member

Get the user ID of workitem creator/Initiator

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Sep 25, 2008 at 07:33 AM

    Hi,

    You can use FM SAP_WAP_GET_WI_AGENT

    and you can have a look at sap_wapi* functions

    Ronit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 07:38 AM

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

    Thanks

    Arghadip

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 08:39 AM

    hi,

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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 25, 2008 at 08:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 11:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded