I would like to create automatic user creation in our system.
The user creation now is manually done in the following way:
Creation of SAP user with the SU01 transaction
Creation of a BP person with the 'employee' rolled and assigning the previously created SAP user to the BP.
And another few various seeds.
I was able to create a SAP user. But creation the BP does not work.
I tried using the function module 'BAPI_BUPA_CREATE_FROM_DATA' it does return
me a BP number which does not exist anywhere (I did run 'BAPI_TRANSACTION_COMMIT')
I wasnt able to find the BP in the 'BP transaction.
I don't if its the right function to create a BP, but it doesnt seem to work.
If its not the way I would like an alternative way to create BP from ABAP which result in the same as I would create from the BP transaction.