Skip to Content
Author's profile photo Former Member

Price validation/updation in SRM UI Add-ON 1.0

Overview

Currently the price change happens when copying of items from templates/old carts and then clicking on review cart.  SRM UI5 has a different concept of cross catalog search (where prices within our index can easily not be up-to-date); the actual price change must come more often and easily than in the typical SRM 7.0 cart. Therefore, when we order a UI5 cart we must have price check again and actually change the outdated price by the new one.

Price validation and update will be triggered in the following scenarios:

    1. The items which belong to catalog but has not been added directly from catalog (added from templates, favorites etc.)
    2. There is a delay in ordering the shopping cart during which price changes in catalog.


Configuration

The following new flags are introduced in the IMG node Define External Web Services:

Price Update

    • If checked, on click of order, price update for catalog-based item happens from catalog or from enterprise search (TREX).

price update.png


BAdI BBP_BDI_MDFY_CTLG_CNFG_SCRN:

To make these flags visible a BAdI BBP_BDI_MDFY_CTLG_CNFG_SCRN is implemented. This BAdI is defined in SRM CORE i.e. SRMSERVER. But there is a default implementation for SRM UI 1.0 Add-on where the flag is always visible. This is an internal bAdi.


price update.png

priceupdate 2.png

Updating price while adding items to cart

Items can be added to the cart in the following ways:

  • Search
  • Favorites
  • Templates
  • Existing Shopping Cart


Configuration

There is a possibility of updating the price from catalog or enterprise search while one adds an item to the cart, and then click Review Cart.

This is done by maintaining the customization, as mentioned below:

  1. Log into SAP system and run transaction SPRO.
  2. Navigate to SAP Supplier Relationship Management -> SAP Supplier Relationship Management -> SRM Server -> Master Data -> Content Management -> Define External Web Services.
  3. Click the IMG node Define External Web Services.
  4. Check the Validate Product Data from SAP Enterprise Buyer.

price update.png

Search

While adding the item from search, price is always copied from enterprise search (TREX).

Favorite, template and existing shopping cart

While adding item from favorite, template and existing shopping cart if the flag Validate Product Data from SAP Enterprise Buyer is checked the following behavior is expected, as mentioned below:

  • Price is updated from catalog if the flag Dummy Catalog in IMG node Define External Web Services is unchecked.
  • Price is updated from enterprise search (TREX) if the flag Dummy Catalog in IMG node Define External Web Services is unchecked.


Validating and updating price while ordering

While ordering the cart, price of the item from shopping cart is validated and updated depending on the configuration defined for the catalogs.

Configuration

There is a possibility of validating and updating the price from catalog or enterprise search while ordering the cart by maintaining the customization as mentioned below:

  • Log into SAP system and run transaction SPRO.
  • Navigate to SAP Supplier Relationship Management -> SAP Supplier Relationship Management à SRM Server à Master Data à Content Management à Define External Web Services.
  • Click the IMG node Define External Web Services.
  • Check the checkbox SC Item Price Check from Catalog in the IMG node Define External Web Services is checked. This flag validates the price of an item in shopping cart from catalog or enterprise search (TREX).

  Check the flag Price Update in in IMG node Define External Web Services.

price update.png

  • BAdI BBP_BDI_CHK_CTLG_PRICE_UPDATE:
    • To update the price, a BAdI BBP_BDI_CHK_CTLG_PRICE_UPDATE is implemented. This BAdI is defined in SRM CORE i.e. SRMSERVER. There is a default implementation for SRM UI 1.0 Add-on based on the filter sub type NXP where price update is always set to true. This is an internal badi.

price update.png

priceupdate 2.png

This configuration updates the price of an item in shopping cart from catalog or enterprise search (TREX) only when the following set up is configured:

  • Checkbox SC Item Price Check from Catalog is checked.
  • The message Msg Class – /SAPSRM/PDO_SC, Msg ID – 035 is configured as warning. Check Release & Info Note 1304650 of SAP SRM 7.0 EhP1 SP Stack 01(07/2010): for the message configuration (Note – 1449196).
  • Price Update flag in IMG node Define External Web Services flag is checked.
  • BAdI BBP_BDI_CHK_CTLG_PRICE_UPDATE is active and implementation is called.

The advantage of the BAdI is as follows:

Price update can be controlled for SRM CORE and SRM Add-On separately based on sub type. If the same SRM system is used for both the application i.e. CORE and Add-On, price update is only triggered for Add-On based on the sub type which is available as a default implementation.

Detail Behavior based on the configuration

The following combination for the configuration that is maintained in IMG node Define External Web Service is shown in the table below.

Note:

  • Validate represents  SC Item Price Check from Catalog
  • Update represents for Price Update
  • Dummy stands for Dummy Catalog
  • X represents that flag is checked
  • 0 represents that flag is unchecked


Validate

Activate

Update

Dummy

Behavior

X

0

0

0

Validation occurs from catalog or TREX based on the above customizing stated

In this scenario, price gets updated on adding item from (MyCarts, Favourites etc) and then clicking Review Cart.

X

X

0

0

The above-mentioned scenario exists; in addition, the following occurs:

  • Upon ordering, a check happens and a message is raised based on the configuration
  • Message (/SAPSRM/PDO_SC/035) can be configured as a warning or error

X

X

X

0

The above-mentioned two scenario’s exist; in addition, the following occurs:

  • A check occurs with punch out catalog, if one orders an item not added to SC from MyCarts, Favorites and maintained for long

X

X

X

X

The above scenario exists; in addition the following occurs:

  • A check occurs with TREX, if one orders an item not added to SC from MyCarts, Favorites, but maintained for long

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi,

      For our system with SRM UI add on 1.0 SP04, ,we see the price field as un-editable. Could you kindly tell how this field can be set to be editable.

      Just to tell, we are not using external catalogs nor internal MDM catalogs. We just want to use the SRM UI add on for direct procurement for inventory purchasing using

      1. Internal Goods and Services option( user keying or searching for material part nos. and entering Qty, Price, vendor, plant etc.. and other details..)  OR

      2. use to create Limit Shopping Carts to create Shopping cart in SRM

      Please advise.

      Thanks

      Ankur