2010 Mar 20 4:09 AM
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
2010 Mar 20 4:33 AM
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
2010 Mar 20 4:48 AM
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.