Application Development 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: 

Get the list of user BAPIPARAM's using BAPI's

Former Member
0 Kudos

I want my program to list, using BAPI's, all the possible parameters of the Parameter tab of the user dialog box (transaction SU01 on SAP GUI) (example of parameter: WLC). Can you tell me which view I must use to get this (I suppose I will have to call the BAPI: RFC_GET_TABLE_ENTRIES)?

6 REPLIES 6

Former Member
0 Kudos

Check with :

BAPI_JOBROLE_CLONE

BAPI_USER_ACTGROUPS_ASSIGN User: Change entire activity group assignment

BAPI_USER_ACTGROUPS_DELETE User: Delete entire activity group assignment

BAPI_USER_CHANGE Change User

BAPI_USER_CLONE Create User with Template in Another System

BAPI_USER_CREATE Create a User

BAPI_USER_CREATE1 Create a User

BAPI_USER_DELETE BAPI to Delete a User

BAPI_USER_DISPLAY Display users

BAPI_USER_EXISTENCE_CHECK Check a user exists

BAPI_USER_GET_DETAIL Read User Details

BAPI_USER_LOCACTGROUPS_ASSIGN Change Activity Group Assignment for Dependent Systems from Central System

BAPI_USER_LOCACTGROUPS_DELETE Delete Activity Group Assignments in the Dependent Systems

BAPI_USER_LOCK Lock User

BAPI_USER_LOCPROFILES_ASSIGN Change Profile Assignment for Dependent Systems from Central System

BAPI_USER_LOCPROFILES_DELETE Delete Profile Assignments for Dependent Systems

BAPI_USER_PROFILES_ASSIGN User: Assign profiles

BAPI_USER_PROFILES_DELETE User: Delete All Profile Assignments

BAPI_USER_UNLOCK Unlock user

Thanks

Seshu

0 Kudos

Thank you Seshu but that doesn't answer my question. I will reformulate it:

How, using BAPI's, may I get the list of all the possible parameter ID's and texts (the ones you see in the Parameter tab of the user dialog box of the transaction SU01)?

Details: my User Management application creates SAP users (using BAPI's) and should assign them parameters (like in the Parameter tab). To help terminal users to enter these parameters in my application's GUI, my application should display the list of all the possible parameter ID's and texts so that the terminal users may choose one or several of them to assign them to the users they want ot create. For example when my application has to list all the possible roles, it calls RFC_GET_TABLE_ENTRIES and asks for the AGR_TEXTS table. Do you know which table I must use to get the list of all the possible parameter ID's and texts using RFC_GET_TABLE_ENTRIES (or any other BAPI's)?

Former Member
0 Kudos

Hi,

BAPI_USER_CREATE1

BAPI_USER_CREATE with all the details filled in. then call BAPI_TRANSACTION_COMMIT to commit

the changes to the database.

Take a look at this

BAPI_USER_ACTGROUPS_ASSIGN

BAPI_USER_ACTGROUPS_DELETE

BAPI_USER_CHANGE

BAPI_USER_CLONE

BAPI_USER_DELETE

BAPI_USER_DISPLAY

BAPI_USER_EXISTENCE_CHECK

BAPI_USER_GETLIST

BAPI_USER_GET_DETAIL

BAPI_USER_INTERNET_CREATE

BAPI_USER_LOCACTGROUPS_ASSIGN

BAPI_USER_LOCACTGROUPS_DELETE

BAPI_USER_LOCACTGROUPS_READ

BAPI_USER_LOCK

BAPI_USER_LOCPROFILES_ASSIGN

BAPI_USER_LOCPROFILES_DELETE

BAPI_USER_LOCPROFILES_READ

BAPI_USER_PROFILES_ASSIGN

BAPI_USER_PROFILES_DELETE

BAPI_USER_UNLOCK

<b>Reward points</b>

Regarsd

0 Kudos

Hi,

My application already creates users and already does a lot of User Management and thus uses many of the BAPI's you listed. Unfortunately none of these BAPI's resolve my problem.

Regards

0 Kudos

Hello,

try BAPI: RFC_GET_TABLE_ENTRIES with these parameters:

GEN_KEY = user-name

MAX_ENTRIES = 9999

TABLE_NAME = USR05

Then you will get all user-parameters in the return-table.

Regards,

Philippe

0 Kudos

Thank you Philippe for your answer,

But your solution gives me the user parameters of a given user. What I want is the list of ALL possible user parameters. But meanwhile I found how to get that : I had to call RFC_GET_TABLE_ENTRIES with the table TPARA. This returned 4030 different possible user parameters. The table TPARA has just 2 fields: PARAMID and PARTEXT.

Regards