problem in product creation via IDOC CRMXIF_PRODUCT_SAVE
For our Product migration, we are trying to use LSMW, by IDOC, using Message Type CRMXIF_PRODUCT_SAVE, and IDOC Type CRMXIF_PRODUCT_SAVE01. However, each IDOC fails with the same errors each time, which are:
- Data cannot be maintained for set type COMM_PR_SHTEXT
- Data cannot be maintained for set type COMM_PR_UNIT
- Assign a base category to the product
- Error status 'A' calling validation service
- Validation error occurred: Module COM_PRODUCT_MAT_VALIDATE , BDoc type P
I searched alot and found no sure solution... the hierachy/category I created is specific, and I see no SAP standard hierachies/categories containing these set types COMM_PR_SHTEXT and COMM_PR_UNIT.
Furthermore, I dont see these set types in the list when I try to add them to my specific category. Are they truely standard SAP set types??
If so, how do I get around these IDOC errors and post successfully the IDOC/product creation??
Gerhard Djuracek replied
Please check if the settypes COMM_PR_UNIT and COMM_PR_SHTEXT are
assigned to the mentioned category in transaction COMM_HIERARCHY.
Settype COMM_PR_SHTEXT contains the description of the product.
You want to maintain the UOM and this is stored in settype
COMM_PR_UNIT and the settype will also be recommended.
Additionally, please ensure that you have added a default category
in the customizing: Path: spro > EPB professionel > SRM Server >
Master Data > Content Management > Define Mapping for Product Categories
Hope this information is helpful. Please reward points!