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

Forwarding 'Wait Step'work items using SWIA

Hi,

I need to forward work items of one user A to another user B urgently, using SWIA.

The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.

As these items are executed, we will have to forward the work items that are in ready state.

The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.

Kindly advise as to how should I forward these items.

Best Regards,

Smruthi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 05:20 AM

    Hi,

    You can not forward the 'Wait for Event' workitem. You can you only forward the dialog workitem.

    As the dialog workitem is in executed status...

    First set the status in 'READY through Tcode SWIA.

    Run the tocde SWIA..

    Enter workitem id and then press F8.

    Now select workitems...

    Click on button "Replace Manually" button.

    Workitem will be in 'READY' status.

    Then forward to desired person.

    Thanks and regards,

    SNJY

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 08:09 AM

    Hi Smruthi,

    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.

    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.

    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.

    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.

    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.

    Thanks,

    Viji.

    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.