Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Interval for Quantity characteristic CCM 2.0


We are trying to upload items with the Interval for Quantity characteristic (/CCM/QUANTITY_INTERVAL).But when we use the Shopping Tool to buy them we can buy quantities that are not included in the interval. For example if we set 10 as the Quantity Interval and we try

to buy 15 units, we don’t get any error.

Could you tell us which OCI FIELD should we assign to the characteristic ID /CCM/QUANTITY_INTERVAL.We were also wondering whether the problem is that we need an Aditional Optional Parameter in the Integrated Call Structure(as we had done with the Minimum Order Quantity characteristic).

Should we need to customize any other parameter in order to get an error when we buy a quantity not included in the interval(as it happens with the Minimum Purchase Order Quantity characteristic)?


Former Member

Hi Patricia,

I don't there is a standard check for the characteristic /CCM/QUANTITY_INTERVAL.

I think you have two options

1. copy and adapt the minimum qty check BADI implementation /CCM/CSE_OCIMINQTY and use the VALIDATE_DATA method to check the quantity interval value and provide a warning or error message if the quantity entered is not a multiple of the quantity_interval value

2. copy and adapt the Price Scale BADI implementation /CCM/CSE_OCISCALEPRI and use the ENRICH_DATA method to update the quanity to the nearest multiple of the value in the quanity interval. i.e. if interval quanity = 10 and ordered quantity = 15 use the BADI to update the quanity to 20 when it is passed to the shopping cart.

I have previously used option two to amend the quantity when it is passed to the shopping cart but the option best for you will depend on your business rules/processes.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question