Symptom
Field such as "IsBlockedForRevenuePosting" ignores the value of false for 'Post' but works for 'Patch' in API SAP_COM_0943.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
1. Post API SAP_COM_0943 with value false of field "IsBlockedForRevenuePosting" for an existing cost center category.
2. Confirm the result of field "IsBlockedForRevenuePosting" is true
Cause
oData V4 API doesn't allow to overrule the cost center category configuration for turned on locks. Hence the lock turned off and initial value are the same value, it is not possible to distinguish, if the lock should be turned off, or value was not provided and default category configuration should be applied.
Resolution
Workarounds:
- If in many cost centers should be the default category configuration adjusted, then to create new cost center category, or adjust the existing one.
- If it is a rare situation, then the cost center lock configuration must be changed with second update request.
Keywords
oData V4 API, SAP_COM_0943, IsBlockedForRevenuePosting, Post, Patch, False, True, Cost Center Category , KBA , CO-FIO-CCA-CF , Configuration , Problem