Re : Multiple Workitem Execution

Hi ,
       I'm using sap 4.7  and created a workflow for plant wise material release .
I would like to execute multiple workitems in one go.  Just gone thru postings in SDN ,  SAP Help  and  i could not able find much information on this topic.
Do we need any programming to be done for executing multiple workitems ( of sam type ) . 
Looking for  your views...
Regards,
Vijay

hi,
check this thread:
Group many related workitems into one workitem for approval
kind regards, Rob Dielemans

Similar Messages

  • Controlling multiple workitem in purchase Requisition

    Guys,
              I need some suggestions regarding the controlling of multiple workitem for Purchase requisition. Our client have a PR release wf and when a PR is saved a workitem is sent to approvers inbox. Within a timeframe say (15 sec) any changes to PR will trigger the same wf and creates one more workitem. I want to restrict the creation of workitem if it falls within the time frame. Good suggestions are greatly appreciated with points.
    Thanks in Advance,
    Isaac

    I think you can use Function module SAP_WAPI_WORKITEMS_TO_OBJECT to retrieve the workitem that has been triggered for the same PR and the you can read the table SWWWIHEAD providing the workitem Id and then check the Creation time and compare.
    Use this coding in a virtual attribute and use it to define the Start Condition using Tcode SWB_COND
    Thanks
    Arghadip

  • PO workflow sends multiple workitem

    Dear Experts,
                       I have created a PO workflow, which triggered on change and releasestepcreated events. This workflow has four level apprval.
    It is working fine except, after each approval it sends the multiple workitems to 1st level approver. but there should be not more than one workitem in 1st level when workflow is triggered.
    Thanks and Regards,
    Sohail

    Hi Sohail
    "it sends the multiple workitems to 1st level approver"
    I am assuming that it's same approval, but different work item ID.
    Check SWEL (ensure it's on using SWELS) when PO is changed - see if two events are triggered for the PO (one for BUS2012 and other for FREBUS2012). These may be creating two workflow instances instead of one..... if that is the case, solution is in the following thread: http://scn.sap.com/message/15027373#15027373
    Regards,
    Modak

  • Workitem execution from outlook - via citrix

    Hallo,
    we access SAP via Citrix and we want to execute workitems from outlook (by a decision task).
    I use the report RSWUWFML2, the user receives e-mail with corresponding attachments to execute the workitem, but I don't know, how to open them.
    Do I have to set up anything special?
    Thank you.
    Petra

    Hi PB,
    Are you not able to open/execute the workitem ?
    Does it give you error ?
    I have built scenarios of executing the workitem from Outlook,
    in order to do that, you need to run the report RSWUWFML2 in background, hence create a variant for the report with following checkboxes ticked,
    X  New workitems only.
    X  One message per workitem.
    X  Workitem Execution.
    After you run this report in background, you need to create a shortcut of your transaction to which your workitem should lead you.
    I mean, say on execution of workitem, you want the user to reach transaction ME54N, then create a shortcut for this transaction, by opening your client thru SAP, going to ME54N and clicking the shortcut button on the menu.
    Now, add this shortcut to your SAP GUI LogOnPad.
    Note* : you should have all the valid parameters in the shortcut.
    Thats all I did.
    Hope it helps.
    Reward if helpful.
    Citrix system wouldnt create an issue I suppose.
    Aditya

  • Executing multiple workitems at a time

    Hi,
    Whenever the user selects multiple workitems that belong to the same task and executes the first item, then the samething should all the applicable to other items also. For example, consider that I have 20 workitems that correspond to leave requests. I select all 20 workitems and execute the first one and select approve. then all the 20 workitems should be executed with the option select.
    How to achieve this functionality?
    Raj

    Hey Mike,
    You're absolutely right, I didn't know this.
    It took me some time to find it, but here:
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/8d/25f4e3454311d189430000e829fbbd/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/8d/25f4e3454311d189430000e829fbbd/frameset.htm</a>
    I's all explained.
    Kind regards, Rob Dielemans

  • Multiple agents for a workitem execution

    Hello Workflow experts,
    I have developed a simple workflow with single step to display a document using IW23 transaction.
    My requriement is to send a workitem to 3 agents inboxes parallely. This I'm achieving by the rule by function module and populating the ACTOR table.
    Now, when any one of the agents executes the workitem, the workitem disappears from all the three agent's inbox and the workflow is getting completed.
    I want the workflow to be completed and the workitem to be disappeared only after all the 3 agents executes the workitem. Until then the other agents must be able to see the document by executing the workitem.
    Please suggest me a way to achieve this.
    Thanks,
    Madhan.

    Hello,
    That's the standard way workflow works - you send a workitem to x agents and when the first one executes it, it disappears from the others' inboxes.
    For your scenario, with 3 agents, you would do 3 parallel forks and make the condition 3 from 3.
    For a variable number of parallel agents, see (for example) :
    Re: Dynamic Parallel Processing - Multiple Parallel Agents
    regards
    Rick Bakker
    Hanabi Technology

  • Multiple Query Execution Order

    Is there any way to dictate the order in which multiple queries run?
    Example, I have: Q1 Q2 Q3
    They are not linked and there no master query.
    Any way to tell Q3 to execute first, then Q1, then Q2?
    Message was edited by:
    capital_city

    Hi,
    We cannot specify the order of execution of the Queries in the Data Model.
    Also it is not recommended to have DML statements like INSERT/UPDATE after the 'AfterParamForm' trigger
    My sinsere suggestion for you is to have the procedure (to update rows) invoked in the 'AfterParamForm' trigger. This will avoid dependency between queries in the Data Model
    If your requirement doesn't suit this approach, check if you can have data links between the three queries
    Regards,
    Krrish

  • Workitem execution flag by user

    Hello,
    Here is a scenario. We are sending workitems to multiple users for dual/parallel approval  ECR/ECO process through a mixture of workflow config, change types and signature strategies.  The problem is whenever an user has approved a workitem, the SAP Inbox doesn't show that particular workitem has been executed by that particular approver/user. 
    Example, User A gets a ECR/ECO approval work item in his inbox. He signs it and saves ok. Since there could be multiple approvers and not all have signed by then, the work item remains in his inbox. The next day/next week, there is another ECR/ECO approval work item  that comes to the inbox and the user (mostly engineers and not too SAP-savvy) is confused which one he has signed already since there is NO FLAG that accompanies the work item he has approved laready last day/week.
    So, the question is there any way to differentiate executed work items (flags in Inbox etc.) that still remains in the inbox due to incomplete status but has already been executed/approved by that particular user ??
    Thanks

    Hi Arghadip,
    Thank you for the reply but the truth is, we are at a time crunch in our project and the basic solution is already in place . So,  given the scenario we are in, when the WIs are executed/approved but nevertheless stayed in the inbox  due to dual approval process when other approvers are still waiting to sign it, how can an individual user know ( just by looking at the inbox) whether or not a particular WI has been signed by him/her? This is only for the ease of individual user, so that he/she doesn't have to click through the WIs to know if he has already signed it or not..
    Please let me know if you find anything

  • Decision step with method before workitem execution

    I have a decision step, which uses method before workitem execute uses BO Bus2094 - 'Display' method.
    When an agent receives a workitem, try to execute the workitem 'Getting an information message 'Error when starting submethod'.
    When i see the information of the error -
    "At least one submethod could not be processed.
    See the technical Workflow log to determine the error cause."
    When i check technical log of workitem, 2 steps are in error mode.
    1.  Dialog work item executed - Error when starting submethod
    2. EXECUTE_METHODS  - System error in asynchronous method start
    This is happening in Quality system, not in DEV system.
    Any inputs to resolve this.

    Hi,
    @Sivagami: I wonder, how a container element e.g. BUS2094 that was passed to a copy of the DECISION task is automatically executed just before the decision dialog? Good stuff, if it works like this, I'll try this at a later time.
    @Indira: Depending on the Release and such things I have expirienced several smaller bugs regarding the decision steps, especially when extending the data flow (from/to workitem), using the in-place-decision Workitem exit. So maybe you're already doing everything right, but just the inbox doesn't works as designed.
    To work around this problem, you could enter the object methods as a secondary method, which then will display the Sales document in a separate window,
    or you follow the proposal of Sivagami. If the Sales document doesn't seem to appear, you could enforce the display, by globally substitute the business object DECISION to one of your own, re-define the object's method Process that read the business object fromt the work item container and executes it's display method, which is basically the same result you'd like to have.
    Best wishes,
       Florin

  • Multiple workitems in workflow

    Hi, I've created a multiline element in a workflow container which contains n amount of users.  I have a workflow activity which uses a task which sends the workitem out to all the agents specified in the multiline element.  So far so good.  However as soon as one of the agents executes the work item it is removed from the inbox of the other agents.  I need all agents to execute the same work item or else it will be processed by deadline monitoring.  This must be possible.  Does anyone know how to ensure that 1 work item distributed to 'n' agents is executed by all agents, not just the first?
    Thanks in advance,
    Kevin

    Define the multiline container element to the activity under OTHER tab "Dynamic parallel processing with a multiline container element". Also read the multielement description written in Other tab.
    In the Binding from task container to Workflow container
    If the task container does't has multiline container element then do the binding as follow
    TASk Cont<----
    WORKFLOW
    Approver----
    &AUTHORIZERS<b>()</b>&
    In that case SAP will send separate workitem to all agents and system will not execute next workitem unless all agents approve it.
    Regards
    Aman
    Message was edited by: Amandeep  Singh
    Message was edited by: Amandeep  Singh

  • Multiple proc. executions in VB with ADO

    Hi !
    I am migrating a VB application, from SYBASE to ORACLE. In this application, some stored proc. are called in a single "Execute" line of VB code:
    strSQL = "EXEC proc_name;EXEC proc_name;EXEC proc_name..."
    oCommand.Execute strSQL
    This works with SYBASE, not with ORACLE (an error is returned). How can I handle that? Do I need to decompose my orders in several single "Execute"??
    Thanks for your help!

    You can either decompose your stored procedure calls into a series of individual stored procedure calls or you can use an anonymous PL/SQL block to execute multiple stored procedures. Which way you go will depend on how interrelated the stored procedure calls are, whether you want individual calls to be atomic or whether you want a set of calls to be an atomic operation, etc.
    The anonymous PL/SQL block equivalent to your Sybase SQL statements would be-
    declare
    begin
      proc_name1;
      proc_name2;
      proc_name3;
    end;Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Multiple workitem is generated when a workflow is triggered

    Hi All,
            I have created a custom workflow for contract, Using the standard BO BUS2014 and the event Release Step Created.
    I have checked settings in SWE2, SWE3, SWEC and they look fine to me. The problem is when a contract is created which has release step then the workflow is generating two workitems for a single event trigger. Can you please help me out in finding this error.
    Looking for you kind co-operation.
    Regards
    PuspaSourav Biswas

    Hi,
    According to me there must be 2 Workflows getting triggered.
    Try checking the Workflow log of the 2 Workitems getting triggered & try identify the Workflow no's of these 2 Workitems.
    Is the Workitem text of the Workitems that get triggered identical ???
    You can try keeping some different text for your workflow to identify whether both come from the same workflow or not.
    This may help you identify whether both belong to ur workrflow or not.
    Also once the event is triggered you can go to swi1, put the Event Name & date & time & execute & check which workflows are triggered.
    I hope this will help you.
    Regards
    Mehreen

  • TS20000189 Change trip - uwl workitem execution

    Hi there!
    The standard workflow task TS20000189 Change Trip is used both for changing expenses AND for changing travel requests. In the standard configuration, when clicking a UWL workitem a transaction iView is opened. I want to configure this to open up a WebDynpro interface instead since that's what the users are used to.
    However, the problem is - how to I make the task TS20000189 access the two different applications (sap.com/esstratre/Expenses or sap.com/esstratre/Request in WS20000040 and WS20000050 respectively) or alternatively - the two different portal pages? I can make it access the Expenses application through the xml file, but then the Request application wont open...
    Please help!
    Brgds, Caroline

    Hi,
    Have you found any solution for this?

  • Workitem execution

    Hello everybody,
    i have a problem with the UWL. LeaveRequest scenario.
    The Approver of a LeaveRequest got his Workitem in his Inbox of the UWL. So far so good. But when he tries to execute the WI, the screens stays empty. The WebDynpro application 'LeaveRequestApprover'doesnt show up. Now i figured its a permission problem. Because when i assign this user the super_admin role at the portal, he can successfuly execute the WI and gets his LeaveRequest Approver application.
    So the question is, is there a special role for executing WIs?
    regards,
    Markus

    Got it working now. Had to assign the iViews for executing a Webdynpro Application from the UWL the suitable roles.

  • Workitem execution error

    Hi
    I have configured UWL and be able to see my worklist nicely. But once I try to execute it, below error occurred:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Application URL ':///webgui/!' is not valid! Please check the protocol and host entries for system 'AX0'..
    See the details for the exception ID in the log file
    com.sap.portal.appintegrator.sap.Transaction::HTTPRenderLayer
    I am new in portal and workflow intergration, please help.
    Thank you

    Tipically this is because you have not set ITS params. This service will allow you to see sap gui through http connection (like portal).
    If you are working with netweaver see ABAP stack
    ITS must be activated on your R/3 system where workflow is defined.

Maybe you are looking for

  • How do i set the timeout value?

    I'm doing an insert...in the insert i have a trigger that fires a http put. when i'm doing a couple inserts at a time, it works fine. However if i try to insert about 50 at one time (within msecs of each other) then i get the following error: ORA-292

  • ALV grid report - Download total to excel

    Hi, In ALV report I am calculating Gross profit%. *Gross profit%  = ( (NetValue- Cost value) * 100 )/ CostValue.* Report strcture is as below. Region     Article             Netvalue      CostValue    Grossprofit%     A       1        100          80

  • Tv picture streached

    hi i live in southern cali. and have 4 channels that are streached 2,5,11,13 anyone heard what verizon is going to do to fix this and when

  • Data Integrator Questions

    Hello, I was hoping for some guidence on how i can access sap data without using a BW system. The Data Integrator and RapidMarts seemed to be the main option. Just wondered if this was a suitable appraoch for my scenario. Im the UK, our clients sap i

  • How do I clear contact history Droid X 2.3.3

    The old method from version 2.2 no longer works. My contacts list won't scroll right or left. How do I locate contact history droid x version 2.3.3?