Shopping Cart Workflow Problem is not able to determine agents

Hi Experts,
We are facing a problem in SRM 5.0 shopping cart workflow. Normal flow is as follows: -
Create SC > Goes for Approval to level 1 approver > Item appears in Approver's list > L1 approver approves it > Follow - on Document is created.
Currently while creating shopping cart, we are able to see name of approver in approval preview. Still that item doesn't appear in approver's list. We checked in workflow log, it is getting stuck in task which is supposed to determine next level approver.
Currently approval is done using workflow template WS14000133 and BADI BBP_WFL_APPROV_BADI. In this BADI we are able to find approver perfectly but that is not getting filled in the container of workflow. The Approver List of workflow container is appearing blank.
Any pointers to this issue will be helpful
Thanks
Siddarth

Hi Ricardo,
In BBP_WF_APPROV_BADI we have implemented Method GET_REMAING_APPROVERS. The code snippet of method is as follows: -
CALL METHOD EXITINTF->GET_REMAING_APPROVERS
  EXPORTING
    IN_UPDATE = IN_UPDATE
    DELETE_REJECTED_ITEMS = DELETE_REJECTED_ITEMS
    ITEM_DEDUCT_RESET = ITEM_DEDUCT_RESET
    ITEM_APPROVAL_HISTORY_TABLE = ITEM_APPROVAL_HISTORY_TABLE
    APPROVAL_HISTORY_TABLE = APPROVAL_HISTORY_TABLE
    ACTUAL_APPROVAL_INDEX = ACTUAL_APPROVAL_INDEX
    GUID = GUID
    OBJECT_TYPE = OBJECT_TYPE
    OBJECT_ID = OBJECT_ID
  IMPORTING
    APPROVAL_TABLE = APPROVAL_TABLE
    APPROVAL_ADMINISTRATORS = APPROVAL_ADMINISTRATORS
    ITEM_APPROVAL_TABLE = ITEM_APPROVAL_TABLE
    NO_FURTHER_APPROVAL_NEEDED = NO_FURTHER_APPROVAL_NEEDED
  CHANGING
    ITEM_APPROVAL_OBJ = ITEM_APPROVAL_OBJ.
Now can you please tell me which variable I am suppose to look at?
Thanks
Siddarth

Similar Messages

  • Wrong Agent Determination in Shopping cart Workflow

    Hi All,
    I am having problem in shopping cart workflow.
    If we create shopping cart with 15 or more line items then Approval is going to wrong line item cost object owner. However if we create shopping cart with 14 line items then it showing correct financial Approver. Even we raised one more shopping cart with value similar to 15 line items shopping cart and it also going to correct Approver.

    After 2 days of debugging i found where is the problem. I am explaing this below.
    First i created 2 Shopping cart. First one has 14 Line item which shows correct Agent.
                                                  2nd one has 15 Line item which shows wrong Agent.
            CALL METHOD l_o_pdo_sc->get_item_detail
              EXPORTING
                iv_item_guid = l_r_item_guid->guid
              IMPORTING
                et_item      = l_i_item_i
                et_account   = l_i_account_i
    *MOD-002:Begin
                et_limit     =   l_i_limit_i.
            APPEND LINES OF: l_i_limit_i TO l_i_limit.
            APPEND LINES OF: l_i_item_i TO l_i_item,
                                           l_i_account_i TO l_i_account.
    Case for First SC.
    l_i_account_i  has value of Line Items. First line item suppose 1L.
    After appending the l_i_account(2nd itab) has also first .line item 1L.
    Case for 2nd one.
    l_i_account has value of Line Items. First line item 1L.
    But after appending the l_i_account has no first line item 1L.
    Please give some solution to this problem.

  • The message cannot be seen on incoming emails.  I can only view the message if I click on reply.  Also any links attached to email will not open.  I have tried everything to solve the problem but not able to.

    A message cannot be seen on my incoming emails.  I can only view the message if I click on reply.  Also any links attached to email will not open.  I have tried everything to solve the problem but not able to.

    Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Add shopping cart item functionality is not working in PO

    Hi Experts,
    I found that Add shopping cart item functionality is not working in Purchase order.
    We are raising the Purchase order in SRM and i am trying to use the Add shopping cart item functionality to add the shopping carts line item in to purchase order.
    Once I will click on start search, it will give me a list of Approved shopping cat and when I am trying to add any shopping cart in PO line item, nothing is happening and  It is not allowing me to add the shopping cart line items in to this PO and also there is no error message.
    Please suggest us how i can fix this issue.
    Thanks in advance.

    HI,
    If the shopping cart's have same vendor and company code, then only we can club the shopping carts
    in to single PO.
    Please go throught it
    http://help.sap.com/saphelp_srm40/helpdata/en/38/4cc5376848616ae10000009b38f889/frameset.htm

  • Not able to determine NonStock Material In DP80

    Dear Expert,
    I have maintained In Service Order one Non-stock Text material.
    Accordingly I have also made DIP customizing.Also maintained  sets as required.But not able to determine material in Quotation request. Earlier it used to happen but since last week it has stopped coming.
    Customizing is same as it was earlier.Please help.

    Cross check your cost element given in order & DIP profile in Material determination.

  • Not able to determine the Approvers properly due to data in Approval Master

    Hi All,
    Not able to determine the Approvers properly due to data in Approval master Master table error. This was affected my approval flow. plz help to resolve this.
    Thank you.
    Edited by: ganeshsrm11 on Apr 13, 2010 6:48 AM

    Hi,
    Which table are you talking about? Do you have technical table name? If it is custom table you need to fix your custom program code.
    Regards,
    Masa

  • Shopping Cart Workflow - "Wait for change event" not firing?

    Hi there,
    I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
    Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
    I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
    When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
    We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
    Any ideas what would cause the "change event" not to fire?
    Thanks for the help
    Lynton

    Hey Masa,
    You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
    4     "High" (workflow is never restarted when changes are made)
    3     "Medium" (WF restarted conditionally when changes are made)
    2     "Low" (workflow is always restarted when changes are made)
    1     "None" (changes to the object are not allowed)
    0     "Not defined"
    Thanks for the help
    Lynton

  • Use HR Structure for Agent Determination in Shopping Cart Workflow SRM7.0

    We are implementing a Shopping Cart Approval Workflow in SRM 7.0. The process is that the Requester creates a Shopping Cart and an approval process will take effect.
    The approvers will come from an HR structure wherein the direct superior (or supervisor) is the first approver. The second approver is the direct superior of the first approver; and so on, until the Shopping Cart is approved. A maximum of 7 approvals can be done in a Shopping Cart document.
    I would like to ask the following:
    1. How can I achieve this in our WF? I tried to implement BADI /SAPSRM/BD_WF_RESP_RESOLVER but I was not able to activate it (there are other active implementations for this in Shopping Cart).
    2. If there are other suggestions on how to accomplish this, please let me know.
    Thanks in advance for your help.

    Thanks Masa.
    We created 2 custom expression for our requirement and copied FM /SAPSRM/WF_BRF_0EXP001 to put values on those expressions. Then, on our BRF we compared these 2 expressions. After putting the Eval. ID on the process level configurations, we were able to see in SLG1 that the fields are populated correctly. However, we just put constant values on the custom expressions so we can proceed with testing.
    There is one problem in terms of populating the other custom expression. This expression is for the Level of the Manager. I understand that this custom expression is populated before RR_MANAGER_OF_MANAGER. I would like to understand how to get the next approver in the copy of FM /SAPSRM/WF_BRF_0EXP001. In this way, I can get the Manager Level from table HRP5581 and use this to compare with the Release Strategy. If this will not work, is there a way to get the work item ID for the WF so I could get the previous approver then get the superior of the that previous approver and then get the Manager Level from there?
    Currently, only the GUID and Object Type is populated in the FM. Can I reuse some of the fields from other expressions so I can achieve my requirement?
    Thank you very much for your help.

  • Shopping Cart Approval Problem

    Hi.
    I have a shopping cart which is going through the loop to the approvers.
    As per the conditinos, it needs to go to only 2 approvers.
    after the 2nd approver approved it , it going back to the 1st approver again.
    now 2 approvers approved twice but again it is going back to the first approver.
    What could be the problem and where to check for this error and the solution.
    -erpMAN-

    Hi,
    Which SRM version are you working on??
    See if the foll  note   applies for your system which may help to solve your problem
    OSS note 896556
    See also the foll related threads for more hints:
    Re: ADMINISTRATOR_APPROVAL parameter in n-step approval badi
    chaging description by the approver causes worng behaviour of workflow
    BR,
    Disha.
    Do reward points for  useful answers.

  • Moving the Shopping Cart workflow forward in a approver Rejects a line item

    Hi Friends,
       We a facing an issue while Shopping Cart Approval process.
    We have designed our SC Workflow , with Schema and 4 Process levels. Currently the Approvals are happening fine.
    Issue is happening when a Line Item is Rejected by a Single Approver. The Approval process does not move forward.
    We need need to move the SC process forward.
    Ex: SC: 1000000032
    Approval Flow:
    ITEM1:  APP01 -> APP02
    ITEM2:  APP05 -> APP07
    Scenario:01 :
    Once APP01 & APP05 approves in first level.  Then APP02 & APP07 approves . Then the process completes.
    Scenario:02:
    Once APP01 Rejects & APP05 Approves in first level. Then the SC WF does not move forward.
    How can I move the WF process forward once a approver rejects.
    Need your inputs.
    Regards,
    Jagan

    Hello Markus,
    what you describe does not correspond to condition standard determination to know if decision has to be checked or not.
    Indeed, this evaluation is done by /SAPSRM/IF_WF_PROCESS_SBWF~IS_DECISION_ACCEPT_REQUIRED method from /SAPSRM/CL_WF_PROCESS_SBWF class.
    Inside this method, the default behavior is based on decision of current process level:
    - If it is not "rejected" or not "approved" (this means, if it is "inquired"), there is an interaction
    - else, there is no interaction.
    Then, for "rejected" or "approved" decision, a Business Rule evaluation is done in order to check if the document responsible need to accept the current decision.
    If evaluation ID is true, acceptance by Contact Person is required.
    I am currently not able to check workflow behaviour for partial rejection when no acceptance by contact person is customized.
    I will see this next week.
    Regards.
    Laurent.

  • AD-hoc approver n step item level shopping cart workflow

    Hi
    We are on latest version of SRM and using n step item level SC approval workflow.
    The scenario goes like this:
    -     Requester creates shopping cart and workflow goes for two step approval.
    -     In the approval preview the requester is able to see both levels of approvers, which is correct.
    -     Requester now selects second level approver and replaces him with a ad-hoc approver. WE DO NOT WANT THIS.  Requester should NOT be able to replace an approver determined by approval badi. However should be able to extend approval step with ad-hoc approver say third level approver a ad-hoc approver. Also he should be able to change AD-HOC approvers ONLY.
    Thanks
    Joe

    Jo,
      You may be able to achieve it in the BADI BBP_WFL_SECUR_BADI .
    You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
    A shopping cart can be changed during the approval process
    The approval workflow restarts when changes are made to the document
    A reviewer/approver can be added or changedThese are the call scenarios (see import parameter SCENARIO).
    Regards,
    Suren

  • Shopping cart connection problems (5002)

    "We could not complete your iTunes Store request.
    An unknown error occured (5002).
    There was an error in the iTunes Store. Please try again later."
    every time i try to access my iTunes shopping cart, i get that message. i have no problem with the iTunes store itself, just the shopping cart. i did the Keychain First Aid, and thats not the problem. i just want to know if anyone else who recently downloaded iTunes 8.1.1 is having the same issue. if you know how to fix it, that would be awesome advice too. i even tried re-installing 8.1.1 but it didn't help.

    Hi everyone,
    I had this problem as well today. I managed to fix the issue this way:
    Go into the iTunes preferences and change the store preference from "buy using a shopping cart" to "buy and download using 1-click". Ok the change and then close iTunes. You need to close down iTunes or this fix will not work. Now re-open iTunes and you should be able to purchase from the store without the 5002 error. Well .. it worked for me at least. Good luck everybody!

  • Unable to create shopping cart - Jurisdiction code could not be determined

    Hi,
    I've found several threads here asking about tax jurisdiction code but none of them seem to solve my problem.
    When we create shopping carts for our north american back end R/3 system we cannot save them because of an error with the jurisdiction code "Jurisdiction code could not be determined ".  Our ship-to address is correctly maintained with the city, country, post code, etc.  I have tried maintaining the jurisdiction code on our organisational business partner but this makes no difference.  For info, we use Taxware to create the jurisdiction code in the back end.
    We looked at applying oss note 436760 but apparently this note is only valid for SAP Basis Component 4.6 and 6.1 but we are on 7.00.  Do you think it is necessary for us to implement a BADI?
    Thanks in advance for any help.
    Roo

    Hi All,
    Please see my answer to similar concern raised in the thread:
    [BAdI BBP_CATALOG_TRANSFER - Material Group Mapping issue;
    Your question is that initially it was working with Jurisdiction code and now not? Why?
    Because, the backend system is either connected to the third party Tax engine such as Taxware, and doing so, some of the addresses (Country, Region, City and Pin Code combination) may have more than one Jurisdiction code, in such cases, SRM gets confused of which code to select, and hence the error.
    Use the BAdI and get going!
    Thanks for reading!
    Ashok Kawa

  • Not able to display shopping baskets....not able to access punchout catalogs

    Hi,
    we are in SRM 7.0  extended classic and using portal as UI.
    1.I'm able to create shopping cart but not able to display the same,when clicked on display nothing is displayed.
      other buttons are working fine like Preview
    2.When clicked on the Punch out catalog it does not take to the catalog or does not give any error just nothing happens, checked the call structure
       everything seems to be correct.
    could you please guide how to rectify this issue.
    Thanks & Regards
    Venu

    Hello,
    This is probably related to IE settings.
    Read and apply changes recommended in note 1511147 and retest the scenario.
    Regards,
    Ricardo

  • Shopping Cart workflow retrigger for changes done to SC already created

    Hi all,
    A shopping cart is created and later on in "Check Status" when the shopping cart is opened in change mode and any changes are made to the shopping cart either header or item level, the whole approval workflow is retriggered and the approvers are determined again.
    We have a scenario where for a particular account assignment category the approvers are added manually - ad hoc approvers through the "Add Approver" in "Approval Preview". For these shopping carts with manual approvers when in "Check Status" any changes are done to header or items of the shopping cart, the whole approval workflow is retriggered and the manual approvers previously added are refreshed as per standard SAP.
    I have to put a check in DOC_CHECK badi for the existence of approvers. If no approvers found an error message has to be thrown for adding the approvers manually. I am doing this by reading the approvers from the container for a cart created already. But when changes are made and the workflow is retriggered, the workflow container contains only the previous approvers and not the refreshed ones. So this is not captured in DOC_CHECK badi.
    Is there any way to capture the retriggering of workflow in DOC_CHECK badi, so that the check for approvers works fine even after a change being done to a shopping cart which is already created.
    Thanks and Regards,
    Asha

    Try this FM BBP_PDH_WFL_APPROVAL_SIMULATE
    Regards, IA

Maybe you are looking for