Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy users with their Org assignments

Former Member
0 Kudos

Hi,

I'm working in a SAP system in which SAP Users are directly linked to Positions (for indirect role assignment need).

Is it possible to copy users with all assignments ?

All tests done using SU01 only copy User's data without their assignments.

Thanks and regards.

8 REPLIES 8

Former Member
0 Kudos

Hi Gaetan,

When you are copying a user, the reference user of the copy source is always copied too, as long as you have sufficient authorizations to assign the roles or profiles of the reference user. If you do not want the reference user to be assigned to the new user, you must manually delete it from the user master record after the copy process

0 Kudos

Thanks for your answer.

But I'm talking about Organizational Assignments (accessible by menu Environment > Organizational Assignment in SU01) not user's reference.

When I create a user copy, in the popup window I can choose to copy or not user's reference but I do not see how to include Organizational Assignment links.

0 Kudos

> When I create a user copy, in the popup window I can choose to copy or not user's reference but I do not see how to include Organizational Assignment links

Hi,

When the roles are copied from the user, the org levels are copied too (if maintained in the roles of the user).

ex: user1 has roles assigned to him which have Org levels maintained for it.Now when you copy the user1 data, say for user2, and you select "Roles" from the copy options... the user2 will get the same org levels that are available / restricted for user1.

Hope am clear.

Regards,

Srihari

0 Kudos

>

> > When I create a user copy, in the popup window I can choose to copy or not user's reference but I do not see how to include Organizational Assignment links

>

> Hi,

>

> When the roles are copied from the user, the org levels are copied too (if maintained in the roles of the user).

>

> ex: user1 has roles assigned to him which have Org levels maintained for it.Now when you copy the user1 data, say for user2, and you select "Roles" from the copy options... the user2 will get the same org levels that are available / restricted for user1.

>

> Hope am clear.

Clear yes, relation with the original question, no.

Gaetan is talking about the position in the organization to which the USERID is linked. I personally think there's no way to copy that along with the user.

You can link the copied user to the same position the original user had/has. But that would always be an extra action as far as I know. (This is another one were I'd love to be proven wrong....)

If you have to copy a lot of users maybe you can ask in the HR forum(s) about automating the organizational assignment with ecatt.

0 Kudos

this cannot be achieved with SU01 alone. as jurjen has said, looking at it technically the user and the person assigned to a position are two different objects.

if you were to copy a user you would need to also duplicate the values for all the infotypes of the ´old´ user and its PERNR.

if you were to use a custom program which uses the values of the PERNR assigned to the user you want to copy from HRP1001, you would indeed end up with two different P objects assigned to the same position but still with no other data in the infotypes of the PERNR of the new user.

this cannot be what you aim for.

I´m curious why you would want this functionality.

take care,

dimitri

0 Kudos

Hi guys,

I completely mistook the question. coming to the original post, I do agree on the following as Jurjen said:

>If you have to copy a lot of users maybe you can ask in the HR forum(s) about automating the organizational assignment with ecatt.

Regards,

Srihari

Former Member
0 Kudos

Hi Gaetan Bourgneuf,

I agree with Dimitri, why you want to have the indirect role assignment copied to copied user ?

With SU01 you can have direct role assignment and for others the relationship on position comes in picture. (rest is explained by Dimitri)

Regards,

Zaheer

Former Member
0 Kudos

Thanks all.

We don't use PD object PERSON. Our users are directly linked to Positions.

I need to copy users and them linked to positions to make tests with role/position assignments. (We are actually trying to clean our authorization solution).

So I will copy users with transaction SU01 and copy all assignments (by creating new) using PPOM.

Thanks for your help !