We are in Classic Scenario, SRM 4.0 (SRM Server 5.0) SP9 with R/3 4.6C backend
When a Material has a contract and a PIR in the backend, if the material is added from catalog in the Shopping Cart, both Purchase Info Record and backend Contract are found as Source of Supply and then apparently no priority exist then no automatic Source of Supply is defined (user must select one to have one assigned).
At the opposite doing the same in ME51N in backend selects contract automaticaly (when Sourcing determination is flagged).
What we want is that if a Contract and a PIR are found for the material in the SC then the contract is taken automatically as preferred Source of Supply like in ME51N.
Any idea? Is that a bug? Or what can we change? BADI?
Thanks a lot
It is possible to disregard inforecords for sourcing purposes in R/3. If you do so EBP will automatically disregard inforecords as well. This approach consistently removes info-records as sources of supply in both, R/3 and EBP. here's how:
1. run cmod transaction in R/3 and create your project
2. Assign enhancement LMEQR001 to your project
3. In component EXIT_SAPLMEQR_001 there is include
ZXM06U52 and you need to enter some code in this include. Here is an example how to remove ALL inforecords:
INCLUDE ZXM06U52 *
loop at t_sources.
if not t_sources-infnr is initial.
delete t_sources index sy-tabix.
Note: BBP_SOS_BADI can only be used for customizing the searches of local sources of supply: local contracts, vendor lists and or vendor interlinkages