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.

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.

Similar Messages

  • Execute Background Work Item using Deadline Monitoring

    Hi All,
    I want to execute a Background Task using Requested Start. The status of Work Item is Waiting. But it is not executing after Deadline reaches and in graphic log it displays no agent. As per my knowledge Background work item is executed by Workflow system itself.

    Hi Bikash
    check if the deadline monitoring job is running or not. SM37-> Check for job SWWDHEX
    if not then schedule it from SWU3.
    This is the job which actually picks up the waiting items (waiting for deadlines).
    regards,
    Modak

  • Change N Step work item text

    Hi. We are using the N step workflow with SRM 4.
    We have got the workflow working fine and the approval preview is fine.
    However, all the approvals have the same text in the inbox "Approve shopping cart from ...... with value .......".
    We want the workflow text to contain the approval type from the approval preview.
    The text is in the original workflow but it is not passed to the sub workflow and the task that creates the work item in the users inbox.
    I could change the task and the binding to pass the description down, but won't that get overwritten by support packs?
    Is there any other way? I've tried method SET_APPROVAL_DESCRIPTION in the N step BADI but that does not do anything. It is called but it changes nothing that I can see.
    Does anyone know how we can get the step description into the work item text?
    Thanks a lot for your help,
    Dave.

    Hi,
    Customer defined workitem is available.
    Transaction: PFTC_DIS
    Menu: Edit -> Workitem text -> Redefine, Customer Definition
    Save.
    Transaction: SWU_OBUF, refresh buffer
    Regards,
    Masa

  • Forwarding document (not work item) from specific SAP workflow to Outlook

    Hi,
    We are looking for ways to forward the email notification of leave approval from SAP inbox to MS Outlook.
    One way I know of is to create Auto forwarding in SAP inbox, however this would forward all documents received regardless of the work flow.
    Would appreciate it if any one out there could share your experience.
    Thanks.
    Siew May

    Use program RSWUWFML2.  You can get pretty fancy with it to setup wrapper text.  I have used it a lot so feel free to ping me with any questions.
    What is important to know is normal 'email' forwarding will not send workflow items.  I use this every 15 minutes to forward to Outlook and get the users into the Portal to manage the workflow.

  • Forward or subsitute work item to another user

    Hello,
    we are using SRM5.0 with classic scenario. We have implemented N-step workflow badi for SC approvals. In N-step we have a step called financial approval , which is determined based user's grade level. Now we got a requirement to check, when financial approvers forwards a workitem or mailntains a subistution, those users should be of same or above his level ( say original finance apporver grade is 4, forwarded/substitue user's grade level should be greater than 4 ). If anybody have any idea of how to achieve this requirement, please let me know. thanks

    Suesan solution of mentioning General Forwarding Not Allowed in Task attribute is the best. If maintaining level cannot be achieved I think you can make use of BADI to filter those workitems from the substitute's or forwarded user's SAP Inbox.
    How to restrict workitem of a user to the substitute
    I think in order to make use of the different levelof approval  you have to use dynamic Task. I think you can make use of the details tab or the 2nd tab of the activity step where you can dynamically assign different task for different level. The interface of the Task should be the same.
    Thanks
    Arghadip

  • Wait step event

    Hi,
    i am new to the workflows.i worked in support project and i am looking for development.
    could any one can explain:
    what is wait step event,
    when it should be used and
    while creating the wait step event do we use any tcodes to assign the events(swetypv,sweinst etc)
    generally when we use starting events we will write start conditions based up on that event will be triggered so in the same way how waitstep event will be triggered?
    Regards,
    Mudhiraj

    Use
    A wait step can wait for:
    u2022  An event
    u2022A condition
    u2022A local event
    u2022An event that is initially received by the workflow.
    At runtime, a wait step is represented by a wait step work item. Wait step work items are not displayed in the Business Workplace. You can, however, locate these using work item selection.
    Correlations
    You can use a correlation when waiting for an event and when waiting for an event by using workflow.
    A correlation enables you to identify objects that belong together, for example, a quotation and the relevant sales order.
    Features
    Wait for Event
    When waiting for an event, the wait step is terminated when the event specifies occurs. This event
    terminates all wait steps waiting for this event.
    You can use this type of wait step for the following purposes:
    u2022To suspend the workflow until a defined event has occurred.
               A workflow is to wait until documents requested have been provided for an applicant activity. Once the
    requested documents are received, the transaction used for inbound processing and archiving creates an
    event which the wait step waits as a receiver.
    u2022To wait for an event in a parallel processing branch, which renders processing in the other
    branches unnecessary.
    The event for which the wait step waits should not be created in the other branches of the fork.
    u2022Wait for the result or a message from another workflow that was started in another system by the
    WebFlow function.
    u2022Wait for a message of the process that the workflow started using a Wf-XML message.
    Wait for Condition
    When waiting for an event, the wait step is terminated when the corresponding condition returns the
    value true.
    Wait for Local Event
    When waiting for a local event, the wait step is terminated when this event occurs.
    Wait for Event Via Workflow
    When waiting for an event via the workflow, the event is initially received and temporarily saved by
    the workflow. Once the wait step has been activated, the event is forwarded to the wait step. During
    waiting via the workflow, the event can terminate a maximum of one wait step. If several wait steps are
    active, the event terminates the oldest wait step.

  • Workflow is in process due to locking of work item

    Hi,
    I checked for one invoice document, workflow is in process. I saw it is stuck in one send mail step and analyse the workflow log, it is showing work item is locked against execution. I tried to execute the work item using SWIA, still it is not going to completed status still it is in ready status.
    Can anybody tell me how to complete this work item so that workflow will be completed?
    Best Regards,
    Padhy

    Hi,
    It's resolved.
    Thanks

  • Work Item Forwarding

    Hello,
    Here is the scenario:
    I have a task in a workflow. I have defined possible agents (in task definition) and responsible agents (in WF definition). The task attribute is "General Forwarding Allowed".
    In the scenario, a responsible agent receives work item in his inbox. He then forwards it to the user who is NOT a possible agent of the task. The system gives the warning message but allows the forwarding. This forwarded agent then executes the work item.
    Question
    Is there a way to ALLOW forwarding of the work item to any user who is not a possible agent. But to PREVENT that user from executing the work item.
    Any help would be appreciated and will be rewarded!
    Regards,
    Sandeep

    Hi Sandeep
    If you want to Allow general forwarding but restrict execution to only the users allowed, You need to rely on SAP's Authorizations.
    If an action is allowed or not for a specific user, should not ("<i>can not</i>") be based on your workflow design. It must be based on your SAP security design (Your SAP Roles).
    Remember that Forwarding isn't the only that another user can gain access to a workitem. If a user assigns a substitute that's not allowed to execute you will face the same problem, or even if an administrator executes the workitem from transaction SWIA.
    If you are using SAP Standard functionality, the SAP Standard authorization check, for the called functionality, would be checked. In order to find out exactly which objects has been checked, you can use the trace functionality in transaction ST01.
    If it's your own development you need to include the nescesarry checks in the ABAP code.
    Regards
    Morten Nielsen

  • Wait Step in Workflow

    Hi Workflow gurus,
    I have 2 questions want to ask.
    1. We have a wait step deadline monitoring in our workflow project. Let's say 30 day wait period. After 30 days workflow is getting triggered & everything works fine. But that is really required in Production. In Dev/QA systems we do not want to wait really 30 day. We want a small time period, let's say 1 day. Now what is the best way to handle this? Meaning Different time periods for different systems for the same workflow & same wait step period.
    2. If a work item is waiting for a wait step to be completed(for ex waiting for 60 day wait period) before 60 day itself,
    can we execute manually that work item using any std report?
    Kindly help me.
    Thanks,
    Pandu.

    Hi Pandu,
    1. There are a couple of things you can do in this instance. You could manually remove the deadline after the 1 day threshold.
    Open the work item and select Edit -> Change -> Change Deadline -> Excute and then remove the Requested Start deadline
    (ensure you have Technical View set for the work item display)
    Deadline monitoring (SWWDHEX) will have to execute before the work item will transition out of a Waiting state.
    Alternatively you could store the deadline parameter externally in a config table somewhere and retrieve it into the workflow for use with your deadline. Obviously when you change the configuration from 30 days to 1 taking care to ensure that the changes are not transported to prod. Not really fond of this since there is a risk of transporting the changes.
    2. Transactions like SWIA don't allow you to execute work items in a Waiting state. So as above go into the work item and either change the deadline or execute.
    I hope this helps,
    Best Regards,
    Trevor

  • SWI1 work items execute at a time...

    Hello workflow gurus,
    I need help in the workflow regarding the mass execution of different work items hanging in the SWI1 queue.
    We are using the workflow in our project. & we have lots of work items are hanging in the SWI1.Some of them are related to wait step, which means they are waiting for deadline monitoring & some of them related to executing a method in the background.
    Now my  first question is how can we execute all the waiting work items at a time? Because there lot of them are there. & my second question is how can I execute the background step work items at a time, because this does not involve any waiting period. For ex: changing the sales order.
    Pls help.
    Thanks,
    Pandu

    Agree it is not a queue, let me explain you what is happening, we have a single step task which will just execute the method of the business object. It is single step. So when we raise the event in the code  this work item gets created & the method will be executed.
    But if it is one time, then it's perfectly ok. But the code will raise the event lot of times. So lot of background work items are getting creating in SWI1. The status of these work items are  'READY', & I see lot of entries in SM58 too.
    SAP help says: The background work item status 'READY' means
    Interim status, in which a background work item only remains temporarily.
    As soon as a background work item can be processed, the system automatically calls the corresponding object method. The background work item immediately changes to status in process.
    "The object method is called using a tRFC call. If a background work item remains in status ready for a long time, you should check whether the tRFC calls are processed without errors.".
    That means with 'READY' status, the work item has already executed the method using tRFC call & it failed in SM58? or
    it is waiting to execute to that method but waiting fro any resource? or something else?
    If it is just like a single method why it is taking time & hanging in SWI1. Pls clarify.
    Also I want to ask one more question, to execute/process  this background work item which std program/job is responsible? For ex: SWWCOND. So that we can schedule more frequently.
    Pls help.
    Thanks,
    Pandu

  • Fiori Purchase Order Approval - inexplicable missing work items

    I'm asking this here because I have run out of things to try. At the moment we have users of the Purchase Order Approval app finding that some work items don't appear in Fiori, when they have work items visible in business workplace.
    I did the following things in the live system to check the user's work items:
    used function SAP_WAPI_CREATE_INBOX to check which work items they should have
    called the backend gateway service method GET_LIST on class CL_GBAPP_APV_PO_API, with the valid workflow tasks in the filter table. I got the same work items, and as far as I can see this is exactly the information the Fiori app should have got.
    I can't see any obvious way the Fiori app itself would filter the results.
    I've not found relevant SAP notes.
    Any suggestions on other things to check?

    I've added the GET_LIST output and the worklist function which should show the contents of the user's inbox.
    They are seeing nothing in Fiori. We have a custom task but Fiori knows about it from the task filter select option.

  • Wait Step, Exception Handling, Alerts

    Hi Everybody,
                 I am implementing a BPM scenario. I have a few questions:
    1) The wait step i am using in BPm, allows me the min wait time as 1 min, can't I have lesser wait time then that. Lets say 30 secs.
    2) Under what conditions should I use exception handling and when should i use alerts.
    Regards,
    Ashish

    Dear Ashish,
    1) In BPM  the 60 secs is the minimum  possible  one till now.
    2) Exceptions :
       Assume when the condition happend to  divide  by  ZERO we have to go for exceptions it to control the break of the conditions and getting the system into HANG.
    3) Alerts :
      We  use Alerts  When any error  message happen to  flow , Particularly  for Support  team information, If  they  check the mail or Alert  messages they  will come to know  where or exactly  which interface  is throwing or flowing  the error  messages.
    Regards
    Agasthuri Doss

  • Purchase Requisition Work -item disappering from SAP inbox

    Hi,
    My users are forwarding  Purchase requisition work item from SAP inbox which is disappearing from agent inbox as well from forwarded inbox also.Please guide me
    Abhijit Bagade

    Hi Abhijit
    Please refer to SAP not 1308276 .Which tell about the work items.
    1308276 - WF: Forwarded work items are not displayed in the inbox
    Hope this will solve your problem
    Regards,
    Nitin Amritkar

  • Create One-to-Many Work Item Links Programmatically in TFS 2013

    Hello,
    I urgently require some help with this problem please.
    I have a number of existing work item types - for illustration purposes, let's call them Work Item Parents and Work Item Children. Remaining details are as follows:
    I have thousands of Work Items of type Parents
    I have hundreds of Work Items of type Children
    The Work Item Parents have a One to Many relationship with the Work Item Children
    Both Work Item types have already been added to TFS and we now need to associate or link Parent items with their corresponding Child items.
    Due to the sheer number of items described above, linking the  Parent items with their respective Child items would be a complete "No-No" as it could take forever to complete and would be prone to error.
    What I'm therefore seeking is the ability to programmatically associate or link the two work item types where required.
    Any advice on how to achieve this would therefore be greatly appreciated.
    Thank you.
    PS: The link type between my work item types do not necessarily have to be of a Parent-Child relationship. "Related" work items will do just fine.

    Hi RegManteaw,  
    Thanks for your reply.
    We can get the wanted Bug work items and Task work items using
    WorkItemCollection, you should use the logic code to handle which Task work items linked to which Bug work item. For example, I defined 5 Bug work items within “b1” tag, and 10 Task work items within “t1” in my test
    team project, then I run the below code snippet to get that Bug/Task work items and link 2 Task work items to one Bug work item.
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(new
    Uri("collectionURL"));
    tfs.EnsureAuthenticated();
    WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
    try
    // get “b1” bug work items(5) from test team project
    string wiql =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Bug'  AND 
    [System.Tags] CONTAINS 'b1'";
    WorkItemCollection Bwic = workitemstore.Query(wiql);
    // get “t1” task work items(10) from test team project
    string wiql2 =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Task' AND 
    [System.Tags] CONTAINS 't1'";
    WorkItemCollection Twic = workitemstore.Query(wiql2);
    //two task work items linked to one bug work item
    for(int
    i =0;i<=4;i++)
    //define the link type
    WorkItemLinkTypeEnd linkTypeEnd = workitemstore.WorkItemLinkTypes.LinkTypeEnds["Related"];
    //link first task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2)].Id));
             Bwic[i].Save();
    //link second task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2 + 1)].Id));
    Bwic[i].Save();
    catch(Exception
    e)
    Console.WriteLine(e.Message);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SWIA -- Forwarding option is grayed out... can not forward Work Item

    Hi,
    When I use SWIA to forward one Work Item to another user, that option is grayed out there.
    While another use with same access is getting this option for the same work item.
    Any user specific setting preventing this?
    DA

    Usually when you try to forward an already forwarded item then the option is greyed out. Which is why one user can forward it and another cannot.

Maybe you are looking for

  • How can i re download a movie from itunes store that i bought but it crashed while downloading?

    from the "download recent purchases" on itunes i can seem to be able to access movies, only music, apps and tv series- how can i re download a movie from itunes store that i bought but it crashed while downloading?

  • Help, i want to connect my stereo to listen to itunes

    i have a new stereo receiver which works fine with my nano as it has a port in the front. How do I connect it to my imac? there are numberous hdmi ports in the back. i have looked over all the instructions and am usually good at this. I bought a hdmi

  • During GRN Error 001_____1000_4000 Account not Maintain

    Dear Experts,      When we are activating Purchase Accounting During GRN we are receiving this error message when we fright condition type in PO. We had checked OBYC setting also even though I am not able to solve this problem. Please suggest me rega

  • App for restricted audience

    I am looking to develop an app that can only be accessed by people who buy a product. Is this possible within Apple's guidelines? Ideally it would not be searchable in the app store but users could access it by using a code from the product packaging

  • Printing: Magenta Problem

    When printing in LR with all settings of my Canon Pixma MP800R absolutely correct and using specially made printer profile for the Canon paper I use, I still get prints with strong magenta overcast. I have been trying for a long time to find solution