Symptom
After using the Fixed Asset - Change ODATA API to add a time interval, upon checking the master data, it was found that no data had been altered.
Environment
SAP S/4HANA Cloud Public Edition
Cause
When adding an account assignment time interval with the same data as an existing interval, the system will automatically merge the two identical intervals.
Resolution
If a field in the account assignment needs to be changed in a new time interval, then this field needs to be added to the API payload. For example, if you need to change the content of the plant field in a new time interval, please refer to the following payload.
"YY1_Capex_ID_FAA": "********",
"_General": {
"FixedAssetDescription": "Add account assignment for change plant"
},
"_AccountAssignment": [
{
"FixedAssetObjectActionCode": "01",
"ValidityStartDate": "2025-01-01",
"CostCenter": "test",
"Plant": "3000"
}
]
}
Keywords
API, Fixed asset, time interval, account assignment , KBA , FI-AA-AA-A-2CL , Master Data (Public Cloud) , Problem