SRM - Shopping Cart - UoM is being defaulted to EA automatically
We are creating a shopping cart in SRM, and when we transfer items from the catalog to the shopping cart, the UOM is being defaulted to EA.
The product in question has a UOM in the catalog of Ctn3 (Carton 3), and this UOM is not available in the SRM system. We want the system to throw an error saying that the UOM is not found, but even after debugging we have failed to find a point where the UOM from catalog (Ctn3) is available in the system. It gets defaulted automatically to EA, and then there is no way of knowing whether the UOM from catalog was allowed or not. We found in the debugger stack that a kernel method in the class SRMNXP/CL_OCI_INBOUND_HDLR is being called first, through which the BADI BBP_CATALOG_TRANSFER is called, which we are implementing.
We think this might be due to some configuration, which is defaulting the UOM to EA, but have been unable to find one.
Any suggestions? Or any way of debugging it further?
Thanks and regards.