Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    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 comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sanjay,

      Thank you for your guidance.

      I did exactly as you told, and my issue is resolved now.

      Best Regards,

      Smruthi Acharya

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded