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.

Similar Messages

  • BAPI_SCEC_CREATE - how to get the shopping cart to go to our workflow

    Dear experts,
    When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this? I saw threads on similar question but there's no solution. It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP. I've tried executing BAPI_SCEC_CREATE followed by BAPI_TRANSACTION_COMMIT and then BBP_PDIGP_DB_DIRECT_UPDATE to reset the SOURCE_REL_IND. However, it didn't work.
    Does anyone know how to get the shopping cart created by BAPI_SCEC_CREATE to go to a workflow?
    Thanks,
    Lara

    Hello Lara,
    When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this?
    Have a look at SRM article below:
    [Enable SRM Workflow for External Purchase Requisitions|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5082a622-7310-2c10-1a9b-ef31dd69a770]
    It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP.
    Check your customizing:
    (in SRM 7.0) SAP Supplier Relationship Management > SRM Server > Sourcing > Define Sourcing for Product Categories
    Depending on product category you used when creating your SC, its items are relevant or not for Sourcing.
    Regards.
    Laurent.

  • Which table holds the Shopping Cart Approval Manager Name

    Can any one  please let me know which table holds the Approving Manger Name. Please find the scenario below.
    Employee creates the Shopping  Cart and forward the SC for Approval to Approval Manger. But approval manager will take some time to approve the shopping cart. I need to extract the approving manager's name who has still not approved the shopping cart into SAP BW.
    Thanks in Advance.
    Regards
    Venkata Agraharam.

    Hi,
    This is not answer. Just feedback from my project experience.
    I know some customer developed this kind of report which shows approver but they used the report only the first 1 month after go live. Approval monitoring was fun but you need someone who monitor it. Finally they realized high monitoring admin cost. Final solution was Alert Notification with BBP_ALERTING BADI which sends email to approver and admin when deadline is reached.
    Regards,
    Masa

  • Add an approval to shopping cart whose status is awaiting approval SRM7.0

    Hi All,
    In one of my requirements i need to add an approver to a shopping cart which is on status awaiting approval programmatically in SRM7.0.
    1. Is it possible to add an aprrover to shopping cart whose status is awaiting approval programmatically.
    2. If yes, please guide me the steps or classes and methods are used to do this.
    Thanks in Advance.
    Best Regards,
    Krishna

    Hi Saravanan,
    I am sorry for delayed response..
    Requiremnet:
    Need to add approvers manually to the shopping cart which is on awaiting approval status.
    The code flow follows as below:
    1. as the workflow already started for this shopping cart so we have interrupted the shopping cart with belwo method
              CALL METHOD /sapsrm/cl_wf_adv_facade=>interrupt_process
                EXPORTING
                  iv_document_guid = lv_new_guid ( shopping cart guid)
    2. instantiated the object for the class /sapsrn/cl_pdo_bo_sc_adv, to its constructor i have passed values work item id generated in above process.
    3. added an approver manually to shopping cart using method of above said class /sapsrm/if_pdo_do_apv_ext~add_approver.
    4. if i skip the execution of method  /sapsrm/if_pdo_bo_sc~order, i am able see all the approvers added manually but the status is "In your Inbox"
    5. if i execute the above said order method, all the approvers added manually are lost.
    Question:
    1. Please suggest me the sequence of methods called are correct?
    2. As per my understanding complete workflow is restarting, so it is losing all the manual approvers if i am wrong suggest me,  Is it not possible to have previously added manually added approvers even after ordering the cart?

  • Workflow goes in error when the shopping cart is rejected

    Hi All,
    We have implemented n step approval workflow.
    The issue is when the shopping cart gets rejected, the workflow WS14900032 gets called which sends the mail to approver/initiator/reviewer.
    The catch here is this workflow is going in error only in case of approvers and that too sometimes.
    Can anybody tell me what might be the issue with this.  I have already compared the correct and errored workflow data but do not find anything specific.
    Please help.
    Regards,
    Neha

    Hi,
    What was the error detail in SWI2_DIAG transaction?
    Regards,
    Masa

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

  • Work flow not created for the Shopping Cart

    Hi one of the customers created a shopping cart,in approval overview it is showing as no need of approvals,but the status of approval is 'awaiting approval', but workflow is not created for the Shopping cart. advised to re-order in change mode but still no use. please advise.

    Hi,
      what do you see in SLG1? Check the below t.codes
    SM58 - check for stuck remote function calls
    ST22 - check for system dumps
    SM13 - check for stuck update requests
    SM21 - check in the system log for anything unusual
    SWUD - run a consistency check on the workflow
    Saravanan

  • Approver For the shopping cart

    Hi,
       Which table brings out Approver for Shopping cart.Any suggestions.Thanks.

    Hi,
    It is possible to find the details from the workflow , you can find all the workitem ids linked to the document.
    For this ,
    a) start transaction 'SWI6'.
    b) use object type 'BUS2121' , enter the shopping cart number for the object id , then execute.
    Then System will return the workflow log , from the container definition of the workflow log , you can find the involved approvers , workitem id etc.
    2) Also you can use BBP_PDH_WFL_WI_FROM_OBJECT_GET with
    - iv_object_id = SC ID
    - iv_object_type = BUS2121
    Then, you can then use SRM_WAPI_WORKFLOW_GETDETAIL to get WI details.
    See related links ->
    <b>Re: Approving agents of an item in SC ?</b>
    Re: Link SC to Work Item
    Re: SRM tables for Approvals Items
    Re: Approving agents of an item in SC ?
    SWW_WI_TO_OBJECT_FIND
    Re: WorkItem ID- Object ID
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • 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

  • 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

  • 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

  • Free Text Shopping cart WorkFlow

    Hi,
    I have to know if a shopping cart was created from a Free text item or from catalog before the WF starts (in a check funtion module).
    Is there any way to know if the shopping cart was created from free text or catalog?
    Thanks

    Hi,
    As per my understanding, you want to make decision, if it is Free text you need to start one work flow, else another workflow.
    This check you can do it in Starting conditions of the workflow. SWB_COND (Transaction).
    Go to SWB_COND, choose business object BUS2121, it will display all work flows which are event linkage activated.
    Now go to specific workflow which you need to start if it is Free text Shopping cart, if the condition is true workflow will start.
    If starting conditions are complex, suggest you to create new attribute and use the same in starting conditions.
    Hope this will be helpful, all the best.
    Regards,
    Mohan Vamsi

  • Change Shopping Cart Workflow

    Trying to figure out a way to route the shopping cart back to the requestor at all points during the approval process. There are customizations made to the workflow such as a finance reviewer, a commodity approver, manager (org hierarchy) and a financial approver (for $50K+). Client wants shopping cart to come back to approver at any point. Any suggestions?
    Thanks in advance.

    Basically, what we want to do is to route the shopping cart back to the requestor at any point in the approval process. Commodity Approval is based on material group, Manager Approval is based on shopping cart amount and org hierarchy, CFO approval is based on shopping cart amounts over $500k.Approval amounts are nased on a Z-Table. Using workflow WS14000133 n-step approval of shopping cart (BADI)
    Thanks for the response so far! Let me know if you need any additional info MJ!

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

  • Items in the shopping cart appear with different price than in the catalog

    Hi All,
    We are running SRM 5.0 (Classic Scenario) with external catalogues.
    After selecting items from the external catalogue and transferring them to the shopping cart, the items appear with different price(the problem exists in the productive system)
    The strange thing is that there is no dependence or sequence between the differences. For example, in one shopping cart, one item is with correct price, the price of the other item is not correct (when I click on the icon which is  showing item details in the catalogue, the price is different than the one in the shopping cart). Sometimes the difference is significant, sometimes not - if the item price in the catalogue is 22.34 EUR, in the shopping cart is 21.22EUR or if the item is 45.62EUR in the shopping cart is 45.60 EUR. There is no logic.
    I tried to create a shopping cart in the support system, with the same items from this catalogue, and they are sent back in SRM with the correct prices.
    I traced all OCI parameters, sent from the supplier catalogue, and everything is correct.
    At the example given below the price in the shopping cart ordered in the productive system is 69.00CZK, and after that during the test the correct price of 73.870CZK has appeared.
    NEW_ITEM-DESCRIPTION==Durable-KeyClip-keytag%2C+black
    NEW_ITEM-MATNR==
    NEW_ITEM-MATGROUP==
    NEW_ITEM-QUANTITY==10
    NEW_ITEM-UNIT==EA
    NEW_ITEM-PRICE==73.870
    NEW_ITEM-PRICEUNIT==1
    NEW_ITEM-CURRENCY==CZK
    NEW_ITEM-NEW_ITEM-LEADTIME==1
    NEW_ITEM-VENDOR==
    NEW_ITEM-VENDORMAT==0176%2F1957001
    NEW_ITEM-MANUFACTCODE==
    NEW_ITEM-MANUFACTMAT==
    NEW_ITEM-CONTRACT==
    NEW_ITEM-CONTRACT_ITEM==
    NEW_ITEM-SERVICE==
    NEW_ITEM-EXT_QUOTE_ID==
    NEW_ITEM-EXT_QUOTE_ITEM==
    NEW_ITEM-EXT_PRODUCT_ID==23109
    NEW_ITEM-EXT_SCHEMA_TYPE==UNSPSC
    NEW_ITEM-EXT_CATEGORY_ID==55121504
    NEW_ITEM-LONGTEXT_1%3A132==Durable-KeyClip%0D%0Akeytag%2Cblack%0D%0A%0D%0A6pc
    I checked the error log in SLG1 for BBP_OCI, and no error message exists. In my opinion the problem can be in supplier system, because otherwise all items will be with wrong price. And at the moment, there are shopping carts in which all items are with the correct price!
    It is not something in the user profile, because in one shopping cart created by one user some items are correct, some of them not.
    I also checked with the supplier,  they said that they haven't change the price, recently.
    Has somebody of you met this problem?
    In the IMG-> Define External Web Services (Catalogs, Vendor Lists etc.) I have set all parameters for the standard call structure: the URL of the supplier, our company ID and password for their catalogue.
    In the Detail view for the catalogue, the following parameters are set
    u201CAdditional functions in the product catalogueu201D field:
    -     Display product data again in the catalogue
    -     Validate product data from SAP Enterprise Buyer
    -     Find supply sources
    u201CTechnical Settingsu201D field
    - Use Error Log
    Thanks,
    Desi

    That means that we are not maintaining material numbers in SRM, so there are no predefined price or info records for that materials in R/3 system, or in SRM.
    In the set up of external catalogues, validation of the price is set. Which means that, if a new shopping cart is created from already existing one, and meanwhile, a change of the price is done by the supplier in the catalogue, the new item price will be adopted in the shopping cart.
    No prices are maintained in the SRM system, everything is from the supplier catalogue.
    Desi

Maybe you are looking for

  • How to display a help page as part of a extension

    Jdev team, Any extension developer, I am in the process of building an extension for JDev 10.1.3. I have seen showdialog extension sdk samples project, that has some code for displaying help but it doesn't work if I deploy. Can anyone let me know the

  • Consignment Vendor Invoice Amount Adjustment

    Dear All, Normally in SAP, The vendor invoices for consignment in purchasing is posted from MRKO. There is no invoice posting from MIRO. In MRKO, after entering the selection details, we choose SETTLE for processing type, then we run it and vendor in

  • Vendor data transaction code

    Hi all, Please write me the transaction code to get the vendor data. Thanks.

  • App-V v5 without SQL

    App-V v5 without SQL, is it possible? Cant afford a SQL server :)

  • Can't save library error -54

    This error has just started to pop up all the time. What library is it referring to? Where is it stored? In my iTunes folder I see both iTunes Library.itl and iTunes Library.xml. Also under file menu I see Library export, so I quickly exported the fi