Skip to Content
Author's profile photo Vijay Mittal

SRM LIMIT SHOPPING CART: Unable to Set Contract Limits and Preferred Supplier

Recently at one of the customer site we got a requirement. Business wants Contract and Preferred Supplier functionality while createing Limit shopping cart.

1) Whenever a limit shopping cart is created in SRM, the standard features of the SRM is not pulling the contract data as a source of supply which was needed to create a limit PO to backend ECC.

For that we have created a new enhancement which pulls all the contract as well as supplier’s information from ECC. We also developed the functionality of Assigned Supplier, when ever user select the contract and  click on Assigned Button the selected supplier will be populated in Supplier FieldThere is also a , which will eventually create backend PO.



Limit SC -2.png

Limit SC -1.png


2) We got another requirement to allow user to select preferred supplier for Limit Shopping Cart wich is not in

For that we have created a new enhancement which allow user to enter vendor in the modified shopping cart screen with the enter functionality and populate the vendor in the follow on Purchase Requisition document.



Preferred Supplier.png


Hope this would helpfull upto some extent.

Vijay Mittal

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Laurent Burtaire
      Laurent Burtaire

      Hello VIjay,

      what is your technical scenario?

      Classic or Extendend Classic?



      Author's profile photo Vijay Mittal
      Vijay Mittal
      Blog Post Author

      Hello Laurent - It is Classic Scenario.

      Author's profile photo Former Member
      Former Member

      Nice Blog Vijay Mittal

      I have question, We have kind of similar requirements coming in SRM so just wanted to get a general approach being followed. For Ex, a new customer field has to be included to the SC and PO screens. This can be achieved by adding these fields to the metadata structures. I am able to get the fields automatically after these configurations. So far good...

      Now, If I want to hide these fields based on country...Do I need to code this inside the WD Component or should I use the WD_BADI_DOMODIFYVIEW? Also, how do we get item / general header details inside this badi? Is there any link between the WD_BADI_DOMODIFYVIEW and BBP_DOC_CANGE_BADI?

      Author's profile photo Vijay Mittal
      Vijay Mittal
      Blog Post Author

      Thanks for appreciation.

      I think you can control through the META Data - Condition, checks and control.

      If still its not working then you can get the desired functionality through the WD_BADI_DOMODIFYVIEW - BADI only.

      Author's profile photo Former Member
      Former Member

      Hi  Vijay, For your 1st requirement (Assigning supplier based on contract  while pressing 'Assign' button, I don't see the code. Code give in WD_BADI_DOMODIFYVIEW seems to be for disabling Unlimited check box. We also have the same requirement. If we populate he supplier field using WDA Implicit enhancement , supplier is getting assigned but on check, value is not retained. If you have the code to populate supplier based on contract, could you please share it with me? Thanks in advance. Regards, Sasi

      Author's profile photo Johnson George
      Johnson George

      Hi Vijay,

      We also have got the similar requirement.

      Can you please give me some more details to it?

      It would be of great help in case there is any document of any sort.

      Please mail it to me on


      Johnson George