cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to programmatically create employees?

06-16-2023 10:06 AM
Francesca Explorer
668 views 1 comments Go to solution
SAP Managed Tags
Subscribe

Hello,

I am trying to automatize the process of creating a user and providing it access to applications.

In order for a user to access an app, they need certain business roles assigned to their business user. I found these two classes which would cover creation of business users and assignment of business roles:

  • CL_IAM_BUSINESS_USER_FACTORY
  • CL_IAM_BUSINESS_ROLE_FACTORY

However, a business user can only be created for an existing Employee, which can be created either manually or by importing a csv file in the Maintain Employees app.

Is there any way to programmatically create employees as well?

Thank you,

Francesca

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hello Francesca,

we are providing public API's for creation of employees w/o HR Master via SOAP Service ManageBusinessUserIn. Please have also look at https://api.sap.com/api/AC_MANAGEBUSINESSUSERIN/overview

Best regards

Christof

Answers (0)