on 07-03-2013 6:52 PM
Hi guys,
We have an issue in our project regarding to Shopping Cart's unit of measure.
We have a material with base unit (M3) and we want to allow the user to create a document with another unit (TO). We have put the convertion M3 -> TO within the material master data.
However, the procedures above didn't work for Shopping Cart. Does anyone have any idea to change the unit of measure in Shopping Cart?
Thanks in advance
Hello,
When creating a shopping cart for a specific product ID, SRM will take the UOM defined as "order unit" for this product in transaction COMMPR01.
It will not be able to change the UOM in shopping cart.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandre,
have you rereplicated your product after changes?
How many entries do you see in the table COMM_PR_UNIT for your product?
Best Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandre,
as Ricardo said, it is disabled to change UoM for internal products.
Logic for that is placed in method /SAPSRM/CL_PDO_DYN_MDF_IT_SC->UNIT
Here is a part of code
cs_metadata-visible = abap_true.
cs_metadata-enabled = abap_true.
cs_metadata-required = abap_false.
IF is_item-product IS NOT INITIAL.
cs_metadata-visible = abap_true.
cs_metadata-enabled = abap_false.
cs_metadata-required = abap_false.
EXIT.
ENDIF.
So, if you need to change UoM you have to redefine standard system behaviour.
Best Regards
Konstantin
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.