Experts
I have an ABAP function module that is created to add users to SRM org structure on mass basis.
I am looping at an internal table of user ids and calling function BBPU_CONVERT_SINGLE_SU01_USER to create the user and then calling BBP_UPDATE_ATTRIBUTES to add default attributes to the user.
However the process runs fine only for the first user - From second user onwards there is no entry created in BUT000, due to which the attributes addition part fails.
What is strange is that the Central person / employee is created for the second user onwards and they are visible in ppoma_bbp, but business partner for the employee is not created for second user onwards.
If I add multiple users via tcode users_gen then everything works fine.
Can somebody guide me to where I am going wrong