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

Similar Messages

  • 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

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

  • 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

  • Shopping cart is awaiting for approval even it does not need

    Hello friends,
    I am doing configuration to srm 5.0 .
    my shopping cart is waiting for approval even it doesnot need approval.
    Even when i create direct material purchase order the PO is going to approval.
    i have clearly defined the start conditions.
    what could be the possible reasons for this situation.
    Thank you in advance for your valuble suggestions.
    with regards,
    mahesh

    Hello Yann,
    I am using simple starting conditions based on price less than 1000 euros.
    I have done the same configuration to SRM 4.0 also based on prices.
    I have activated workflows for shopping cart
    1.with out approval
    2.one step approval
    I have followed the configuration document carefully.
    Could you suggest what could be possible other reason.
    with regards,
    mahesh madasu

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

  • Your shopping cart's contents have changed

    Everytime I try an purchase songs in my shopping cart I get the message "Your shopping cart's contents have changed - Either the prices or some of the items have changed, or items have been added or removed from another computer. Please review your shopping cart and click buy now"
    I then press refresh, then buy now, and it all starts from the beginning again with the error message.
    I have tries removing all items from my cart, restarting itunes, then putting a different song in, and I still get this message.
    I guess I will just have to by my music from elsewhere, as Itunes does not wish me to buy it from them?

    I have been having the exact same problem for several days now - ever since I upgraded to 7.3.1. I get the same message about the cart's contents changing, and I've tried emptying the cart and adding everything again. I've also tried changing my preferences to "buy using 1-click" and back again. I only use one computer for all my purchasing/playing. Finally emailed Apple about it and quoted the error message, but I have yet to hear anything. I was just glad to finally find another person with this same problem! The only thing I can think is that the program is getting confused because of the price difference for the enhanced iTunes Plus content, but I've never enabled that option and I'm just using the .99 versions.
    Anyway, I'm in the same boat! I'll post again if I get an answer from Apple on this. Somehow I get the feeling that they've got their hands full with all the other errors that came with the 7.3.1 update...stupid iPhone is ruining everything!
    1.67 GHz PowerPC G4   Mac OS X (10.4.10)  
    <span

  • Shopping Cart workflow error

    Hi,
    We have just started with the setting up of the SRM 5.0 system. Scenario is Classic. we have activated the Shopping Cart without approval WF, however, when a SHC is created the system shows the status of SHC in Approval. Dont know what i have missed.
    Full points will be awarded.
    Thanks in advance,
    Amit

    Hi,
    Sorry guys, i guess this was a false alarm. I had not completed the settings for SWU3. Issue seems to be resolved.
    Thanks
    Amit

  • "Your Shopping Cart's Contents Have Changed" and unable to buy

    I'm having a similar problem to what others have reported, but with a symptom I haven't seen mentioned. When I attempt to purchase the albums in the cart an alert is raised saying that, "Your Shopping Cart's Contents Have Changed". My cart isn't being updated from another computer, I can assure you.
    I deleted all items from the cart and readded them. That didn't help.
    I've successfully bought a lot of music through iTMS but over the last couple of days this problem has appeared. Very annoying.

    It may be that Apple is in discussions with that label/artist in about use. If that is the case one of the songs or the whole cd is not purchaseable but still listed in iTMS. I had it happen with me.

  • Workflow retrigger for shopping cart

    Hi All,
    What is the procedure to retrigger workflow manually for shopping cart?and what the precautuions to be taken when retriggering workflow for SC.
    Thank you
    Regards,
    Yshu

    Hi,
    What is your business scenario, you can trigger the workflow again when you change the shopping cart once it is created.
    This can be:
    1) When users create a shop, hold and then on a later date they want to change the shop and complete the action.
    2) When the shopping cart is created always the employees need to have the change functionality till the approval takes place for that particular shopping cart.
    This can be achieved by using the different parameters in the BBP_WFL_SECURITY in the Personalization tab in the SU01 , Personalization Object Key and the authorization level 0,1,2,3,4
    Best regards,
    Sridhar

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

  • 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

  • How to get the old shopping cart detail if I change the Business partner.

    Hi all ,
    Can any one help me in below describe query?
    Scenario:
    User was getting the error regarding business partner while shopping.
    So I repair the user from BBP_CHECK_USERS.
    Now definitly its business partner has changed.User can also shop.
    But the problem lies is he has lost his all the old shopping cart which was related to old business partner.
    Can any one tell me how to get those detail of the old shopping cart which was related to old business partner?

    Hi
    <b>Which SRM version are you using ?</b>
    <u>Please check out the links/pointers -></u>
    Moving workitems between SRM inboxes
    Re: How to re-instate the deleted Position of the user into Org structure.
    Re: Position Deleted for an User, created a new userid; Confirmation Issues
    Re: Need help to "access" deleted users's inbox & reassign work items
    Re: How to delete a user in the Organizational structure
    Re: Transfer of open POs or SCs?
    <b>Hope this will definitely help.</b>
    Do let me know.
    Regards
    - Atul

  • Shopping Cart - Default Setting for Items

    Since the default setting for items requires user to enter the default values on each shopping cart creation. We would like to use the BADI BBP_DOC_CHANGE_BADI to set a default value, so that user would not have to entry it over and over.
    After I check the BADI, where I cannot find any export parameters associate to these default fields.
    Regards

    Hi Vadim,
    I also have a similar requirement where our customer wants to change or prepolulate the PO type in the Default settings for items.I wanted to knwo if this is user based and if there is any waye we can keep updating them based on some action on the portal.Ideally in our case we have to do it from teh portal.So if there is any RFC that can update or fill these details we can use webdynpro applications to trigger them at runtime and then update them.Any ideas ?
    Thanks,
    Best Regards,
    Muinul

Maybe you are looking for

  • Acrobat won't convert Word documents within the Acrobat program

    I am running OS 10.5.2 on my MacBook Pro. I also have Microsoft Office 2004. I just installed Acrobat 8.0 Pro, patched it all up from the downloads on the website and was ready to convert some Word documents that I have to give to my boss. Went throu

  • The output file  for your concurrent request is not initialized

    Application: Application Object Library(FND) Component Type: SERVICE_INSTANCE Component Name: Standard Manager(STANDARD) /*The output file for your concurrent request is not initialized. Cause: Your concurrent program execution was not preceded by ca

  • Premier Pro CS6 needs re loading

    Am an experienced user of Pro CS6 but  am expreriancing a lock out=whurly bird will lock up  program=cannot continue=try force quit=still locks up=effects mouse function=will not respond to right click=will have to go =left+control=Apple say mouse is

  • No fax of purchase order change

    Hi, We have an custom ABAP that calls BAPI_PO_CHANGE that changes the price on po's. These po's are specific to one vendor. It's been in production for several yrs, and now the issue is that they don't want the po's that are changed through this ABAP

  • Powershell 4.0 on Windows 7 and Windows Server 2008 R2

    I have installed .Net Framework 4.5.1, and Powershell 4.0, and having some issues with some cmdlets; primarily dealing with scheduled tasks.  Is Get-ScheduledTask available when Powershell 4.0 running on Windows 7 or Windows Server 2008 r2?  I can't