Dear SAP'pies
We have started an upgrade from ERP 604 to 607.
In the prepare phase MAIN_SHDINST/SUBMOD_SHDALIASCRE/EU_CLONE_CRE_SHDVIEWS we are facing an issue creating views in the SHD instance.
Facts:
AIX 7.1
DB6 10.5
The system we are trying to upgrade is a sandbox system restored from a backup of our productive system.
We see the following issue when creating the views D010B and D010LINF:
( CREATE VIEW "D010B" ( "MASTER", "TABNAME" ) AS SELECT T0001."MASTER", T0001."TABNAME" FROM "D010TAB" T0001 )
dsql_exec_immediate returned DS_DBOBJECTUNKNOWN
(DB) ERROR: DDL statement failed
( CREATE VIEW "D010LINF" ( "PROG", "R3STATE", "MACH", "UNAM", "UDAT", "UTIME", "L_DATALG", "Q_DATALG", "SDAT", "STIME", "MINOR_VERS", "MAJOR_VERS" ) AS SELECT T0001."PROGNAME", T0001."R3STATE", T0001."MACH", T0001."UNAM", T0001."UDAT", T0001."UTIME", T0001."L_DATALG", T0001."Q_DATALG", T0001."SDAT", T0001."STIME", T0001."MINOR_VERS", T0001."MAJOR_VERS" FROM "REPOLOAD" T0001 )
dsql_exec_immediate returned DS_DBOBJECTUNKNOWN
(DB) ERROR: DDL statement failed
When restoring the system the owner of the tables is SAPPEC, therefore the environment variable DBS_DB6_SCHEMA=SAPPEC was set according to SAP documentation.
It seems that when creating the view, the upgrade is expecting the owner to be SAPQE2, but our owner is SAPPEC!
Therefore the object is UNKNOWN.
If we sign on to the database using:
DB2 connect to QE2
user SAPPEC using <password>
We are able to create the views.
As this is a solution taken from the SAP documentation, we expect that a solution exist for this, in upgrade documentation.
Anyone in here who know where to find a solution for this?
Best regards,
Teddy Løv Andersen