User Concept 

The SAP DB database system uses SAP DB user classes and supports different roles (role concept).

Setting Up a Database Session

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:

userid

User name

password

The user’s password

database_name

The name of the SAP DB instance you want to work on

server_node

The name of the server node 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 following user data to the SAP DB tools or the C/C++ Precompiler programs:

Entering incomplete or incorrect user data when calling the C/C++ Precompiler programs, application programs, or the SAP DB tools cause 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.