Symptom
You want to use API_WORK_CENTERS to create work center interval along with its shifts within the same changeset.
However, there is an error message "The combination of changes is not allowed in a change set.".
Or maybe some other similar errors saying the function is not supported.
Environment
SAP S/4HANA Cloud Public Edition
Cause
An interval and its child shifts cannot be created in same changeset request via API_WORK_CENTERS. This is a known constraint of the service.
Please refer to this Help Page for more information about API_WORK_CENTERS.
Resolution
Please use the new released OdataV4 API API_WORK_CENTER instead to fulfill your requirement.
Please refer to this Help Page for more information about API_WORK_CENTER.
Keywords
work center, interval, shift, API_WORK_CENTERS, API_WORK_CENTER, , KBA , PP-BD-WKC-2CL , Work Center (Public Cloud) , Problem