User Data and XUSER 

Use

Using the tool XUSER, you can predefine and save user data (using XUSER). You can access your XUSER data when you call the DBMCLI or a precompiler program or when you start an SAP system. In this case, the user would use the data stored under a certain user key (USER_KEY).

Procedure

  1. The database administrator (DBA operator) sets up a database user using the relevant CREATE USER statement.
  2. The database administrator informs the operating system user what this database user’s data is.
  3. The operating system user saves the database user’s data using XUSER.

When the DBMCLI or the C/C++ Precompiler is now called using the option -U <user_key>, the system uses the data that was defined in user_key using XUSER. Enter the user key exactly as it was defined in XUSER, that is, your entries are case-sensitive.

Applications such as REPMCLI and DBMGUI and applications that use the ODBC interface (for example, SQL Studio) have no way of accessing XUSER data.