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

User Mass Deletion and Changes

Former Member
0 Likes
820

Hi,

Need your suggestion on below requirements,

1. User Mass Deletion - "To delete Mass user with roles in SAP from CSV file"

2. User Mass Changes - "To Change Mass user with roles in SAP from CSV file"

Can you please explain me, which is the better way to go for this requirement.

Thanks,

Savita

Hi,

Need your suggestion on below requirements,

1. User Mass Deletion - "To delete Mass user with roles in SAP from CSV file"

2. User Mass Changes - "To Change Mass user with roles in SAP from CSV file"

Can you please explain me, which is the better way to go for this requirement.

Thanks,

Savita

2 REPLIES 2
Read only

praveen_hannu
Contributor
0 Likes
636

Hi

You can Use, BAPI function modules and create a program, which can upload the csv file and update the user records.

Search for function modules BAPI_USER_

Thanks

Praveen

Read only

Former Member
0 Likes
636

Hi,

You can create a Report Program in which you can upload the CSV files. Now you can use the BAPI's or the Function Modules to make the required changes to the Users. And you can consider using new ABAP Objects features which will be very efficient and the program performance will be great.

Have a look at the following Functions Modules :

Function Group : SU_USER Methods of object USER

BAPI_USER_ACTGROUPS_ASSIGN Change User-Role Assignments

BAPI_USER_ACTGROUPS_DELETE Delete User-Role Assignments

BAPI_USER_CHANGE Change User

BAPI_USER_CLONE Create/Change Users (Only Usable by CUA Distribution)

BAPI_USER_CREATE

BAPI_USER_CREATE1 Create users

BAPI_USER_DELETE Delete User

BAPI_USER_DISPLAY Display Users

BAPI_USER_EXISTENCE_CHECK Check a user exists

BAPI_USER_GETLIST Search for Users

BAPI_USER_GET_DETAIL Read User Details

BAPI_USER_INTERNET_CREATE Create a user in the Internet

Hope this will help.

Thanks,

Samantak.