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

Similar Messages

  • Item does not move from Workflow Inbox to Work Item Executed by me

    Hi experts,
    We have implemented workflow inbox for invoice payment. After archive document in OAWD, we will do posting through Workflow inbox. After posting, the item should go to 'work item executed by me' folder. But the problem is the work item is still in the workflow inbox. What should we do? Pls help. This is urgent. Correct answer will be rewarded, TQVM in advanced.
    Rgds,
    Nanie

    Hi Arianie,
    First check the status of your WORK ITEM ID. You can check it in SBWP or in SWI6 transaction.
    If your work Item ID still remains in the SAP Inbox & does not move into outbox i.e. "work Item Executed by me" then it may happened that your workflow is not triggered after users/responsible agents action completion. You can check the graphical status in SWI6 transaction itself.
    Also check whether your Work Item ID's status is not "ERROR" . If it is "ERROR" then you need to resume the work item ID (Whose status is Error) to start/recall the workflow.
    Thanks
    Pravin

  • Error in mail box work item not executable

    HI,
    i build simple WF for approve and reject  that send for user to  sap inbox
    some decision ,when i check the inbox of the user and double click on the line i get some red triangle in the status Colman  with
    error work item not executable,
    what can be the problem?
    Regards

    HI Raj,
    i build very simple WF ,
    user decision , i put there user  and approve and reject that it.
    i execute the WF and go to the SAP user inbox.
    in the Work Flow folder i see the task in column executable i see green V work item executable,
    status ready  when i double  click on it to open i get  in column executable message work item not executable ,
    and status error ,What it can be?
    P.S. i check something like that in other system and i don't get the error .
    i start the trace SWELS but in SWEL i just see in the log Trace on trace off nothing more .
    Best Regards

  • Approval Work Item still appears in inbox after approval

    Hello, We have an issue in SRM 7.0 UWL when an approval work item at a specific level finds more than 1 approver.
    1) When there is more than 1 agent at a specifc approval level, after the item is approved the work item still stays in the Inbox of the approver. However, the approval tab on the document in SRM shows that approval is now at next level. The workflow log does not show any updates based on the approval that was done.
    2) However, if the work item in UWL is clicked on twice, and approval is done from the webdynpro launced the second time, then it behaves correctly. Workflow logs get updated, next approval is routed correctly, and work item is removed from inbox.
    Note: This only happens when an approval level has more than 1 agent. If there is only 1 agent, the behavior is correct.
    Appreciate any help!
    Zack

    Hi,
    Is this a standard solution or modified solution?
    You could have faced a bug in the standard work item completion code. I have seen this a few times (not with SRM though). Coul you check that what is the actual status of the work item after you have tried to approve the work item for the first time. You can check the status in transaction SWI1 (or table SWWWWIHEAD). Is the status COMMITTED? And after you try approve it second time, does it get status COMPLETED? IF this is the case (the status is COMMITTED after first approval), there is a bug in the code somewhere. You might find a solution for this from OSS. IF you have some kind of customized solution, you need to talk with a WF consultant - basically you need to call the work item completion function two times in a row.
    Regards,
    Karri

  • Need to set "Title", "Display Name" and "Name" fields to custom string property "RMA Number" for each instance of custom work item

    Hi,
    We have a custom Work Item we use to track RMA's. I've created a string property called RMA Number which is also used as a key.
    RMAs do not have titles or any other identifying properties other than the unique RMA number (think incident number).
    I was wondering what the best approach would be to set these other fields ("Title", "Display Name" and "Name") to the RMA Number value (RMAXXX), as I'm currently investigating using a powershell script via a workflow.
    Thanks,
    Pietro

    Hi Marcel,
    I've come up with the following:
    # Load the SMlets module
    Import-Module SMlets
    # Get the RMA Class
    $RMAClass = Get-SCSMObject -Class (Get-SCSMClass -Name MyWorkItem$)
    foreach ($RMA in $RMAClass)
    $RMANumber = $RMA.RMANumber
    $RMA | Set-SCSMObject -PropertyHashtable @{"DisplayName" = $RMANumber; “Title” = $RMANumber; ”Description” = $RMANumber; }
    Is it possible to make it aware of which RMA work item executed it, and only update that one? Updating all the records each time a new one is created will cause some problems in the future.
    Thanks,
    Pietro

  • Can we send work item to external mails like yahoo or gmail?

    Hi,
    Is it possible to send work items to external mails like yahoo or gmail? In such case, how does work item execute?
    SS

    Hi,
    This is possible by using Extended notification .
    For Extended Notification, you can look the following blog,
    /people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
    Reward for useful answer.
    Richard A

  • Work Item or Document is disappear from Inbox

    Hiya,
    Any ideas on why the workflow item or document is disappear from inbox SBWP once you clicked to display/view the document without perform any task action.
    Cheers,

    Hiya Raj,
    "you can check log of executed workitem from SBWP, go to OUTBOX-> "WORK ITEMS EXECUTED BY ME" .there you can find workitems you performed from your INBOX."
    Those work items which have executed are flow to OUTBOX -> Work Items Executed By ME.
    Where is the place to check logs?
    However as mentioned those messages in both inbox folder "Unread Document" or "Document" is disappear after you clicked on either those folders without read the message or perform any action. Any ideas?
    Cheers..

  • MSS PORTAL -  RUN TIME ERROR WHEN EXECUTING A WORK ITEM IN UWL

    Hi all,
    I've a requirement wherein I need to have a custom screen in place of 'standard user decision' task in the UWL of MSS portal. I've developed a custom screen with Approve and Reject buttons and it works fine if I execute the work item from SAP inbox whereas in portal (UWL), it gives a run time error stating,
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 10:56_12/05/08_0020_509163550.
    I'm sure that this error is due to missing configuration between the dynpro and the Portal. All inputs in this regard will be of great help and will be valuable to me.
    Thanks in advance,
    Bharathi.

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • PO Response approval Work item is not executing from approver inbox.

    Hi,
    PO Response approval Work item is not executing from approver inbox. After click the approve button system is not showing any error and also work item is not clearing from user inbox. When we checked the status of the work item in SWI1 Transaction is still READY.
    Standard Task: TS14508055 - Transfer purchase order response data to purchase order
    Business Object: BUS2209
    Scenario:
    1. Create PO in SRM System, Vendor belongs to SUS System Vendor
    2. SUS Vendor creates the PO Response SUS system, POR Value is greater Than PO Value
    3. Approval Work item will go to Buyers of purchasing group
    4. Buyer trying to approving The PO Response from his approval inbox
    Regards,
    Surya Sankar

    what all buttons do you see when you open the workitem in the approval inbox.
    as far as i know , there will only button 'transfer response to purchase order'..
    what happens if you click the above button.

  • Error when executing a work item (cannot execute a method, biding problem?)

    Hello,
    I created a specific workflow, triggered by an event, from a class I also created.
    From this event, I get some data about a Document (CV01/02/03N...).
    The first step is a task which refer to a method (from the same class above).
    The binding Task <=> Method is the data about the Document and the Workflow ID.
    After I start the workflow, I execute the work item in SWI1, with a breakpoint in the method.
    I can't go in debug, and the work item is in error (in Workflow log) :
    - "Work item 000000590208: Object ZCL_SA3_WF_GED_RECL_FOURN method UPDATE_FID cannot be executed"
    - "EXECUTE_METHOD_OBJECT_SYNC : Dereferencing of the NULL reference".
    Note: The task is not in background processing, in the aim of debugging the source code.
    I did SWU_OBUF and quit/relog SAP.
    Do you have any ideas to solve this problem ?
    I think it's a biding problem, because I can' t even go in debug mode...
    Thanks.
    Regards
    (sap version: ECC 6.0)

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • Workflow loop, return the work item to the inbox, instead of automatically executing the work item

    Hello all,
    Within a workflow I have a loop. Inside that a foreground step is executed. Then a condition step is executed to decide if the workflow should continue, stop, or return the work item to the inbox.
    This new workflow was modeled after an existing workflow that is doing just that. Unfortunately, this new workflow is not returning the work item to the inbox. Instead, it just keeps displaying the screen that is called by the function module that is called by the business object method that is executed when the foreground task runs.
    I've included a Word document with further detail in a number of screen prints. Hopefully this is something that will experience workflow developer may have seen before and know how to correct.
    Unfortunately I have done very little workflow development and don't have a clue what might be causing this problem.
    Any help would be greatly appreciated.
    Bruce
    I could not attach a Word file, so I added 3 jpg files.  I would have added another 3, but it seems that posts are limited to 3 files.

    Hi Bruce,
    As per your design, If you are approving or returning, the workflow loops back to the step "Approver - stat key approve".
    Suppose you are one of the approver for this step ""Approver - stat key approve" and if you click on approve or return, then it will try to create a new workitem for "Approver - stat key approve" step.
    As you are one of the approver again, the window opens immediately instead of reaching the inbox of all other approvers.
    Include a dummy activity step in the "approve & return" condition outcome.
    Active the workflow & refresh the buffer SWU_OBUF.
    After this, when you click on return it will not open the same screen again. Instead it will be reaching all the approvers' SAP inbox.
    Thanks,
    Karthikeyan

  • "Workflow Template Create" screen  appears while executing the work item.

    Hi,
       I am learning the workflow. I have created a test workflow in which there is a user decision step and 2 mail sending steps for the outcomes of the user decision.The workflow is activated properly . When I excute the workflow the screen for "Workflow Template Create" opens everytime. When I go to the Business workpkace a mail is there in my inbox with the title as given in the user decision step. Again when i am trying to execute the work item in the inbox again the same screen for "Workflow Template create " is opening. I am totaly confused with this problem . Pls suggest what might be the reason..?

    I think the Wflow Template Creation screen is not opening but your current session is getting closed so the previous session which is Wflow Create one which you have already opened is appearing. Please check your template design and act accordingly.
    Thanks
    Arghadip

  • Error:Work item 000000001099:Object FLOWITEM method EXECUTE cannot be execu

    Hello experts,
    I have created a Sales order workflow whr after creation sales order will go to 1 person inbox and he will check the SO thoroughly and thn i hv added a user decision step for APPROVED or REJECTED for same person.
    Now after creation of sales order it goin to the person inbox for checkin SO but when he is saving it thn decision screen with button APPROVED or REJCTED is not coming and m getting error :Work item 000000001099: Object FLOWITEM method EXECUTE cannot be executed. and error: Error when processing node '0000000024' (ParForEach index 000000)
    i checked the agent mapping for both step....and thr is no error in agent mappin...in both steps i have mapped same rule with responsibility IDs
    PLz suggest urgently wht can be cause of error.
    Regards
    Nitin

    Hi Nitin,
    I think this seems to be an agent assignment issue.
    To debug this issue go to the workflow log and check if the agents are correctly being picked by the rule or not. Simulate the rule and check for the agents being picked.
    In the workflow log, check the agent for the User Decision step. If there is no agent found then there might be some issue with the data passed to rule.
    Hope this helps!
    Regards,
    Saumya

  • Urgent - How to get a pop up after executing a work item?

    Hi Gurus,
    I am working on a PO Approval workflow which is designed to approve multilevel POs depending upon its amount.
    Now the requirement is that I need to provide a pop up with list of second level approvers to the user immediately when the user executes the work item of first level approval in his/her SAP Inbox.
    Waiting for responses ASAP. Let me know if scenario needs to be clarified in more depth.

    Hi Shaurya
    You can create a method to send a second workitem to the agent with a list of agents for the second level, and pass the selection back to your workflow container.  Set the new task as "Advance with Dialog" and you should be fine.
    Alternately you could set your new method as a secondary method AFTER workitem execution call, but don't forget to check the result of the first approval so the popup is only involed if they have approved the first step.
    Regards

  • Problem with executing work item from the inbox

    Hello All,
       I'm able to send mails from R/3 to Outlook along with the attachment to execute the work item directly from the outlook.
    However upon clicking the Exectute work Item.sap file I get an sap gui popup with the description " Not all data for SAP  GUI shortcut is available. System description and GUI start parameter are unknown. Entering the missing data."
    Clicking on the OK button, leads to another window for SAP logon details. After I chose the right system and on Clicking OK, it opens up the logon prompt. Entering the logo info opens up the work item correctly.
    We are on ECC 5.0 with SAP GUI 640 patch level 18 on it. Any suggestions about what am I missing to directly jump into an sap screen provided a session already is open in SAP.
    Thanks and Regards
    Uday

    Hello Uday,
    Sounds like something is wrong in the SAPLogon <i>on the client PC</i>. The system sends out a shortcut, and when it's opened it does not relate to a unique entry in the saplogon. Either it's called differently or you have two entries for the same system with different parameters.
    Hope that helps,
    Mike

Maybe you are looking for

  • Transferring ipod's music to itunes library...please help

    how can i get all the music on my ipod back into my itunes library, which got erased?

  • How do I get my newly installed airport card to work with SKY?

    +This question was originally posted on the G5 iMac section, but I think in retrospect it would be better here. Sorry for my mistake Administrator+. Here's an interesting one for all you good people. Just bought and paid for an airport extreme card t

  • How to process Large Image Files (JP2 220MB+)?

    All, I'm relatively new to Java Advanced Imaging, so I need a little help. I've been working on a thesis that involves converting digital terrain data into X3D scenes for future use in military training and applications. Part of this work involves pr

  • How to include .jars?

    Hello, I have been unable to find out how to include in the .ear file generated by wsgen the supporting .jar files that my Web Service EJB needs. I thought this could be done with the "classpath" parameter in the wsgen tag in build.xml, but it doesn'

  • Prompt for user inputs

    Hi, 1) Want to prompt user for username & password 2) connect to oracle 3) want to use substring function on username entered by user 3) user of substring output in procedure Performed as shown below but not working, PROMPT Enter username and passwor