Orphaned Workitem - Workitem without agent -Recycle /treatment method.

Hello All,
Some times in my system there are some unwanted workitems without agent were created.How to treat them in general for all the Business objects like sc,po...I could see them in SWI2_admin .
Is it problem of work flow?
any experiece you encountered..As per process how to treat them.
regards
Muthu

most of the times , problem is not with the workitem generation.
it is generated correctly , but the agents for the workitem are not found...
problem of agent not found is because of workflow only , some times if the task were to be classified as general and if it is not.
then the system will generate workitem and agent will not be found.....

Similar Messages

  • How to send workitem to dynamic agents

    Hi all,
    This is my problem, I have to send workitem to dynamic agents (number of agents vary).
    I have the approver details in the workflow container, now i have to send the workitem to the apporvers, since the number of approver varies i am using while loop and i am doing container opreration for each loop. I have the apporvers details in a multiline container based upon this i have to send workitem to the first approver and after his decision i have send workitem to second approver and it goes on.
    Regards
    Balaji E.

    Hi all,
    After struggling for 2 day i found the solution for my problem.
    My Problem:
    I get the approver details from a function module and i call this function module in a method and through a task i pass the multiline container element (which is holding approvers details) to my workflow container. My problem is i dont know how to loop this multiline container element in my loop (while).
    Solution:
    There is a macro to copy one container element to another container element it may a multiline container too.
    SWC_COPY_ELEMENT <SourceContainer> <SourceElement> <TargetContainer> <TargetElement>.
    i used this macro while i run the method at first time and i copy this value to another container (multiline) element at this step itself.
    In my next step i pass only the loop number (i have a workflow container element. and i increment this container element for each loop) to the method and in that method i read the multiline container element based on this loop number and i pass the result value to task-->workflow.
    From here i proceed further.
    Thanks all of you.
    SDN Forum helped me a lot in this issue.
    Regards,
    Balaji E.

  • Forward Workitem to Next Agent if workitem is not processed

    Hi all,
       My requirement is,i want to forward the workitem to next agent if it is not procssed within 5 minutes.
    i am using latest End Tab to specify the time and next agent to whom the work item is to be send.
    but the problem is ,if the workitem is not processed in time then message comes in Deadline Messages section of business workplace of next agent but i want it in Inbox and corresponding action is taken place.
    Thanks,
    Arpita

    Hi,
    By deadline monitering you can do this activity.and you can also forward the workitem by the following method.
    U can see the workitem of the user by the table SWWUSERWI giving user id.
    select the workitem id.
    Go to the transcation SWIA.
    Forward the workitem to your inbox.
    This will not appear in user inbox anymore
    Regards,
    Pranab

  • What is the tcode to see all the workitems with out agents?

    Hi Gurus,
    What is the tcode to see all the workitems with out agents?
    Thanks in advancec

    SWI2_ADM1
    Thanks
    Arghadip
    Edited by: Arghadip Kar on Feb 21, 2008 5:45 AM

  • SWI2_ADM1 : Without agents workflow for custom program

    Hi,
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and display error work items list in the output.
    kindly suggest me how to write the custom program.
    Thanks & regards,
    Bala.

    Hi,
    I think you have a two requirement.
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and
    For this purpose please follow the below steps.
    1. Get all the dialog workitems from table SWWWIHEAD where WI_TYPE = 'W' , WI_STAT = 'READY' and WI_CD = current date.
    2. Now this dialog workitems are with agent and without agents. Now you need to filter them.
    3. use FM SAP_WAPI_GET_WI_AGENTS/RH_SWWUSERWI_READ_FOR_WI to find the agents of the dialog workitem.
        FM SAP_WAPI_GET_WI_AGENTS will return workitem list those have agents. FM RH_SWWUSERWI_READ_FOR_WI  will return
        initial  if the workitem does not have any agents. I would recommond you to use  SAP_WAPI_GET_WI_AGENTS. So you can filter them
        by using the above FM
    4. Submit the report RSWIWILS with the workitem ( without agents ) to execute agent rules
    display error work items list in the output.
    Use FM SAP_WAPI_WORKITEMS_BY_ERROR to get the list of workitem or select workitems from table SWWWIHEAD where, WI_STAT = 'ERROR' and WI_CD = current date.
    Hoping that this can help you.
    Thanks and regards,
    SNJY

  • Write a servlet without doGet() and doPost() methods

    Hi,
    Can we write a servlet without doGet() and doPost() methods ?

    public class MyCoolServlet extends HttpServlet
    public void init(ServletConfig servletConfig) throws ServletException
    public void service(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException
    // your code here
    }Just an example on how to do it.
    A servlet is loaded by server (before any request). It will run the init function. Then pick up an request, spawn a thread and put this servlet code into the thread, give it session, request and response objects, then call serivce.
    Remember that init is called before, outside the thread, while service is inside the thread and the last to be called. Nice place to put your code.
    If you need to have some sort of init function to be called first on every request PR USER, then make your own function, and call it first in service method.
    Stuff that are put in init() function might only get runned once in the entire server lifetime. Until restart.

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)

    Hi
    I have created a function
    create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
    create type att_con.ind_field_value_table as table of att_con.ind_field_value;
    create or replace function fn_find_field_entries
    (s_entry IN varchar2)
    return ind_field_value_table
    IS
    found_count integer;
    t_return ind_field_value_table := ind_field_value_table();
    begin
    for cur in (select owner, table_name, column_name
    from all_tab_columns
    where owner 'SYS'
    and owner 'SYSTEM')
    loop
    execute immediate
    'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
    into found_count;
    if found_count 0 then
    t_return.extend;
    t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
    end if;
    end loop;
    return t_return;
    end;
    and i am getting the above error when i try and run it with
    select * from table(att_con.fn_find_field_entries('NDUNNE'))
    anyone know what this error might mean?
    thanks in advance

    22950, 00000, "cannot ORDER objects without MAP or ORDER method"
    // *Cause:  an object type must have a MAP or ORDER method defined for
    //          all comparisons other than equality and inequality comparisons.
    // *Action: Define a MAP or ORDER method for the object type
    //

  • I cannot create an apple id without providing a payment method

    i am trying to creat a new apple id and i can't without providing a payment method. eg a bank card

    Follow these instructions:
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Suppor…

  • How to encrypt a big folder without using disk utility method ?

    How to encrypt  big folder
    suck as 100 GB
    without using disk utility method ??

    Click the partioned disk > Hit Erase Tab  >
    Under "Format" Select "MAC OS Extended Journaled, Encrypted
    Click "Erase"
    Set Password ..
    Done

  • Approval Workitem removed from Agent Inbox

    Dear All WF Experts,
    scenario:
    Let say Agent A and Agent B are sent a work item.
    If Agent A has executed the work item in SBWP previously, the work item is removed from Agent B's inbox (And the status is changed to 'STARTED'). However, the work item is not processed yet.
    Is there anyway to make the work item stays in the inbox until either agent approved the work item?
    I Know:
    (As soon as any user executes a workitem the workitem get's reserved for the user irrespective of it's completion.
    If the user wants to send it back to all recepients, he can select "replace" in the tool bar to redetermine the agents and put back to all recepients inbox).
    I dont think usage of Fork can resolve the issue , since the users are not fixed(I mean there can be any no. of Approvers, so i cant put fixed number of steps in FORK).
    Question :
    Is there any way by which Reserve status(In process status)) can be changed to Ready status without enduser doing anything.
    Thanks in all advances.
    Ankush

    Hi Ronen ,
    I Applied the SAP Note :1676067 - Automatic replacement of work items.
    Created Table , domain and DataElements also for Manual entries Also .
    While maintaining the Dialog Maintainence entries maintained are Asynchronous , 0 , 0 .
    And scheduled the job.
    But still it is not changing the status from Inprocess to Ready for workitems .
    Can you suggest what else is supposed to be checked or maintained .
    Thanks in Advance.

  • Workitem to single agent

    Hi,
    I have a Webdynpro form approval application. When i click the submit button, it triggers a workflow in the R/3 system. This generates a workitem for approval to a single person. The approver is set by the user in the application. I want the workitem to be sent to this person only and be shown in his SAP inbox only and not to all the other users in the system. Could someone tell me how this is to be done.
    Thanks,
    Prasy

    Hi Prasy,
       For any approval step you will have two or three outcomes, approved ,rejected. You sometimes have New outcome which you can deactivate and retain only two outcomes.You can achieve your requirement sequentially when you  have less levels of approvals, as in your case it is 3 levels.
        Assume you have Agent1, Agent2 and Agent3 as approvers for Approval step. Now in the first approval step give Agent1 as agent. Now in the Approved outcome copy the Approval step and paste and change the agent as Agent2. Again here you will have two outcomes as above for this step. Copy and paste Approval step in Approved Outcome and change agent as Agent 3. By doing this your workitem will go to second approver only if first agent has approved , and will move to third approver if only second approver has approved.This is the simplest way to do achieve your scenario.
       If you have more levels , I think you can do it by loops.
    Sujatha.

  • Workitem with one agent in her log, appear in the workload of another agent

    Hi all, I have a problem in ECC, checking the workload of one agent with transaciton SWI5 I found that the agent has 2345 workitems pending for approval, all of them of the task ts00007989 (Outbound, error handling with IDoc), but if I check the log of some of that workitems it has another user in responsible agent.
    the user that appear in log is a valid user in suo1d transaction.
    Any ideas what might be the reason?
    regards
    Gerardo

    Are you checking the log of workitems that have already been executed by the agent..? If that is the case then there is a possibility that the same workitem is sent to both the persons i.e., one whom you are checking in SWI5 & other who is appearing as responsible agent in WF log. Out of the 2 persons the one shown as responsible agent in WF log should have executed the
    workitem..
    Check from workflow step whether they are using multiline container to pass more than agent for the step.
    Rgds,
    Bharath

  • Two similer workitems comes in agent's inbox

    Hello Friends,
    I had created a custom workflow for the release of Purchase Requisition(PR). Here I need 2 levels of approval for items whoose value is above a particular amount. So based on the release group & release strategy, the workflow will deliver workitems into the inbox of the agents for approval.
    My problem is, the workitems will appear in agent's inbox twice. Even if we complete a workitem execution, the other will remain in the inbox as not started. I tried by assigning single users to task as well as to activity. But the problem remains.
    How can I rectify this problem ? Please help me.
    Regards,
    Abijth

    Hello Sanker,
    Sorry for being late on my reply. I was out of station due to some reason.
    Your assumptions were correct. I was using 'RELEASESTEPCREATED' event. I have to use 2 levels of approvals, because based on the net price of the PR item, the Release Group & Release Strategy will give 2 Release Codes. The client's requirement is to have separate level of approvals for each release codes.
    In scope of this situation, how can I solve this problem?
    Regards,
    Abijith

  • Change variable values in a class without acessing it's methods?

    I have the following scenery, a main class with:
    -ArrayList of strings.
    -Class frame (with textfield and button) supposed to add strings to that Array.
    Ok, in main class i set the frame to run, but how to make the frame to change the ArrayList of the main class in a easy way? What is the easiest solution and the best without hurting the paradigm?
    1-One solution would be to make a method in frame that returns the string and IN MAIN CLASS add it. But is this too straightforward? Like, if i had to manage 7,8 frames that must acess 7, 8 ArrayLists of main class as well as other frames recursively (Example: main class start running frame 1, then if button1 pressed go to frame 2, if button 2 pressed get textfield and chang ArrayList)
    2-Another solution would be to set all ArrayLists as static variables so i can change them freely? Is this a good paradigm?
    3-Pass the own main class as parameter throughout the frames? Is it possible? If so please post a 10, 15 line code in which i could do that.
    4- Put the main class as mother and all frames as son and put all arraylists as protected?
    I feel like im lacking one good paradigm, it should exist some concept in which the created object could change the value of the variable passed as parameter in the class that created it.
    Thank you very much.

    Thank you for your reply Kayaman, but i think you should help me.
    I tried to pass a simple variable (a string) as parameter through the constructor to one frame, like any other class.
    public class TelaLogin extends javax.swing.JFrame {
    String a;
    public TelaLogin(String a) {
    this.a=a;
    initComponents();
    But it returns a compilation error, maybe is something in it's main method? I didn't change it:
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new TelaLogin().setVisible(true);
    The main class has a 'new TelaLogin' that looks very suspicious. Is it that?
    This looks very simple.
    What must i change here? Please Kayaman help me.

Maybe you are looking for

  • Deleted the iPod Software Updater 2006-01-10

    My Ipod was not sync'ing any songs so i thought i was because of the iPod Software Updater 2006-01-10 so i deleted it thinking when i restore the ipod to it's factory setting it will install it again, but although when i restored the ipod the songs s

  • Fstream on a text file and exel data connection breaking

    Hello, I am writing to a text file using C++ code below (VS 2008). Then I do a "Data Connection" from excel2013 to this text file: the purpose of this is to have a "live" display of some graphs based on this log file. Parameters of the data connectio

  • TDS Certificate Not printed

    Dear All When I am printing the TDS certficate I am getting the following error: No data selected for printing Message no. 8I000 Thanks & Regards Kanwaljit

  • How to disable proftpd on solaris 8

    Hi, How to disable proftpd from the server on solaris8? there is one process running on box named /usr/local/sbin/proftpd -q -n -c /usr/local/etc/test-ftp.conf. thx

  • Create IDOC when archive a material

    Hi Guys Is it possible to create an IDOC when a material is archieved using MM70. My program is working fine with creation, deletion and change but for archieving its not creating any IDOC. (I am using a zBD10 Program) Please suggest a way. Any help