Application Development and Automation 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: 
Read only

BAPI_USER_CREATE1 - create user

Former Member
0 Likes
1,297

Hi all

i need to create user ,i want to use the bapi BAPI_USER_CREATE1 but i can't assign roles.

i tries to use the func. SUSR_BAPI_USER_PROFILES_ASSIGN but when i tried to assign the profile i got the msg : T-DV460091 is a generated profile. Assign the associated role XXXX.

Does anybody know how to solve this?

Tks.

17th Champ. to boston

2 REPLIES 2
Read only

Former Member
0 Likes
774

First create the user using BAPI_USER_CREATE1 and then after the user is created successfull use BAPI_USER_PROFILES_ASSIGN to assign profiles to the user.

Donot forget to use BAPI_TRANSACTION_COMMIT after each BAPI call.

Award points if helpfull

Read only

0 Likes
774

this is the msg that i got : "T-DV460108 is a generated profile. Assign the associated role IEC_AAA_BASIC_TRANS_FOR_ALL"

and when i look at the profile and role there is nothing at SU01