Symptom
Using API MATERIALDOCUMENTCREATEREQUEST1 results in error AA001 "Asset & & not in company code &".
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Execute the API.
- Check the Message Dashboard.
- Error is in the log.
Cause
The asset and asset sub number need to include leading zeros.
Resolution
Enter the zeros.
E.g. asset number 20000017 would be entered as
<MasterFixedAsset>000020000017</MasterFixedAsset>
<FixedAsset>0000</FixedAsset>
Keywords
MATERIALDOCUMENTCREATEREQUEST1 SAP_COM_0108 , KBA , FI-AA-AA-A , Master Data , FI-AA-AA-A-2CL , Master Data (Public Cloud) , MM-IM-GF-ES , Enterprise Services in Inventory Management , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions