Symptom
- The API for Real Estate Contracts, in the context of valuation does not accept simple asset number like '12345678'.
- The API instead expects the format such as "AN10000000123456780000".
Environment
SAP S/4HANA Cloud Public Edition
Cause
There is a specific syntax that must be followed to determined the correct REStatusObjectAsset number for a particular asset, which is built up of several additional segments besides the standard asset number.
Resolution
The correct syntax to determine the REStatusObjectAsset number is by concatenating the following values:
- 'AN' - Anlagen/Asset
- Company Code
- 12 digit Asset number
- 4 digit Sub Asset number
Example:
In case of an asset with the following parameters: CoCode: 1010, Asset Number: 123412345678, Sub Asset Number: 0, the following REStatusObjectAsset number can be determined:
AN10101234123456780000.
For all numbers, the leading zeroes must be considered, so in case your system is still utilizing 6 digit asset number length, the above varies as follows, in case of Asset number: 123456.
AN10100000001234560000.
See Also
Keywords
REStatusObjectAsset, value format, real estate contracts, sap s/4hana cloud public edition, Real estate contracts API, valuation term, asset number format, contract management, re-fx , KBA , RE-FX-CN-2CL , Contract (Public Cloud) , RE-FX-2CL , Flexible Real Estate Management (Public Cloud) , How To
SAP Knowledge Base Article - Public