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.

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

  • 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

  • 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 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

  • Is it possible to work multiple scenario on a single agent

    Sir,
    Requirement is to upload data to a table (As sub format division of data file is there for a single file ) using a file Upload Open tool.
    Though the data upload are specific to different tables but open tool java class invoke different file upload processes at same time so I use to derive the thing with different agent........
    Can we use the same agent for different task which are going to be executed simultaneously?
    actually I am unable to set my requirement so need to know what is the actual work of an agent and in which scenarios I will use different agent.
    regards,
    palash

    Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
    http://support.apple.com/kb/ht4627

  • How to find List of Erroneous Workitem for single user

    Hi Experts,
    I need to develop an application to find out Erroneous work items for each user.
    Is it possible to develop an application using GP API ???
    Please give any valuable inputs to my problem.
    Regards,
    Satya.

    Hi Satya,
    Thanks for reply.
    I am able to get Open task which are available to user, but i am not able get Erroneous work item.
    Can you give some sample code to get Erroneous work items.
    Regards,
    Satya

  • 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

  • How to route the workitem to Agent, when no agent found

    1.when agent is not found, i was able to see the workitem in swi2_freq.
       If this is case, how do i send workitem to an agent?
    2. As this is a general task, but i didn't see this workitem in all user's inbox. is it true that if agent not found for a workitem,will be sent to all agents?
    3. I set my userid as workflow administrator, but still am not able to forward workitems to any user in sap.(lack of authorizations). What kind of authorizations required to forward a workitem.
    Any inputs on this...

    1. Either you can set default agents for the task (or) modify the container elements in transaction SWIA (or) complete it manually without agent.
    2. Its true that, for a task specified as general task, all users become possible agents. Remember that they dont become responsible agents. SAP agent assignment always take the intersection of possible and responsible agents. If you donts specify responsible agents, you cannot see workitem in anyone's inbox.
    3. As told earlier, if you dont have authorization, check for the auth object in SU53 and get that added to your profile. Anyways, you can also check for the SAP provided standard authorizations for the workflow users in sap.com
    regards,
    Sandeep Josyula
    *Mark if helpful

  • Function to get the Agents for the Workitem not the possible agents

    Hi Guys ,
    To get the user for each scienario we saved it in the ztable. Now i want to show in report the list possible agents assigned to workitem. ts should agents asigned to it ... its can be four or five ....

    Try to make use of the FM SAP_WAPI_GET_WI_AGENTS, if at all you want to know the agents with respect to a workitem
    and
    check the below too
    SWL_WI_DISP_ACTUAL_AGENTS     
    SWL_WI_DISP_EXCLUDED_AGENTS   
    SWL_WI_DISP_POSSIBLE_AGENTS   

  • Workitem not sent to agent

    Hi all,
    I have this problem
    A workitem was not sent to the agent. When i check the workflow's log, the workitem has no agent, it is in blank !!!
    What could have happened ? Why if the workflow was working fine, suddenly the agent was set to blank ? What can i do to prevent this situation ?
    Thanks in advance !

    Check the agent assignment defined for the task in the workflow template. May be the role resolution did not return any agent i.e. If you have a function defined to retrieve agents then the function did not return any agents OR If you have a position id defined as an agent then no users are assigned to the position id.
    If you want to avoid such situations make sure that the agent determination logic always returns a default agent. This could be the workflow administrator. 2nd option would be to define the task as a general task.
    -Kiran
    *Please reward useful answers

  • Workitem forward to multiple Agents

    Dear friends,
                        please let me know whether I can forward a workitem to multiple agents.
    with regards,
    Sudhahar R

    Dear Arghadip,
                           Thanks for your suggestion and it works well. I never thought changing a personal setting in our own workflow inbox will enable multiple forwarding for a Workflow Administrator role. This is not the way its should be enabled...   this seems like a workaround. what you think?
    Thanks & Regards,
    Sudhahar R.

  • Different SMD Agents on a single HANA appliance

    Hello,
    we've four different HANA instances on our HANA maschine. We have installed a SMDAgents for every instance.
    The agents are created with different SID's. The SID's have different instance numbers as well.
    Now we are not able to connect all the Agents to the solman. It's only possibel to connect a single agent.
    If we stop the agent we are able to connect an other installed agent on an other
    HANA instance.
    How is it possible to connect all the agents?
    Best regards
    Roger

    1) Create another bin (e.g. test_bin) directory in the oracledi directory. Copy all of the agent related bat files across to the new bin directory i.e. odiparams.bat, agent.bat etc. Make sure your new odiparams.bat file is configured to point at the correct work repository.
    2) Yes, multiple agents can be managed via OPMN
    3) They will be using the same resources available on the single server but as long as you configure them appropriately it shouldn't lead to unnecessary conflict / performance issues. i.e. don't go changing the java heap size for the agent to some unrealistic threshold if the server resources cannot support it.

Maybe you are looking for

  • How to setup airprint with my canon printer

    How to setup airprint with my canon printer asnd ipad 3

  • Maximum file size for export into MP4?

    Hello, I am not able to export 2 hour HD video into standard MP4 file. It seems that reaching 100% export algorithm gets into loop. I was waiting for hours and still had seen progress at exactly 100% with final file size on hard disk to be 0 bytes. I

  • What exactly does the migration assistant to?

    I'm thinking of upgrading to a faster Mac, I'm tired of the slowness of a Core 2 Duo... when I get my new one, what is everything the migration assistant will do? Does it transfer all my apps and their product keys over? Or do I have to reinstall stu

  • Route Determination on Distance

    Hi Gurus, I want to determine the route on distance based i.e route should be determine on nearest distance i.e Kilometer based. Can we add Distance as creteria for route determination. Thanks in advance. Regards Mahi

  • Mail Stationery options

    Is there anywhere else to get new stationery for mail? The options are so limited and boring after awhile. Especially looking for Holiday Sentiments