PR Overall Release Workflow - Agents Determination Failed

Dear All WF Experts,
I have used the standard workflow WS20000077 for PR Overall Release. I have assigned the agents to the task TS20000159 by position maintained in the Workflow Organizational Management Structure. The agents' names are showing correctly in the task's agent settings.
However,  when I execute the workflow, the error 'Agent Determination Failed' for that step (TS20000159). I have checked the agent settings in workflow and SPRO, they look fine. Could anyone please kindly give me advices how to solve this error? Thank you so much.

Hi, to all the experts who have helped me all these while,
Thank you very much for spending time helping me to go through this issue.
Yesterday, I ran through the coding for the function module for the rule AC20000026 again. I found out that there is one part of the coding which is causing the failure of determining an agent. The code disregard the company code for overall release of Purchase Requisition while the business requirement involves company codes in every PR created. Thus, by changing that code, the problem is solved.
The snippet of code of function module (ME_REL_GET_RESPONSIBLE):
   CASE t16fc-frgwf.
* keine Ermittlung
      WHEN space.
        RAISE nobody_found.
* Ermittlung ¨¹ber T16fW
      WHEN '1'.
        IF eban-gsfrg EQ space.
*     Einzelpositionsfreigabe Banf
          SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                       AND frgco = rm06b-frgab
                                       AND werks = eban-werks.
        ELSE.
*     Gesamtfreigabe Banf
          SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                       AND frgco = rm06b-frgab
                                       AND werks = space.
There is always a value in werks in my business scenario...
SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                       AND frgco = rm06b-frgab
                                       AND werks = space.
So, by changing it to
AND werks = eban-werks
it will work, however, I think it's better to just remove the If statement
IF eban-gsfrg EQ space.
, since it has no effect anymore.
I hope this would give a hint to all the rest who might be facing the same problem as well.
Thank you very much,
YL

Similar Messages

  • Agent determination failed in Standard Workflow.

    Hi Experts,
    I am new to workflow and we are trying to implement the standard HCM process of Transfer.
    The worflow is giving this error.
    Error when processing node "000000032"
    which further says Agent determination failed for step "000000032"
    Pls help and guide what can be done to resolve it.
    We have checked the Org Structure.
    Regards,
    SV

    Hi,
    Thank you for your reply,
    Which std workflow you are using ?
    We are using the WF WS17900427.
    Are you using portal to trigger the workflow and webdynpro screen for approval or adobe form for approval ?
    Yes
    If the agend resolution is getting failed. What role number ?
    Rule ID 17900012.
    Have your tested individually from PFAC t-code. Is it giving the correct agent from there. check from there.
    Testing individually (onclick of Stimulate rule resolution).
    Runtime Error MOVE_CAST_ERROR
    Exception     CX_SY_MOVE_CAST_ERROR
    Regards,
    Sanjyoti.

  • Agent determination failed

    HI
    I am using a rule with responsibilities created through PFAC in the loans workflow.
    We upgrading are from 4.6c to ECC.6
    The workflow and rule use to work well in 4.6c.
    In ECC 6 ,Simulating the rule works fine,but when running the workflow an error occurs.
    The workflow runs well in Delopment box and the error is only on production box
    I get the error  "Agent determination failed" but when i restart the workflow manually through 'SWIA' the worklow complete succefully.
    Thanks
    Rendani

    HI,
    What points I could think of is:
    1. Check if task agent assignment atributes ae maintained properly e.g. General Task etc in PRD system.
    2. Responsibilities are in place in PRD system same as Development system.
    3. Check if any authorization differerence from DEV system , i.e. Responsibility rule might faile due to lack of authorization to certain user ID.
    Regards,
    Akshay

  • PR overall release workflow

    Hi All,
    I am working on PR overall release workflow (WS20000077) and had activated workflow for PR rejection 'wf_pur_rejo' (WS65400029). When i create a PR using ME51N workitem gets created. When we reject the PR by executing the workitem i receive the workitem for rejection also. Everything is fine till here.
    But when i try to execute the workitem (Purchase Requisition XXXXX Rejected) i get an <b>error 'No Administrator found for the task'</b> and i observed that in workitem log it is shown in READY STATE. This happens for some user ids and it works fine with some other user ids.
    Can any please tell me where i am going wrong and if i am then eloborate on what should i be doing?
    Thanks in advance,
    Regards,
    Lakshmi Narayana.S

    I have got it, ran the Transaction SWU_OBUF to synchronize the buffers and re-logged into SAP. Now the problem is solved.
    Regards,
    Lakshmi Narayana.S

  • Error in resolution of rule ... for step - Agent determination failed

    Dear All,
    In SRM 7.0 CS, i am having a problem in the area of work flow. In general, the workflow is working fine, but at times the work item does not get delivered to the approver.
    As per the analysis from SWI2_DIAG, the error is the following for the concerned shopping carts:
    Error handling for work item 000000056146
    No links corresponding to the specified data could be determined
    Error in resolution of rule 'AC40000138' for step '0000000293'
    Agent determination for step '0000000293' failed
    Error during result processing of work item 000000056156
    Error when processing node '0000000293' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Error when processing node '0000000293' (ParForEach index 000000)
    Work item 000000056155: Object FLOWITEM method EXECUTE cannot be executed
    Error handling for work item 000000056154
    Error when processing node '0000000293' (ParForEach index 000000)
    Does anyone have an idea on the root cause of this error?
    Thank you very much.

    Hi Masa,
    thank you very much for the reply.
    Yes, rolewise the approver is having the manager role in SRM and also on the portal. But what do you mean by "manager position in PPOSA_BBP"?
    The user is hanging in his node together with the other users. Is there any specific "manager position", where the approvers have to be put in PPOMA? I mean, the other approvers, for whom the workflow is working normal, are hangig in their nodes just like the approver who is not getting the work item.
    Moreover, if i drag the users (the requestor and the approver) into an other node (for another plant of another company code for example), than the work flow is working fine.
    Can there be any other reason for such an error?
    Thank you very much.

  • FI Payment Release Workflow Agent assignment and SPRO settings.

    Hi Experts,
                     I am working on Payment release workflow for 2 stages. So for this i have activated the main workflow WS00400012 and for First level release WS00400011 and for second level release WS00400021.
    Now where should i assign the agent for First level release and second level release ? and what setting should i do in SPRO as FI settings.
    Any of you suggestions will be of great help me to resolve this issue.
    Regards,
    Hari

    Hi,
    Thank you for your reply.Should i mention the main workflow number in SPRO or
    just the subworkflows alone ?.
    Assign main workflow number
    Can i assign users directly in workflow itself insteas of assigning position in SPRO.
    Don't assign users inside the workflow, if the user id you want to change then again you have to change the workflow.
    Regards,
    Surjith

  • Agent determination failed description

    Hi, here's my doubt:
    When creating a PO or a SC, if the initiator (requestor) is the same person as the appover of that SC or PO, the workflow fails, because he is one of the excluded agents.
    When this happens I get this message: 'Strategy Z_SC_TOT_VAL_APPR did not determine any approver.'. I can see this message clicking on the last step of creating a SC in the link "Edit/Display Agents"
    I want to know if I can change that message and put something like 'SC requestor cannot be approver'
    Thanks!!!!!
    Matias.

    Replied in the Workflow Forum.

  • RFQ Workflow: Agent assignment

    Dear All,
    We are working on the Release RFQ workflow.
    Per my understanding, the IMG settings determine the users/OUs who should be receiving mails
    to release the RFQ. This multilevel approval is in place.
    Now, I have created an RFQ, this triggered the workflow, but there is an error in the release activity.
    The error says "Purchase reqn number is not found".
    Do we need to explicitly mention the release rule 20000030 in the agent assignment section
    of the workflow? Why does the error abt purchase reqn appear?
    Does it look if the RFQ is created w.r.t Purchase reqn?
    As this is both MM/workflow related doubt, Iam posting it in both the forums
    Please help me.
    Thanks,
    nsp.

    Thanks for your response.
    These steps are already taken care of.
    Now, what I have done is, I have created an RFQ  with reference to a purchase requisition. In SWEL, I see workflow WS20000080 triggered. But I get an error saying "Element purchase order is not available in the container. Error in resolution of rule 'AC20000030' for step.  Agent determination failed"
    Can you advise me? Why does it look for purchase order ?
    Thanks,

  • Problem in agent determination for custom wf of contracts

    Hi
    I've copied standard wf for contracts i.e. 20000079. In my custom wf the step for release contract I've maintained the standard rule 20000029. bcos this rule is assigned for standard one with task 20000172. Am I correct in agent assignment??bcos my agent determination fails and wf goes into error. But if I simulate the rule separately it works fine. So there is no prob in rule,also i've properly binded it with task passing purchasingContract and releasecode.
    Could u pls help me.
    Thanks

    Check that the binding between the workflow and rule are OK. Maybe your workflow is not delivering all the needed parameters for the rule (the same parameters that you are using while simulating the rule).
    Another thing that you should check is that make sure that this is not an authorisation problem. It is possible that the rule is executed by the dialog user (not WF-BATCH) that doesn't have enough authorisations to do all the necessary rule logic. Just give remporarily SAP_ALL to the user who is executing the test.
    Regards,
    Karri

  • Agent determination for step 0000000081 failed error in workflow

    Hello All,
         I am doing employment verification from ESS portal. In the workflow step I have selected RULE to determine the agent. To configure rule, I double click on rule, on next screen selected "Agent determination - responsibilties" to determine the agent. I configured responsibilties with the valid value ranges and everything but the workflow is going into error! I did research and not sure what I am doing wrong. I checked the workflow container in workflow log and all the values that are supposed to pass to rule container are showing up fine.I keep getting the error:
    Agent determination for step 0000000081 failed
    Result og agent resolution does not agree with agents of task.
    Any feedback you could provide would be greatly appreciated.
    Thanks.
    Mithun

    1. In Transaction PFTC, select Task Type = Standard Task and Task = 01000076
    2. display the task details.
    3. Now go to Additional data ->Agents Assignment->Maintain
    4. Select the task here and click Attributes in the application tool bar.
    5. Select the General Task radio button and hit transfer.
    -- You have made your task general.
    To Synchronise the runtime buffer ,simply excute T-Code SWU_OBUF and hit the Start Synchronization button.

  • Need help with agent determination for release workflow

    Hi,
    I am trying to perform a release in the contract(FS-contract management) by using the framework for principle of dual control. When i create a contract, i get a message that says contract created, not yet released. But i am not able to get the work item in my inbox to release the contract. The SWI1 transaction shows 'no agent' for the triggered workflow. I am using the template WS50100021 as there is only one release step. By default there is a rule '50100017' given for the template. But in the customizing settings i have the section called 'assign rule to release steps'. Do i need to assign a rule here for agent determination. If so, what about the rule in the WS50100021 template? Which one should i use? I am able to execute the method 'release' of object BUSISB001 from SWO1 and release or reject the contract creation. But i am not able to get the workitem in my inbox in SBWP transaction

    Hi Suhas,
    The rule used in workflow template WS50100021 is a standard one. So try to find out that on what basis it is fetching the agents. It could be the case that the logic specified in the rule does not fulfill your requirement.
    The other reason could be that you have not specified the task as general. Please check if the agents tab is activated(green) in the task or not. If it is not you need to set the task as general.
    SOLUTION : if you want to get the workitem in your own SAP Inbox for testing purpose, you can set the WFINITIATOR as agent instead of that standard rule. This setting will send the workitem in your own SAP Inbox.
    Regards,
    Guddan

  • Error in Workflow for PR Overall Release

    Dear SAP Fans,
    I am getting error in workflow (WS20000077) after release of Purchase Requisition with first person and getting message in OutBox with the following errors and is unable to go to next person's Inbox for release PR.
       Error when creating a work item
       Error when processing node '0000000004' (ParForEach index 000000)
       Error when creating a component of type 'Etapa'
       Error when starting work item 000000392108
       Agent determination for step '0000000004' failed
       Error in resolution of rule 'AC20000026' for step '0000000004'
       No configuration for workflow WS20000077 version 0001
       Work item 000000392108: Object FLOWITEM method EXECUTE cannot be executed
    How can I correct the above errors. Please help me !!!.
    Thanks in advance,

    HI,
    Just a thought,
    Please check, If some one changed WF-USER password.
    also check if the WF-USER is a Service user and not dialog user.
    Regards,
    -Venkat.

  • Agent determination issue in a workflow

    Greetings everyone!
    I'm configuring some business scenario with the help of a business workflow in SAP CRM 7.0 I'm using activity step and want to determine agents using standard SAP rule 10000162 ("Employees for responsible org. unit"). I've tested the rule outside of the workflow and it's working fine, but  in workflow it fails to determine an agent.
    In a log I see following errors:
    Agent determination for step '0000000023' failed;
    Result of agent resolution does not agree with agents of task;
    I've made some tests depending on what assignment task has:
    1. When it is a general task, work item was created for a workflow initiator even though rule failed to determine an agent.
    2. When it is a task with general forwarding with assigned position(s), which rule will never determine, work item was created for holder(s) of that position(s).
    3. When it is a task with general forwarding with no assignments, workflow could not determine an agent as expected.
    I've also debugged functional module for that rule and it determines appropriate agent but then do some check with the help of RH_TASK_AGENT_CHECK function and returns an error.
    Can someone help me with this problem? Is it some standard expected behavior or not?
    Maybe something wrong with the org. plan?
    All answers are appreciated.
    Thanks in advance,
    Alex.

    Hello Rick and Eddie.
    I've tried to assign user directly instead of position to a task with no help. I get the same result.
    I've tried to set a task as a general task and made the rule to fail if there is no resolution and it fails.
    I've tried to assign position or user directly to activity in a workflow and it does work but that's not what I need in my scenario.
    As I said earlier I've tried to debug that rule invoked from a workflow. I will post some screenshots for you.
    I set a task as a general task and assigned rule 10000162 (ABBR="PARTNER_1", Name="Employees for responsible org. unit") to activity step in a workflow and here is what I get:
    1. Function CRM_ORGMAN_ORGOBJECTS_FIND_2 gets called by the rule and resp. sales org. unit is passed there ([screenshot1|http://www.picdrop.net/?v=debug1.png])
    2. Next function CRM_ORGUNIT_GETEMPLOYEES gets called passing id of a resp. sales org.unit without a type.
    3. Next RH_STRUC_GET gets called and returns result table with position and central person for that position ([screenshot2|http://www.picdrop.net/?v=debug2.png])
    4. In the end of CRM_ORGMAN_ORGOBJECTS_FIND_2 function only central person in inserted to the actor_tab ([screenshot3|http://www.picdrop.net/?v=debug3.png])
    5. After CRM_ORGMAN_ORGOBJECTS_FIND_2 ends we appear in a RH_GET_ACTORS function where we can see that agent check is performed if act_task is not initial. I assume that check is not performed if we do a simulation of a rule ([screenshot4|http://www.picdrop.net/?v=debug4.png])
    6. Then RH_TASK_AGENT_CHECK function gets called for every record in a actor_tab. In out particular case it's one record. ([screenshot5|http://www.picdrop.net/?v=debug5.png])
    7. Inside that function checks act_wi_id (activity work item id?) if it's initial and get exluded agents. It is initial in my case ([screenshot6|http://www.picdrop.net/?v=debug6.png])
    8. Then function tries to read table with keys equal to type and id of found agent and errors there, perhaps because there is no record in that table ([screenshot7|http://www.picdrop.net/?v=debug7.png])
    That error results in overall agent determination failure.
    Hope this screenshots will help to identify a problem.
    Why read table results in an error and because of that all rule fails?
    Regards,
    Alex.

  • Agent Determination - PR Item Release

    Hi All,
    I'm trying to set up standard workflow WS00000038 for purchase requisition release notifications.  I'm having a problem with determining the correct agents.  I receive the following error in the log when the workflow runs:
    Agent determination for step '0000000003' failed
    Error in resolution of rule 'AC00000148' for step '0000000003'
    I am using standard task TS00007986, and rule 00000148.  The configuration for the release procedure is complete and working.  I have maintained values for users in T16FW, and set the release codes to '1' for workflow.  When I try simulating rule 148 in PFAC, I see that it is pulling from table T161E - and the only release code maintained there is a default 01 in german.  I tried creating a custom rule that referenced T16FW, but the simulation failed for it as well.
    I am very new to workflow.  What do I need to do in order to have this event notify the correct user defined in customizing? 
    Thanks,
    J

    Hi,
    The entries in table T16FW are made via customizing for the PR release.  View V_T16FW is empty... I tried entering manually through SE16 and saving, but it would be blank if I looked at it again. 
    However, I don't know if that is the problem.  I cannot get the rule to determine an agent in PFAC.  Currently I have modified rule 00000148 to have the container ReleaseCode look at table T16FW, field FRGCO.  It is also still getting requisition from BUS2009.  When I simulate in PFAC, I cannot get an agent to be determined. 
    T16FW contains a link to usernames which are maintained.  Why is this rule not determining an agent during simulation?  
    Thanks

  • Error in resolution of rule ... for step - Agent determination for failed

    Dear Experts,
    in SRM 7.0 CS, i have come accross the following workflow error:
    I have extended my existing organizational plan for a new site (new CoCo, Plant, Purch Org and Purch Gr). But when i use my test users with this site, i receive a workflow error, that has the following wording in SWI2_DIAG:
    Error handling for work item 000000055347
    No links corresponding to the specified data could be determined
    Error in resolution of rule 'AC40000138' for step '0000000293'
    Agent determination for step '0000000293' failed
    Error during result processing of work item 000000055357
    Error when processing node '0000000293' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Error when processing node '0000000293' (ParForEach index 000000)
    Work item 000000055356: Object FLOWITEM method EXECUTE cannot be executed
    Error handling for work item 000000055355
    Can you maybe help me understand, what this error means and how to resolve it?
    Thank you very much!
    P.S. my test users work fine if i drag them to another location in my organizational plan. And also if i take other test user from locations where everything works fine and drag them to this "problem" location, than the same workflow error occures.

    Remove the user from the PPOMA node and add him again.. Sometimes this will solve the issue..
    Thanks!!
    Bharath

Maybe you are looking for

  • Duplicate check on personal id (00185)

    Hey Experts, Is there a way to activate a check in 0185 (personal id) that checks if an employee has a similar id under his 0185? example: employee 0001 has 0185 maintained with passport # 123456, we have hired employee 0002, now while creating his/h

  • I can't access "Advanced Options" in my User Account for Mac OSX

    I cannot access the "Advanced Options" menu when I right click on my user account in System Preferences.  When I right click, the option shows up, but nothing happens when I click on it.  It does allow me to access it for other users, as I am the adm

  • Portable Data Card errors in Windows 8 Pro with Windows Media Pack.

    I use MicroSD Cards for a lot of audio media for access in a Tablet, phone, miniPC and mp3/4 Players.  When I put mSDs into the PC they are not recognized by WMPlayer and therefore unavailable for sync, but if I use a usb adapter then they are***.  

  • Signed jars and HTTPS

    I'm running a web application from jetty, which involves an applet on the client-side, JSPs/servlets on the server. The applet jars needs to be signed during our build proces (by my company's keystore based on our purchased cert) but the customer wil

  • General iTunes-iPod question (double-deleting?)

    I deleted many albums from my iTunes in order to save space on my computer. As a result, those albums disappeared from my iPod. However, when I did this before, the songs were intact on my iPod. Has it always been that when you delete a song from you