The SAP DB database system uses SAP DB user classes and supports different roles (role concept).
A database session is started when the user logs on to the database instance. In order to log on, certain user data needs to be transferred to the SAP DB component for identification purposes.
The following user data is needed to log on:
user_name |
User name |
password |
The user’s password |
database_name |
The name of the SAP DB instance you want to work on |
database_server |
The name of the server on which the database you called is running |
In addition to this generally required user data, you can enter further data, which is then transferred when you log on.
You can also transfer the user data to the SAP DB tools or the C/C++ Precompiler programs in the following ways:
· Enter user data as options (note that the required options must always be entered for each tool used)
·
Enter user
data on the logon screen (for the Database Manager GUI and SQL Studio
tools)
Note the special features of entering user data in the SQL Studio (Opening a Database
Session).
· Use XUSER to specify user data
Entering incomplete or incorrect user data when calling the C/C++ Precompiler programs, application programs, or the SAP DB tools causes the program to terminate with an error message.
When you call the C/C++ Precompiler and application programs that were generated using the SAP DB programming interface, you can also transfer user data directly in the program itself. For this reason, the program contains a special modified rule for the transfer of user data. Basically, the logon options for the C/C++ Precompiler and application programs are the same as for the SAP DB tools.