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

How to create a new user using a function module in SAP

Former Member
0 Likes
2,855

Hi All

I tried using a function module SUSR_USER_CREATE, to create a new user, but it was expecting a address number. So, I tried using a function module SUSR_COMP_ADDR_DEFAULT_GET. It will give the output using function module SUSR_COMP_ADDR_DEFAULT_GET.

However, I am getting this message PASSWORD NOT ALLOWED. I request to share the information, how to use the function module or is there any other way to create the user id in SAP through a function module. The reason for creating the function module, is to call this function module from a BSP PAGE.

Thanks

Bala

2 REPLIES 2
Read only

Former Member
0 Likes
1,602

BAPI_USER_CREATE1

BAPI_USER_INTERNET_CREATE

Read only

Former Member
0 Likes
1,602

Hi Bala,

Try using these function modules

SUSR_BAPI_USER_CREATE

BAPI_USER_CREATE

BAPI_USER_CREATE1

BAPI_USER_INTERNET_CREATE ( This internally calls BAPI_USER_CREATE1)

Please read the FM documentation for more information.