cancel
Showing results for 
Search instead for 
Did you mean: 

How to create employee via Odata?

fceylan_hs
Participant

Problem 1)

There is a lot of ODATA API for ByDesign https://blogs.sap.com/2019/02/27/sap-business-bydesign-api-usage-sample But we couldn't find any Post operation for creating/updating Employee. Is there any Odata Api available for creating employees? We tried to implement our custom Odata Service but it doesn't allow us to Create/Update fields. Problem 2)

We tried to implement interface Personnel Administration - Hire an employee https://api.sap.com/api/PSM_ISI_R_II_MANAGE_PERS_HIRING_IN/overview but this service only shows system fields. We cannot access extension fields created via SDK or UI Designer. How can we achieve this?

Note: we are developing Sap ByDesing only. We don't have Success Factors/HCM module.

View Entire Topic
HarshalVakil
Active Contributor

Hello,

The Custom ODATA Service that you have found from the blog can be modified to create employee from existing busines partner.

Also in the same blog (and from Github) you can find ODATA service also to create the business partner.

I hope this will answer your question.

Regards,

Harshal