Information in this document applies to any platform.
ARHRELTS.pls 120.2
ARHRELTB.pls 120.4
ARH2RGVB.pls
ARH2RGVS.pls
HZ_RELATIONSHIPS_PKG
HZ_REGISTRY_VALIDATE_V2PUB
SYMPTOMS
In Payables, when trying to save a new bank branch on a newly created bank, users are getting the following online error message:The following SQL error occurred: ORA-06508: PL/SQL: could not find program unit being called.
Payables Manager > Setup: Payment Banks and Bank Branches
Bank Branches Tab > Create
Enter Bank Name, Number and Country
Branch Options > Create New Branch
Enter Branch Name and Branch Type
Click on Save and Next or Finish
The following SQL error appears
ORA-06508: PL/SQL: could not find program unit being called.
Log shows that HZ_RELATIONSHIPS_PKG is the missing program.
After executing the files in SQL*Plus to create the database package,
SQLPlus apps/<password>
@ARHRELTS.pls
@ARHRELTB.pls
FND log shows the following errorORA-04065: not executed, altered or dropped stored procedure “APPS.HZ_RELATIONSH
ar.hz.plsql.HZ_Package.HZ_Module 5 SQL ERROR-The following SQL error occurred:
ORA-06508: PL/SQL: could not find program unit being called.
16481 —– PL/SQL Call Stack —– ORA-04065: not executed, altered or dropped stored procedure “APPS.HZ_RELATIONSH
Uupgrade from EBS 11.5.10.2 to R12CAUSE
The error occurs because HZ_REGISTRY_VALIDATE_V2PUB needs to be recompiled to include the most recent version of HZ_RELATIONSHIPS_PKG
SOLUTION
1. Execute HZ_RELATIONSHIPS_PKG to create the database package
SQL>@ARHRELTS.pls
SQL>@ARHRELTB.pls
2. Compile HZ_REGISTRY_VALIDATE_V2PUB
Alter package APPS.HZ_REGISTRY_VALIDATE_V2PUB compile;
Alter package APPS.HZ_REGISTRY_VALIDATE_V2PUB compile body;
3. Retest the issue.
As Apps user:
SQL> @ARHRELTS.pls
Package created.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[applvis@rgovis sql]$ locate ARHRELTB.pls
/d01/oracle/VIS/apps/apps_st/appl/ar/12.0.0/patch/115/sql/ARHRELTB.pls
SQL> @ARHRELTB.pls
Package body created.
Commit complete.
SQL> Alter package APPS.HZ_REGISTRY_VALIDATE_V2PUB compile;
Package altered.
SQL> Alter package APPS.HZ_REGISTRY_VALIDATE_V2PUB compile body;
Package body altered.
SQL> commit;
Commit complete.
Thanks,
Ananda Kumar V, Oracle Apps DBA, BCT