Symptom
While using entity A_Product in Product Master (A2X) API to update serialized profile field, the following error occurs;
"The value XXXX is not allowed for the field MARA-SERIAL"
Environment
SAP S/4Hana Cloud.
Cause
In S/4hana public cloud, only the harmonized serial number profile corresponding to the field in transaction MM02 for tab "Sales/General Plant" is supported.
Serial number profile (MARA-SERIAL ) field in A_Product node corresponds to MARA-SERIAL in tab "Warehouse Execution" which isn't supported in cloud.
Resolution
Please make use of A_ProductPlant or ProductPlant in patch call to update the plant related SerialNumberProfile.
https://api.sap.com/api/API_PRODUCT_SRV/path/post_A_ProductPlant - Old service
https://api.sap.com/api/CE_PRODUCT_0002/path/patch_ProductPlant__Product___Plant_ - New service
Keywords
Serial mumber profile,MARA-SERIAL, Plant data, Patch, Update, The value XXXX is not allowed for the field MARA-SERIA,Warehouse Execution, Sales/General Plant, API , S/4Hana Cloud, LO-MD-MM , KBA , LO-MD-MM , Material Master , Problem