SRM alert for changes in shopping cart

Hi,
We have a requirement to create a shopping cart automatically upon receiving a trigger and the necessary purchase information from an external system and then send an update to the external system when the preferred vendor updates the price in the shopping cart or whenever there's a status update (approved, error, etc.).
I wonder whether there's a way to set an alert that will automatically inform the external system that there's an update in the shopping cart.
There's a BADi called BBP_ALERTING. Can this BADi be used to achieve our goal ? If not, how can we achieve this goal ?
Thanks,
Lara

Hi. If you want to trigger the update yourself from a BADI when certain data is changed then BBP_DOC_CHANGE_BADI is called every time data is changed and contains the latest data.
You can use it to check when certain fields are filled in then send the data to the external system.
If you want to make sure that the data is only triggered once you could create custom fields to store a flag when you first send an update to make sure that you do not send it again. You can use the BBP_CUF_BADI to hide the custom fields from the user but you can still amend the data in them from BBP_DOC_CHANGE_BADI.
This way when you first inform the external system that the vendor has been added you can store an X in a custom field. The code to send to the external system can check 'If vendor is not blank and custom field is blank then send to external system and update custom field to X'.
Regards,
Dave.

Similar Messages

  • SRM Fiori  showing blank My SHopping Cart and error in Approve Shopping Cart

    Hi Experts
    We are implementing SAPUI5 MyShoppingCart Services embedded deployment with:
    -ehp 3 for sap srm 7.0 sp07
    -netweaver 7.4 sp07
    -gateway 2.0
    we implemented three apps - Tracking SC, Approve and My SC
    we're getting good display in Tracking SC,
    however, we have blank screen for both  My Shopping Cart and Approve SC (even though there are items for approval in SRM)
    see below screenshots
    Tracking SC Screen
    Approve SC Screen
    My Shopping Cart
    is there a table in backend SRM that will verify the products that should be diplayed in My SC screen?
    we only have product master data  imported as of now using tcode /SRMNXP/CAT01.
    should there be buttons already available in the My SC screen even if there's no available products?
    Also what configs could be missing for Approve app?
    thanks in advance.

    Is anybody able to resolve this problem? We are having similar issues where nothing is displayed on My Shopping Cart, Track Shopping Cart and Approve Shopping Cart. We have been struggling for more than a week now. If you were able to solve then problem could you please share with us-
    1. Are there any backend settings that need to be done?
    2. We do not have any external catalog hence we have not installed MDM or TREX. We would like to just search our internal Material/Services Master catalog in the shopping cart. Are there any special settings to achieve this.
    3. We are not even able to see any navigation tabs on UI5 screens. For the basic shopping cart to display are there any settings anywhere or any notes to be installed?

  • Termination Error when Changing Rejected Shopping Cart

    Hello All -
    We are on SRM 5.0 Classic scenario.  If you try to change a shopping cart that has been rejected, if the section that you want to edit is not open before you click the change button you get a termination message that says "error processing your request" and a bunch of other stuff underneath the message. 
    Has anyone encountered this?  I have looked on OSS but haven't seen this problem mentioned.  The only way to get around it is to expand all the sections where you might want to edit data and then click the change button.  That seems a bit strange.   If you realize you didnt expand a section that you need to change, you get the error. 
    Any help would be greatly appreciated.
    thanks
    Jane

    Hi,
    Where from do you open the SC? From Status list or Inbox?
    Regards,
    Masa

  • More than one Follow On documents for a single shopping cart

    Hi All,
    How can we determine if there will be more than one follow on document created for a single shopping cart.
    One reason could be if shopping cart items have different source of supply.
    What could be the other reasons. Also is there any way by which we can debug and find out the number of follow on documents created for a single shoppining cart.
    Thanking you all in advance.
    Thanks and Regards
    Manoj

    Hi  Manoj,
    <i>"Also is there any way by which we can debug and find out the number of follow on documents created for a single shoppining cart."</i>
    There's a FM to get all the follow on documents related to the SC and all the relations per item... use <b>BBP_PD_SC_GETDETAIL</b> and retrieve the <b>E_HEADER_REL</b> for the SC relations, and the <b>E_ITMLIM_REL</b> for each <b>item relations</b>.. there you will see:
    OBJECT_ID_A -> OBJECT_ID_B
    what it means is the relation between a SC and the PO, or the SC with a BID... you can identify the object types by taking a look in the 'BUS...'
    OBJTYPE_A -> OBJECTTYPE_B
    SC -> BUS2121
    PO-> BUS2201
    BID-> BUS2200
    etc...
    I hope this can help you to retrieve what you need....
    BR,
    Gerardo....
    PS: reward points please....

  • Change Rejected Shopping Cart

    Hi,
    One of the users has created a shopping cart and the Approver has Rejected the Shopping Cart. The User is having BBP_WFL_SECURITY attributed value to LOW.
    The Rejected Shopping Cart Status at header Level is Shoing as Awaiting Approval and at Item level it is showing as Rejected.
    When the User Clicks on the Item Details they are able to see the Change Button and when they are trying to change the Shopping Cart they should be able to change the Quantity, Price, Required On date which is not happening.
    Here are my questions
    1. Why the Rejected Shopping Cart Header Status is shown as Awaiting Approval even thought it is rejected by approver?
    2. When ever the user is trying to change the Rejected Shopping Cart why is it not allwoing them to do the same?
    Is there anything that needs to be looked out apart from the BBP_WFL_SECUR_BADI(this is inactive)?
    Regards,
    Satya

    Hi,
    I guess the task is not general task.
    Please find the task ID( like TS10407972) and open it in transaction PFTC.
    Menu Additional Data -> Agent Assignment -> Display
    If the task is not general task, please set it as general task.
    The system admin can handle the workitem already created with no agent.
    Go to transaction SWI2_ADM1 and forward the workitem to responsible person.
    Regards,
    Masa

  • How to change position for items in shopping cart

    Hello,
    I am creating shopping cart using flat file. But i am not able to change the position for items i.e. both items contain position as 0000000001.
    Following are the item details of shopping cart which is created through portal. (from tcode BBP_PD)
    Items:
    Pos Type Quantity Unit Ordered_Prod Description Gross price
    0000000001 1 EA keyboard 100,00
    0000000002 1 EA CPU 1.000,00
    Following are the item details of shopping cart which is created using flat file & BAPI BBP_PD_SC_CREATE.(from tcode BBP_PD)
    Items:
    Pos Type Quantity Unit Ordered_Prod Description Gross price
    0000000001 1 EA MONITOR 1,00
    0000000001 1 EA MONITOR 1,00
    Position is not getting changed for item 2 & only first record is getting uploaded 2 times. My code is creating Shopping cart number .
    Please tell me how to change position of each item.
    Thanks & regards,
    Edited by: Ketkee Bhale on Sep 14, 2011 3:58 PM

    Moderator message - Cross post locked
    Rob

  • Table for PO and Shopping cart  combination in SRM

    Hi Guys,
    Can any one help me out with a table which gets updated with PO and Shopping numbers in SRM.?
    Regards
    Srujank

    Hi Srujan.
    The table CRMD_ORDERADM_H will store the document numbers. But it wont be storing both the shopping cart as well as PO number for a record.
    To find out the SC number from PO or vice versa use the following method:
    You can use pass the PO number in function module BBP_PD_PO_GETDETAIL.
    From here you will get the Shopping cart Item Guid in E_ITEM-SRC_GUID. You can again pass this guid in the table CRMD_ORDERADM_I and get the parent guid.
    Pass this parent guid in table CRMD_ORDERADM_H to get the shopping cart number. Its stored in the OBJECT_ID field.
    There is another way to find out the shopping cart number:
    Pass the PO number in FM BBP_PD_PO_GETDETAIL
    Check the E_HEADER_REL, when the value of the field OBJTYPE_A = BUS2121 then the field GUID_A will contain the header guid of the shopping cart.
    Use this guid to get the SC number from table CRMD_ORDERADM_H.
    Hope this helps.
    Thanks,
    Pradeep

  • Changing "Check Shopping Cart" screen and Completion workflow

    Hi,
    Below i describe a) the current process, b) the required changes, and c) my questions.
    Though it is also about workflows i still thought this was the best place to post the thread.
    Current process:
    In the process "free text order" i choose Go Shopping >> Shop >> Describe Requirement. I fill in details and complete the next steps.
    Now the Completion workflow (WS14000044) has started.
    So if I now look on my homepage in SRM i have an approval item which reads:
       Approval
       You can approve or reject shopping carts and read your e-mails relating to the procurement transaction
       You have
       -  1 Workflow Entries in Inbox
       -  0 Unread Documents in Inbox
    So i open the list and find one item: Complete shopping cart of mr X.. Now i click on the item and it takes me to "Check Shopping Cart"
    At the bottom of the screen is one button: "Change"
    Requirements:
    1)  add two buttons to this screen. One button is "Reject", to reject the shoppping cart directly. The second button "Mail Requester" to send the shopping cart back to the requester and also sends a mail via outlook to inform the requester that this has happened and requesting more information.
    2)  these buttons should then influence the behaviour of the Completion Workflow. In this workflow (WS14000044) the task Completion (TS14007947) currently has one activated outcome. From my two buttons i would need two more outcomes that allow me to model the other actions that i need i.e. the rejection outcome and the back-to-requester/send-mail outcome.    
    Questions:
    1)  is it allowed/possible to add the buttons to the existing screens. Or do i need to create a custom screen and call that instead of the standard screen?
    2)  is it allowed/possible to modify the completion workflow as described? Or do i need to copy and then modify?
    3)  How could i make the buttons to interact with the workflow? The only thing i can think of is to create a Z-bus object of the object Form and to modify so that it show my expected outcomes.
    4)  any helpful links to sdn posts of blogs or otherwise on how to go about to create the necessary changes.
    Thx for your input
    Kind regards
    Robert

    Hi Robert,
    Again, before technical solutioning, we need to step back and understand the business process and functions of each role (e.g., Buyer, Financial Approver) in the completion and approval workflow.
    Here's my understanding of the as-is (correct me if I am wrong). You are using One-Step Spending Limit WF (10000276) for financial approval. This is done by a Financial Approver (I am guessing, the line manager). The Buyer is not part of the process. Now, you want to introduce free-text requisitioning, and, consequently, you want to introduce the Buyer role into the workflow process - to complete the free-text lines (e.g. with vendor, price).
    Based on above scenario, I believe your initial solution was not incorrect - introduce Completion WF (14000044) for the completion task, while keeping 10000276 for financial approval.
    Now the business wants the Buyer to play a more active role in the process. They want to be able to Reject (the whole cart?) and Inquire (send the cart back to requester with questions). In my mind, it may still be possible to explore keeping the original design with Completion WF without modifying it, and still achieve the business needs. You can explore different ways of doing that: delete SC items instead of Rejecting, add Approval Comments to inquire, etc.
    Alternatively, you can replace all your workflows with one - WS14000133 "Spending limit, n-step,
    dynamic approvers (BAdI)". Here, you can determine your approvers flexibly via a BAdI implementation. For example:
    1. If Total Amount =< Spending Limit of Purchaser, then no approval agents - auto-approve SC.
    2. If Total Amount > Spending Limit of Purchaser AND there're no free-text lines, then determine Financial Approver.
    3. If Total Amount > Spending Limit of Purchaser AND there're incomplete free-text lines, then determine Buyer; once free-text lines completed - then Financial Approver.
    WS14000133 also has back-and-forth functionality which you can use for the inquiries. WS14000133 provides the most flexibilty, but it also involves more effort to implement. Read up on WS14000133 at help.sap.com.
    Bottom line - I would focus on evaluating these two standard options: 14000044 with 10000276, or 14000133. You may need to do some pros/cons, cost/benefit analysis. But I see no need to modify or copy SAP templates in your case.
    Cheers,
    Serguei
    <removed_by_moderator>
    Edited by Moderator on May 29, 2009 7:22 PM

  • Need to delete PO value for a deleted shopping cart item.

    Hi SRM experts
    Please help me on below mentioned issue.
    I have a shopping cart with one deleted item, That deleted item shows a PO number under table BP_PDBEI field BE_OBJECT_ID in production server.
    User want that PO number to be delete or clear from that shopping cart deleted item.
    We are not authorize to delete or clear a entry from the SAP standard table itself.
    Is there any function module, I can use directly in production server which can delete / clear this PO number from table BP_PDBEI field BE_OBJECT_ID from shopping cart deleted item
    Please help urgently.

    Hi Sharma,
    normally if this PO doesn't have further follow-on documents, should be able to be deleted. Once the PO is deleted, the SC will be updated and in the follow-on document history of the SC you will see an additional remark "follow-on document deleted".
    But I guess, this is not what you would like to do.
    Without manual database changes you won't be able to delete the connection between the SC and PO.
    If you somehow will get authority to the database changes, please don't forget to delete also the relations between PO and SC. You will find it in the tables SRRELROLES and BBP_PDBINREL.
    Regards,
    Peter

  • Changes in shopping cart at run time doesn't reflect at approval level.

    Hello experts,
    I have created a shopping cart upto 4 levels based on immediate manager, category id, cost center and last manager (who will approve/reject ). It is working good so far. At 3rd level (cost center) I added a formula ( Overall value > 5.000 ). It means when overall value is greater than 5000 then only cost center is going to be displayed. It works when overall value goes above 5000. But before finishing shopping cart if user changes quantity, makes it less than previously entered (which affects overall value less than 5000 ) then at 3rd level it shows approval. This is not correct. As value goes below 5000 it should not show 3rd level approver. Where I should chnge the code ? Is there anything workng there ? Please advise. Thank you.
    Best regards.

    Hello Sam.
    Thank you for your reply. Issue has been resolved now. It was portal issue.
    Yes I am using process controlled workflow.
    Best regards.

  • PR is not creating in Backend ECC for Direct material Shopping carts

    Hello Experts,
    i have one issue, due to some reasons we deactivated 'Order as Direct Material' button on our SRM shoppingcart screen. But again due to the requirement we activated the 'Order as Direct Material' button. Now the issue is when we are creating a shopping cart by using order as direct material button no Purchase Requisition is creating in the backend ECC. we are in SRM 5.0. we already implemented BADI: BBP_CREATE_BE_RQ_NEW. we are able to create PR for the shopping carts which we order normally i.e for non-direct materials (with out using that order as direct material button).
    please guide me on this!!!
    thanks in advance!!!!
    regards
    CD Reddy

    Hello,
    You can use note 1173815 to debug if follow-on document determination is occurring in backend.
    Also, you will be able to check if any error happened during this process.
    Kind regards
    Ricardo

  • Changes to shopping cart during approval.

    We are running the N-Step approval workflow WS14000133.
    The issue we are having is when an approver makes a change to the shopping cart during approval (Task TS10008126) we would like this to trigger the step that sends the cart back to the requestor to check/approve(Task TS10008061).
    The desired behaviour occurs if the approver makes a change to the price, but not if other aattributes of the shopping cart are changed such as the vendor or the description.
    The workflow determines if the cart should be passed back to the requestor based on the approve_or_reject flag in the approval task container. This variable is set to 4 when the price is changed, but 0 if other attributes are changed.
    The security level for the approver to 'High' so that the workflow does not restart.
    Is there any way to control what changes to the shopping cart will cause the workflow to create the task for the requestor.

    What I am saying is that I want the workflow to continue and it is. This is not the issue. I am happy with the way that the security level is working.
    The issue is that I would like the workflow to send a task to the requisitioner for ANY change that is made to the shopping cart. The standard solution will only send a notification to the requisition if a change is made to the value of the cart.
    We need to pick up all changes such as the description or the vendor.
    If you look at workflow WS14000134 you will see that after the approval step there is a decision step that will route the workflow to the notification to creator task or by-pass it. This is based on a variable that is set by the approval task. If the value is changed the value is set to 4, but if the vendor is changed then the value remains as 0.
    The question here is 'Can we influence the way that this approval state variable is set?'

  • Maintain price (change) in Shopping cart

    Hi
    We have in our catalog (CCM2.0) created some articles like fx Consulting. The price for consulting can be different and we like to change a dummy price when the article is transfered to catalog.
    Do anyone know what we can do to make the price field maintainable in shopping cart?
    Thanks in advance

    Dear Jesper,
    it is standard that the price from catalog item should not be changeable in the shopping cart. If you need this functionality then please take a look at consulting note 693175. Maybe this helps.
    Best regards,
    Georg

  • Email notifications for Rejection of shopping cart

    Hi Everybody,
    I would like to know if it is possible to generate an email notification to the employee if a manager rejects a shopping cart (partially or completely).
    if it is possible, please let me know how it can be done.
    Regards,
    Vidhya M

    Hi,
       Are you using any of the Standard  Workflow for SC approval?If so,this is a std feature in the std workflows.
       For more info,refer the foll link:
    http://help.sap.com/saphelp_srm40/helpdata/en/5a/af5f0285d011d2b42d006094b92d37/content.htm
    BR,
    Disha.
    Pls reward points for useful answers.

  • Apostrophe character in MDM changes in shopping cart

    Since we went on 5.5 SP06, any apostrophe ( ' ) in the short description in the Data Manager translates to &apos; in the SRM shopping cart and subsequently affects purchase order output from ECC. Any help as to what is causing this or how to prevent is welcomed.

    OSS Note 1265376 - OCI data containing HTML Tags not converted before display fixes this problem.

Maybe you are looking for

  • To Compress cube

    HI Experts, I am begineer to SAP BI .When I executed a outbound job through process chain at background,but got struck in a step due to SQL statement error.The DBA team informed to compress this cube and  It has 17M+ rows in the F fact table and they

  • OS X freezes whenever I cannot force quit an application

    About twice a week I have an application that will hang. Usually when I close my MacBook Pro while the app is running. The app will not quit or force quit, if I try to restart the OS, it hangs and I have to hold the power button down to shut it off.

  • HT4994 HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY

    HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY <Edited By Host>

  • Web Applet - Reporting

    Hello, I have created a custom report and added it to a web applet. This applet is then made available on the opportunity page layout. This works, the report is displayed on each opportunity. What I want to do now is pass the Opportunity ID in to the

  • Premier pro.exe- bad image error

    im getting an premier pro.exe- bad image error while trying to run premier pro cc. it says c:\windows\system32\msvfw32.dll is either not desgined to run on windows or it contains an erroe. error status is 0xc000012f. tried reinstalling, running as ad