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: 

User details are not being copied when we copy a user

Former Member
0 Kudos

Hi, all,

Good day!

We would like to request your advice on the following.

Whenever we try to create a new user from an existing one, we find that the user type isn't copied from the original user. The resulting user type in the new user is "blank". May we ask if there is a way to ensure that the user type is copied along with the other data?

Your feedback will be greatly appreciated. Thanks in advance!

Regards,

Jonathan Concepcion

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This is because user APIs did not always support contractual types (only from 7.00 onwards) and copying everything can also be done via the highest role classification type (little tip...)...

You might also copy all and then remove the key user role?

Correct tool is tcode SLAW or role based classification.

-> yes, it does not copy.

Cheers,

Julius

7 REPLIES 7

Former Member
0 Kudos

Hi Jonathan

that's really odd... Do you user CUA? What happens to field user type if you create a new user?

Can you paste a screenshot with the example blank?

Do you have any errors in sm21 when you try to copy the users? (does it happen with all kind of user types?)

What release and are you using?

Let me know

a

0 Kudos

Hi, Andrea,

Good day!

Thanks for your feedback.

What happens to field user type if you create a new user?

- When we create a new user, the field is blank by default. -

- Do you have any errors in sm21 when you try to copy the users?-

The copy works, so we don't recieve any error messages.

Please see the attached file for screenshots. We tried copying user NOM into NOM2. User NOM has a user type of AX, but, as seen, NOM2 has none.

- What release and are you using? -

R/3 release 4.6C

Thanks in advance!

Regards,

Jonathan Concepcion

Former Member
0 Kudos

This is because user APIs did not always support contractual types (only from 7.00 onwards) and copying everything can also be done via the highest role classification type (little tip...)...

You might also copy all and then remove the key user role?

Correct tool is tcode SLAW or role based classification.

-> yes, it does not copy.

Cheers,

Julius

0 Kudos

Hi, Julius,

Good day!

Thanks for your feedback! SLAW isn't available in our system. Is there a different Tcode we can also try?

We'll check out the role based classification that you recommended as well.

As we said earlier, when we create a new user, the user type is blank by default. Would you know if there is a way for us to change the configuration so that when we create a user, it's instead AX by default?

Thanks in advance!

Regards,

Jonathan Concepcion

0 Kudos

Take a look at tcode USMM then. You can set a default contractual type for those which are not classified - that amounts to the same.

But you cannot classify it by copying. To my knowledge only indirectly via role classifications.

Cheers,

Julius

0 Kudos

Hi,

We were able to resolve one of our issues - the problem with copying user types - by creating a reference user with the necessary user type and using that when creating a new user. However, when trying to set the default contractual type in USMM, we are unable to do so. The screen shows that the change is saved, however, when we leave the code and go back, the default contractual type is blank again. Is there anything we can do to fix this?

Thanks in advance.

Regards,

Jonathan Concepcion

0 Kudos

Actually a reference user is a role, so this can be compared to classifying the roles as mentioned earlier.

The reference user itself is however not classification relevant - possibly that is why it's prodigal offspring loose their type as well.

Reference users are not "templates", although often mistaken for it. It is also a field on the roles tab in Su01.

AFAIK your only option is to use roles.

Cheers,

Julius