Skip to Content
author's profile photo Former Member
Former Member

User Id who completed Workitem

Hi Experts,

I need the id of the user who completed the work item. Let me explain in detail. We are having a User decision step. Based on the outcome, i have to update in a table with the id of user who completed the User decision.

Say Work flow is started. User decision Work item is in User A. He is the only one agent. He opens the work item and the WI status changes to In Process from Ready. Now when Administrator or through FM SAP_WAPI_DECISION_COMPLETE if some other user completes the User A' WI. Still the actual agent will be User A but the WI is completed by different user.

Also, for using SAP_WAPI_DECISION_COMPLETE FM the user id passed in 'USER' export parameter need Workflow Administrator Authorization?

Can someone help, how to get the work item completed users id.

- Rk

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Mar 30, 2009 at 08:38 PM

    Hi RK,

    In every task in the workflow there should be a standard container element wi_actual_agent. This would carry the user id who processed the workitem.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 28, 2009 at 03:49 AM


    Check the workflow log you can find the details.

    And also use this FM SAP_WAPI_GET_WORKITEM_DETAIL Pass the workitem id and get the details of it.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.