cancel
Showing results for 
Search instead for 
Did you mean: 

How to get organisational assignment of an employee in C4C via OData service?

0 Kudos

Hello experts,

for employees we have a custom interface between SAP ERP and C4C.

Now there is the requirement that in ERP I need to request the organizational assignement of an employee from C4C. I didn't found any Webservice to do this but SAP provides some OData services.

SAP provides EmployeeBasicDataCollection. There you can get some basic data of an employee but not the organizational assignement.

Then there is another Odata service OrganisationalUnitEmployeeAssignmentCollection that provides the organizational assignement of an employee (in both screenshots the data for employeeID 800000534 are shown).

Now my problem is that OrganisationalUnitEmployeeAssignmentCollection can only be filtered by ObjectID, ParentObjectID and OrganisationalUnitID (but unfortunately not by EmployeeID, so I cant get this directly). In addition ObjectID from both OData services are also different (so the ObjectID in OrganisationalUnitEmployeeAssignmentCollection is not the ObjectID from the employee).

Do you have any idea, how to get the organisational assignment for a dedicated employee? Is there any connection between employee data and the ObjectID that is used in OrganisationalUnitEmployeeAssignmentCollection?

Best regards

Thorsten

Accepted Solutions (0)

Answers (1)

Answers (1)

MaxGag
Participant
0 Kudos

Hello,

There the EmployeeOrganisationalUnitAssignmentCollection you can look at.

Thanks