Symptom
When you are trying to create Employee Data in the system using the Custom Odata Services, You are getting the error :
Employee Role for Business Partner is missing
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administration work center -> Odata Service Explorer
- Test the Custom Odata Service, Which you have created for Employee
- GET Call will work fine. But, when you do POST call, you will get the error, EMPLOYEE role for business partner XXXXXXXXX missing where XXXXXXXXX is the Business Partner ID
Cause
- It is not possible to enable EMPLOYEE > CREATE service via CUSTOM-ODATA
- EXIT coding is required as in standard delivered services
Resolution
We recommend to use the standard services to create Employee in the system.
Some of the services are :
- https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/employeeanduser/$metadata
- https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/partnercontact$metadata
- https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/serviceagent/$metadata
Where XXXXXX is the tenant ID
Keywords
Employee, Odata, Custom Odata, Create , KBA , LOD-LE-BP-BP , Business Partner , Problem
Product
SAP Cloud for Customer core applications all versions