Zero Downtime Option for SAP Business Suite

Oracle Only: Creating and Updating the SAPDBA Role

For your Oracle database, you have to create and update the SAPDBA role.

Prerequisites

You have not yet resumed production operation of the system.

Context

To increase the security of your system, do not assign the DBA role to the OPS$ database users as of SAP Basis Release 4.x. You have already performed most of the required manual changes when you migrated Oracle to the required version.

The Software Update Manager imports additional objects that you have to adjust. This means that you have to execute the SQL script sapdba_role.sql again.

Procedure

  1. Log on as user ora<SID> on UNIX level.
  2. Start the SQL script with the following commands:

    cd $ORACLE_HOME/dbs

    cp <SUM>/abap/exe/sapdba_role.sql sapdba_role.sql

    sqlplus /nolog @sapdba_role <SAPSCHEMA-ID> (where <SAPSCHEMA-ID> is SR3 for SAPSR3)

    The following error message can be ignored:

    Error accessing PRODUCT_USER_PROFILE Warning: Product user profile information not loaded! You may need to run PUBLD.SQL as SYSTEM.