on 08-10-2008 8:18 AM
Do SRM validate the Catalog Item when copying from old templates and previous shopping carts? Is this standard functionality?
Thanks,
Rajan
As per Seyed's last response, I will mark the thread as assumed answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajan,
To follow on from Masa's reply, please also note only certain fields are validated, these fields are identified in subroutine catalogcontent_validate_get and are:
Price
Currency
Delivery Date
Leadtime
Unit of measure
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jason,
Thanks for your feedback
I analyzed the Sub-routine and associated code and although it looks straightforward, I understand the implications. If our business demands that this validation need to be done, then we dont have an option.
I try to stay away from modifying SAP mode as much as possible.
I wish there were a BADI for this!
-Seyed
Continuation to my previous post:
My findings based on the analysis I did. Might help people who are looking for similar info.
As Jason mentioned, the Subroutine name is CATALOG_CONTENT_VALIDATE_GET
This is under package BBP_SC --> Function Group: BBP_SC_APP
After making a webservice call to get catalog details, the mapping is done as below.
IF sy-subrc EQ 0.
READ TABLE lt_enriched_item INDEX 1.
IF sy-subrc EQ 0.
ls_item_validate-price = lt_enriched_item-price.
ls_item_validate-currency = lt_enriched_item-currency.
ls_item_validate-price_unit = lt_enriched_item-price_unit.
ls_item_validate-deliv_date = lt_enriched_item-deliv_date.
ls_item_validate-leadtime = lt_enriched_item-leadtime.
ls_item_validate-unit = lt_enriched_item-unit.
ELSE.
lv_validate_item_exception = gc_yes.
ENDIF.
ELSE.
lv_validate_item_exception = gc_yes.
ENDIF.
If you go one level deeper into subroutine PERFORM sc_itm_copy_to_basket, you can see that following validations are performed.
If EITHER price, currency or price unit changes, we get the message u201C&: Price changed due to catalog validationu201D
If UOM changes, we get the message u201C&: Unit of measure changed in catalog; item not transferredu201D
When Delivery date or lead time changes, no message is raised but the new values are copied.
In a nut shell, the fields that are considered for validation are Price, Currency, Price Unit, UOM, Delivery date, Lead Time.
Thanks,
Seyed
Hi,
Yes. It is standard function. You have to set the "Validate Product Data from SRM Enterprise Buyer" in the catalog definition. And catalog side should return NEW_ITEM-EXT_PRODUCT_ID to SRM.
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.