Purpose of this document

The purpose of this document is to provide information on enhancements specific to the requirement is – When Shopping cart is created with reference to a material which were having a valid contract in ECC, the contract price has to be picked up in Shopping cart based on the requirement date on Shopping cart, valid price during that period & quantity orders need to be populated in Shopping cart.

Target readers

SAP MM and SRM Consultants.

Prerequisites 

SRM( Classic Scenario) and R/3 /ECC Integration

Material Master created in ECC,

Contract Created in R/3 for the material

Material is replicated in SRM.

Step by Step Solution for this functionality and explanation.

Create Contract in SAP R/3 though T code: ME31K

Create a contract through T code ME31K

Display Of Contract T code : ME33K

Display the contract though ME33K

Fig.1 Contract Display.png

Select the Line items click on Condition to display the Price Conditions ( Below is the screen shot of Scaled prices for the material B9998300109140)

Fig.2 Condition Tab Display.png

Creation Of Shopping Cart

Log on to SRM

Fig.3  SRM Log in Screen.png

Go to Shop screen

Fig4. Shoping cart creation Screen.png

Fig5. Search for Products.png

Enter the Product ID for the you want to created Shopping cart  or select from drop down list

Fig6. Select Product.png

Fig7. SC details view.png

Fig8. Soucing details.png

Fig9..png

Added another item to SC with same material number quantity as 110 ( This example is just to show that Contract Price picking based on Quantity scales)

Fig 10..png

Fig 12..png

Fig11..png

Note :  based on Quantity The Price is picked up from contract scale price, with in the validity period.

Fig 12..png

Functional Spec details to achieve this functionality.

Contract Price to be fetched directly in SC: When Shopping Cart is created with respect to Contract; contract price should get updated in the SC on the click of Check or Order button.

Use BADI definition: BBP_DOC_CHANGE_BADI

Method BBP_SC_CHANGE

Call Function Module  “FM BBP_CONDITIONS_GETDETAIL” through RFC to get   the contract price. This Contract price is being passed to the shopping cart which would get updated automatically on the click of ‘Check’ or ‘Order’ buttons.

Output screen shot of function module thorough Contract

Fig13.1.png

Pass on the values

I_PO_NUMBER   –  Contract Number

I_PO_ITEM           –  Line Item

I_DATE                 – Date in format MM.DD.YYYY

I_AMOUNT         –  Enter the Quantity Ordered

 

And Execute

Fig 14..png

Result Screen shot

Fig 15..png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply