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

Similar Messages

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

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

  • Is there a difference for user agent string for firefox desktop & firefox mobile?

    Is there a difference for user agent string for firefox desktop & firefox mobile?

    Yes. All versions of mobile Firefox have "Fennec" in the useragent string. For example:
    Mozilla/5.0 (Android; Linux armv7l; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Fennec/2.0.1
    For more details and examples, please see this article:
    http://hacks.mozilla.org/2010/09/final-user-agent-string-for-firefox-4/

  • 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 Service Entry (BO-BUS2091)

    HI,
    I am new to workflow and facing below issue.
    I have created a workflow for Service entry sheet approval (BO- BUS2901) and I am having an issue with the agent determination. I am using my own Ztable to determine the possible agents.
    I am using the following code in the FM of the rule I created for determining the agent:
    FUNCTION ZME_SRV_REL_GET_RESPONSIBLE.
    *"*"Local Interface:
    *"  TABLES
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
    INCLUDE <cntain>.
    TABLES: essr_rel, essr,zmm_service_mail.
    DATA: object TYPE swc_object.
    DATA: BEGIN OF essrkey,
    lblni LIKE essr-lblni,
    END OF essrkey.
    DATA: verak_user TYPE csks-verak_user.
    REFRESH actor_tab.
    CLEAR actor_tab.
    swc_get_element ac_container 'service' object.
    if sy-subrc eq space.
    essrkey-lblni = object-objkey(10).
    select single * from essr where lblni = essrkey-lblni.
    select single * from zmm_service_mail
    where frggr = essr-frggr
    and frgsx = essr-frgsx.
    if essr-frgzu eq ' '.
    verak_user = zmm_service_mail-pernr1.
    elseif essr-frgzu eq 'x'.
    verak_user = zmm_service_mail-pernr2.
    endif.
    actor_tab-otype = 'us'.
    actor_tab-objid = verak_user.
    append actor_tab.
    endif.
    ENDFUNCTION.
    When I debug, sy-subrc = 8 at swc_get_element ac_container 'service' object.
    What could be the problem?
    Note- I have gone thru below thread but still I am unable to find the error.
    http://scn.sap.com/thread/2017416

    Hi,
    You should re-read the thread that you quoted above. The mighty Sue Keohan suggested a solution.
    Instead of trying to pass a service *object*, and then extracting the key, you can just pass the key itself.  It has type EESSR-LBLN1.
    swc_get_element ac_container 'service_key' lv_service_key.
    if sy-subrc eq 0.
      essrkey-lblni = lv_service_key.
    (etc)
    cheers
    Paul

  • Agent determination for workflow

    Hi everyone,
    I have a classic issue: I'm trying to assign a workflow task to an agent. The agent should be determined from the container element "APPROVER". In the task I've entered the expression &APPROVER&; however, I'm receiving error "Agent determintaion for step 4 failed..." "Result of agent determination does not agree with agents of task". And, yes, I've made sure the APPROVER element is of type Import and has a proper value.
    I don't get this; I thought setting the agent to the value of the container element should do the job? After all, the container element "APPROVER" comes up in the F4 search help under the Decision tab of the task... what's wrong here?
    The WF works fine if I set the "WF_Initiator" as the agent, however. But, this is a bit limiting in the long run...
    Regards,
    Trond

    Hi Ravi,
    this is what I actually did... but I found another post, with a reply from Ramki Maley, advising me to make the APPROVER of type SWHACTOR. That helped!
    Thanks anyway,
    Trond

  • 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

  • Agent Determination for Service Entry

    Hi Guys,
    I created a workflow based on BO BUS2901 to send approval notification to an approver and I am having an issue with the agent determination. I am using the cost centre owner from the PR associated with the PO for the service entry as the approver.
    I am using the following code in the FM of the rule I created for determining the agent:
    FUNCTION ZME_REL_GET_RESPONSIBLE.
    *"*"Local Interface:
    *"  TABLES
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
      INCLUDE <cntain>.
      TABLES: eban, essr_rel, essr, ekpo, ebkn, csks.
      DATA: object TYPE swc_object.
      DATA: BEGIN OF essrkey,
               lblni LIKE essr-lblni,
               ebeln LIKE essr-ebeln,
            END OF essrkey.
      DATA: verak_user TYPE csks-verak_user, kostl TYPE ebkn-kostl.
      REFRESH actor_tab.
      CLEAR actor_tab.
      swc_get_element ac_container 'ServiceEntry' object.
      IF sy-subrc EQ space.
        essrkey-lblni = object-objkey(10).
        essrkey-ebeln = object-objkey+10(10).
          select * from ekpo where ebeln = essrkey-ebeln.
            select single * from ebkn where banfn = ekpo-banfn.
              kostl = ebkn-kostl.
          endselect.
        select * from csks where kostl = kostl.
          verak_user = csks-verak_user.
        endselect.
        actor_tab-otype = 'US'.
        actor_tab-objid = verak_user.
        APPEND actor_tab.
      endif.
    ENDFUNCTION.
    When I debug, sy-subrc = 8 at swc_get_element ac_container 'ServiceEntry' object.
    What could be the problem?
    Thanks
    Regards

    Hi Sarvesh, T
    This thread was already answered some time ago.  Please open a new Discussion marked as a question.  If the thread you originally posted to has material related to your question, include a link.  Your content is attached below to make it easy for you to simply paste it into the new Discussion.  It is recommended to read the Rules of Engagement and other documents in the Getting Started link at the top right.   If you have any questions, feel free to respond to this DM (Direct Message) and I will be happy to try to assist.
    Rgds,
    Jocelyn (SCN moderator)

  • Agent determination for another task

    Hi Experts,
        I have assigned agent as US for a task. One custom FM is called for an approval screen and that FM is called from the method . That method is assigned to that task. The approval screen should have the approver name.
        How to pass the agent assigned for the task to the FM assigned in the method.
    Reagrds
    Sathish

    hi,
    plese find my sugestion.
    1. In any of the previous steps, find the approver name.Pass that approver name from the 'METHOD' to TASK container.from TASK Container to the WORKFLOW Container
    2. Then in the current step, Bind the 'APPROVER_NAME' to the TASK, and then to the 'METHOD'.
    3. now u can use the APPROVER_NAME inside the method.
    hope u r clear, if not pls lets know.
    Regards
    Anversha

  • Agent determination for SRM WF

    Hi All,
    I have developed a custom WF i.e. copy of 2 step Invoice approval WF.
    For agent determination, I have put in logic for Adhoc agent, which is working fine.
    My query is that I can have multiple agents for a particular step, which I am able to see when referring to approval preview.
    However when i try to change one of the entries for agent , system replaces <i>all entries</i> with changed entry for an agent.It does not change the one particular agent out of these multiple agents.
    Wanted to know is it the std behaviour that at the time of changing the agent, evenif we have multiple agents , it will be chaged to only one agent - which is being replaced ?
    Awaiting your inputs.
    Regds,
    Akshay

    Hello Abraham,
    To understand what's happened, you will need to debug /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP and /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID methods from /SAPSRM/CL_IM_WF_RR_PGRP_SC implementing class (interface for BAdI definition /SAPSRM/BD_WF_RESP_RESOLVER from enhancement spot /SAPSRM/BD_WF_AGENTS )
    If mapping between area and item is correct, see why purchasers from purchasing group(s) are not correctly found by debbuging /SAPSRM/IF_WF_AREA~GET_RESPONSIBLE_APPROVERS method from implementation /SAPSRM/CL_WF_AREA_PURCH_GRP.
    Regards.
    Laurent.

  • ( error no CK 465)  No price could be determined for the material

    Hi,
    While costing for a material i am getting the error messages as folloows
    1) No price could be determined for the material   error no CK 465
    2)Cost component split costed with value of zero  CK240
    Materail procurement type is F - External procurement  so i hope no need BOM and routing , they were not created.
    Material has price control indicator - S
    Material type - ZVAR (Finished product variant)
              What could be the reason for this error and what is the solution
    THannks & regds
    Ramachandra

    Hi Experts,
    I also got the same error how to solve it.
    Many materials costed with errors how to resolve those.
    Error Messages are: 465,240,322,597,168
    Please let me know the solution.
    I have Run the cycle on 29-02-2012, Today i.e 0n 01-03-2012 MM consultant wants to close the period of February.
    Is it required to resolve the errors before closing the february period?
    Can we resolve the errors after closure of the period.
    Please guide me. Most urgent
    Jyoshna

  • Agent determination getting failed for one particular scenerio

    Hi,
    I am working on production workflow issue. Production system is cluster of hospitals for HR system. Staff applies leave from hospital A by keeping approver from hospital B. Workflow is triggering. The problem is work item is not getting placed in Approver inbox.
    So when work item is not placed in approver inbox, We have done following things.
    <li> We have run transaction SWI1_RULE to fix missing agent. This can be used to re-trigger complex user determination.
      After running the t.code, Work item was placed in approver inbox.
    But Staff complained again when he got same problem next time when leave was applied.
    <li> This time we have run transactions SWU_OBUF to refresh workflow buffer(Suggested in forum) and  SWI1_RULE to fix missing agent. After running these t.codes, Work item was placed in approver inbox.
    But Staff complained again when he got same problem next time when leave was applied. We died this time.
    Could you please tell me what kind of R&D we need to do ? By the way, this is customized Leave workflow.
    Thanks
    Venkat.O

    Hello,
    Okay, that's your problem. FInd out how the agents are determined. Look at the inputs to the rule or method and find out where it's going wrong. How are they determined?
    I don't understand how SWI1_RULE seems to fix this.
    regards
    Rick Bakker
    hanabi technology

  • User exit for workflow WS20000075  agent determination for PO

    Hi,
    I have requirement to determine agents for workflow WS20000075 for PO from Ztable entry.  Is that customer exit EXIT_SAPLEBNF_005 will work ?

    Hi ,
    Try assigning a new Agent Rule in the Task TS20000166.
    You will have to create a custom rule using transaction PFAC. Choose option "F - Agent dertermination function to be executed" and assign a new Z function module which will determine your agent.
    You can refer to function module ME_REL_GET_RESPONSIBLE while creating your own function module.
    Cheers!!!
    Gautam

  • Agent determination for RFQ

    Hi All,
    My requirement is like this.
    When an RFQ is created in ME41, the workflow has to trigger and based upon some conditions, i have to find the approver from a ztable.
    When i create a RFQ the workflow is getting triggered and my flow is going good, but my issue is at the point of release.
    Issue
    When the approver receives the workitem, he can make any one this discission 1. Release 2. Reject
    When the approver goes for Release option, i am calling the method "SingleRelease" of the business object BUS2010, and i am assinging the agent as an expression in the activity creation screen of SWDD.
    But when i checked the log it says "No selected agents". I don't why it happens like this, and how to correct it. Kindly help me to solve it. So that i can learn.
    Thanks and Regards
    Balaji K.

    HI,
    As IA was mentioning, pl check if you have the task as either "general task" or maintaining possible agents.
    THis is a typical error. Sometimes, during transport, the agent assignment is lost in the target system. Look into OOCR txn or do it manually in the target system(you don't need to be in the Change mode of SWDD or PFTC to kinda..activate the linkage of this agent assignment to the task).
    Hope this helps
    venu

Maybe you are looking for