Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Ad ZD Prep

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Symptoms:

On Oracle Applications 12.2 version, online enablement patch 13543062 fails with:

begin
*
ERROR at line 1:
ORA-04063: package body "APPS.AD_ZD_PREP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "APPS.AD_ZD_PREP"
ORA-06512: at line 4

Try to compile the package:

SQL> alter package apps.AD_ZD_PREP compile body;

Warning: Package Body altered with compilation errors.

SQL> show error


Errors for PACKAGE BODY APPS.AD_ZD_PREP:

LINE/COL ERROR
-------- -----------------------------------------------------------------
308/6 PL/SQL: Statement ignored
308/6 PLS-00201: identifier 'SYS.DBMS_OBJECTS_APPS_UTILS' must be
declared

670/4 PL/SQL: Statement ignored


670/4 PLS-00201: identifier 'SYS.DBMS_OBJECTS_APPS_UTILS' must be
declared

753/6 PL/SQL: Statement ignored


753/6 PLS-00201: identifier 'SYS.DBMS_OBJECTS_APPS_UTILS' must be
declared

LINE/COL ERROR
-------- -----------------------------------------------------------------

1152/4 PL/SQL: Statement ignored


1152/17 PLS-00201: identifier 'SYS.DBMS_OBJECTS_APPS_UTILS' must be
declared

Solution:

cd $ORACLE_HOME
sqlplus / as sysdba

alter session set current_schema=SYS;


@?/rdbms/admin/dbmsobj.sql
@?/rdbms/admin/dbmsxdbschmig.sql
@?/rdbms/admin/prvtxdbschmig.plb

Run adgrants.sql from patch 22200487 (EBUSINESS SUITE: CONSOLIDATED ONLINE PATCHING
ENABLEMENT READINESS REPORT)

Copy adgrants.sql from patch directory to $ORACLE_HOME/appsutil/admin


$ sqlplus /nolog

SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql

SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql APPS

Try to compile the package again.

SQL> alter package apps.AD_ZD_PREP compile body;

Package body altered.

SQL> show error


No errors.

Check the status of all the AD_ZD objects:

You might also like