Notes on Using Web SQL (SAP DB Version prior to 7.2.5) 

If you are using a database server that has a release lower than Version 7.2.5, please read the section below carefully.

Changes to the Database Server for Using Web SQL

To enable the entire functional scope of SAP DB Web Tool Web SQL to be used, you must carry out the following actions on the database server that is to be accessed using Web SQL:

  1. Copy the file <installation_path_web_tools>/env/QP.ins to the directory <installation_dependent_path>/env of the desired database server.
  2. On the database server, load the system tables of the database system. Enter the following command:
    dbmcli –u <DBM_userid>,<DBM_password> -d <database_instance> load_systab

You only have to carry out these steps once on the database server.

Access to Stored Statements with Changed User Name

If a user name is changed on the database server accessed with Web SQL, the user in question can no longer access his Stored Statements in the same way as before.

To enable the user to continue accessing his Stored Statements, you must carry out the following steps:

  1. Start Web SQL as a DBA user.
  2. Enter the following SQL statements:
    UPDATE sysdba.wa_inode SET "VIEWOWNER" = ’<new_user_name>’ WHERE "VIEWOWNER" = ’<old_user_name>’
    UPDATE sysdba.wa_container SET "VIEWOWNER" = ’<new_user_name>’  WHERE "VIEWOWNER" = ’<old_user_name>’

Deleting Stored Statements of a Deleted User Name

If a user name is deleted on the database server accessed with Web SQL, the Stored Statements of this user are not deleted automatically.

To delete the Stored Statements, you have to carry out the following steps:

  1. Start Web SQL as a DBA user.
  2. Enter the following SQL statements:
    DELETE sysdba.wa_inode WHERE "VIEWOWNER" = ’<deleted_user>’
    DELETE sysdba.wa_container WHERE "VIEWOWNER" = ’<deleted_user>’

Integration

Using the SAP DB Web Tools