Symptom
Unable to create or update Organizational Units or Departments using the OData API.
Environment
SAP Cloud for Customer
Reproducing the Issue
-
Create or assign a Department using the OData API.
-
Use the endpoint /sap/c4c/odata/v1/c4codataapi/EmployeeOrganisationalUnitAssignmentCollection.
-
Send a POST request to add a Department via this collection.
-
Check the request returns HTTP 403 Forbidden.
Cause
- Organizational Units and Departments are not exposed for creation or update via the OData API; only limited related entities and assignments are supported.
Resolution
This is a standard system behavior, as Organizational Units are not exposed for create or update via OData.
Any request for additional properties or extended OData capabilities must be submitted through the SAP Sales Cloud Customer Influence Portal for evaluation and possible implementation in a future release.
See Also
- Refer to Community: SAP Cloud for Customer Community
- Refer to: SAP Note 3347467 - Organizational Unit Name and Address in Data Workbench
Keywords
OData; API; Organizational Unit; Department; EmployeeOrganisationalUnitAssignmentCollection; SAP Sales Cloud; HTTP 403; Forbidden; Create; Update; Limitation; Not Supported; System Behavior; Metadata; Enhancement Request; Customer Influence; Org Unit; Assignment; Integration; REST; C4C; Cloud for Customer , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem
SAP Knowledge Base Article - Public