DB is inconsistent after the heterogenous system copy
Hi!
I have currently serios problems working with SAP ERP 2005 (SAP DB on Windows) that was installed via heterogenous system.
Entering into db-relevant tcodes such as DB13, etc. retrieves a dump "ITAB_DUPLICATE_KEY".
Furthermore it is not possible to execute the patch in tcode SPAM, because the patch is hanging in the phase "IMPORT_PROPER" (the DD structure seems to be inconsistent).
Can someone describe the procedure with technical steps to solve the problem?
Thank you very much!
regards
Thom
Please check this note if it helps.
Note 940878 - DB02N collector: ITAB_DUPLICATE_KEY
Import_Improper
You can do one thing if you are not able to proceed with patching.
You can go to pat01 and pat03 .
You try to rest the staus of patch in table pat03 to N
and start the same patch again.
update table sapr3.pat03 status='N' where patch='SAPKA46D04';
or get abaper to reset the value from abap.
Hope it helps
Amit Asthana
Similar Messages
-
Heterogeneous system copy. Error in SMIGR_CREATE_DDL
Hello!
I perform a heterogeneous system copy of RHEL5/Oracle11/ERP6/0 > RHEL6/MaxDB/ERP6.0
I use the "System Copy Guide for SAP Systems Based on NW 7.0 SR3 ABAP + Java". At the stage "4.2 Generating DDL" statements is a problem. I'm doing "Call transaction SE38 and run the program SMIGR_CREATE_DDL."
But i get error:
Runtime Errors DATASET_NOT_OPEN
Exception CX_SY_FILE_OPEN_MODE
Date and Time 20.09.2011 12:16:01
Short text
File "/EXPORT_DDL/SQLFiles.LST" is not open.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_SMIGR_DDL==================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_FILE_OPEN_MODE', was not
caught in
procedure "WRITE_DDL_TO_FILE" "(METHOD)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
When accessing the file "/EXPORT_DDL/SQLFiles.LST", the system recognized that
this file is
not open. Therefore, the file cannot be accessed.
How to correct the error
Before the first access, the file must be opened using the ABAP language
element "OPEN DATASET '/EXPORT_DDL/SQLFiles.LST'" and after the last access,
it must be
closed using the language element "CLOSE DATASET '/EXPORT_DDL/SQLFiles.LST'".
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DATASET_NOT_OPEN" "CX_SY_FILE_OPEN_MODE"
"CL_SMIGR_DDL==================CP" or "CL_SMIGR_DDL==================CM003"
"WRITE_DDL_TO_FILE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
I forgot something to do?> File "/EXPORT_DDL/SQLFiles.LST" is not open.
Make sure the user <sid>adm is permitted to write to that directory.
Markus -
Error during Heterogeneous System Copy - Phase 18 Import ABAP
Hello gurus,
I´m facing an error during the Target Installation in a Heterogeneous System Copy (Migration). The system SAP is a SAP ECC 6.0 SR3 (Unicode and Abap+Java).
Source server:
Operation System: Windows 2003 Server x64
Database: SQL Server 2008 SP01
Target server:
Operation System: Red Hat Enterprise Linux (RHEL) X64
Database: Oracle DB 10.2g (10.2.0.4)
I already did the all procedures in export database and all that looks fine!
At this point I´m running the system copy procedure through SAPInst on target server (RHEL / Oracle) but in phase 18 - Import ABAP the sapinst stops... (by the way in procedure bar, I can see "Import Monitor jobs: running 0, waiting 1, completed 0, failed 18, total 19")
I checked three log files (sapinst_dev.log ; sapinst.log ; SAPSDIC.log):
SAPSDIC.log:
/usr/sap/QAS/SYS/exe/run/R3load: START OF LOG: 20100820145140
/usr/sap/QAS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/QAS/SYS/exe/run/R3load: version R7.00/V1.4 [UNICODE]
Compiled Jan 23 2008 17:39:05
/usr/sap/QAS/SYS/exe/run/R3load -ctf I /software/export_preparation/ABAP/DATA/SAPSDIC.STR /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS/DDLORA.TPL SAPSDIC.TSK ORA -l SAPSDIC.log
(TPL) ERROR: unknown template variable "compress"
/usr/sap/QAS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/QAS/SYS/exe/run/R3load: END OF LOG: 20100820145140Hi Volker,
> (TPL) ERROR: unknown template variable "compress"
> This message looks like the DDLORA.TPL contains stuff that should not belong there.
> Can you attach the DDLORA.TPL.
> There are some bugs with SMIGR_CREATE_DDL, but they are mostly not related to oracle.
prikey: AFTER_LOAD ORDER_BY_PKEY
seckey: AFTER_LOAD
cretab: CREATE TABLE &tab_name&
( /{ &fld_name& &fld_desc& /-, /} )
TABLESPACE &tablespace&
&compress&
&lob_cache&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
drptab: DROP TABLE &tab_name&
crepky: CREATE UNIQUE INDEX &pri_key&
ON &tab_name&
( &key_fld& /-, )
TABLESPACE &tablespace&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
NOLOGGING
COMPUTE STATISTICS ;
ALTER INDEX &pri_key& LOGGING
drppky: DROP INDEX &pri_key&
creind: CREATE &unique& INDEX &ind_name&
ON &tab_name&
( /{ &fld_name& /-, /} )
TABLESPACE &tablespace&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
NOLOGGING
COMPUTE STATISTICS ;
ALTER INDEX &ind_name& LOGGING
drpind: DROP INDEX &ind_name&
crevie: CREATE VIEW &view_name&
( /{ &fld_name& /-, /} )
AS &query&
drpvie: DROP VIEW &view_name&
trcdat: TRUNCATE TABLE &tab_name&
deldat: DELETE FROM &tab_name& &where&
negtab: LICHECK MLICHECK
negdat: LICHECK MLICHECK
negind: LICHECK0 MLICHECK0 LICHECK0 MLICHECK0
negvie:
negcpr:ARFCSSTATE ARFCSDATA ARFCRSTATE TRFCQDATA TRFCQIN TRFCQOUT TRFCQSTATE QRFCTRACE QRFCLOG
table storage parameters
loc: APPL0 PSAPSR3 0000
APPL1 PSAPSR3 0000
APPL2 PSAPSR3 0000
CLUST PSAPSR3 0000
DDIM PSAPSR3 0000
DFACT PSAPSR3 0000
DODS PSAPSR3 0000
POOL PSAPSR3 0000
SDIC PSAPSR3 0
SDOCU PSAPSR3 0000
SLDEF PSAPSR3700 0000
SLEXC PSAPSR3700 0000
SLOAD PSAPSR3 0000
SPROT PSAPSR3 0000
SSDEF PSAPSR3700 0000
SSEXC PSAPSR3700 0000
SSRC PSAPSR3 0000
TEMP PSAPSR3 0000
USER PSAPSR3USR 0000
USER1 PSAPSR3USR 0000
sto: 0 0000000016K 0000000040K 0000000001 2147483645
1 0000000016K 0000000160K 0000000001 2147483645
10 0000000016K 0000655360K 0000000001 2147483645
11 0000000016K 0001310720K 0000000001 2147483645
12 0000000016K 0002621440K 0000000001 2147483645
13 0000000016K 0005242880K 0000000001 2147483645
14 0000000016K 0010485760K 0000000001 2147483645
2 0000000016K 0000000640K 0000000001 2147483645
3 0000000016K 0000002560K 0000000001 2147483645
4 0000000016K 0000010240K 0000000001 2147483645
5 0000000016K 0000020480K 0000000001 2147483645
6 0000000016K 0000040960K 0000000001 2147483645
7 0000000016K 0000081920K 0000000001 2147483645
8 0000000016K 0000163840K 0000000001 2147483645
9 0000000016K 0000327680K 0000000001 2147483645
index storage parameters
loc: APPL0 PSAPSR3 0000
APPL1 PSAPSR3 0000
APPL2 PSAPSR3 0000
CLUST PSAPSR3 0000
DDIM PSAPSR3 0000
DFACT PSAPSR3 0000
DODS PSAPSR3 0000
POOL PSAPSR3 0000
SDIC PSAPSR3 0
SDOCU PSAPSR3 0000
SLDEF PSAPSR3700 0000
SLEXC PSAPSR3700 0000
SLOAD PSAPSR3 0000
SPROT PSAPSR3 0000
SSDEF PSAPSR3700 0000
SSEXC PSAPSR3700 0000
SSRC PSAPSR3 0000
TEMP PSAPSR3 0000
USER PSAPSR3USR 0000
USER1 PSAPSR3USR 0000
sto: 0 0000000016K 0000000040K 0000000001 2147483645
1 0000000016K 0000000080K 0000000001 2147483645
10 0000000016K 0000163840K 0000000001 2147483645
11 0000000016K 0000327680K 0000000001 2147483645
12 0000000016K 0000655360K 0000000001 2147483645
13 0000000016K 0001310720K 0000000001 2147483645
14 0000000016K 0002621440K 0000000001 2147483645
2 0000000016K 0000000160K 0000000001 2147483645
3 0000000016K 0000000640K 0000000001 2147483645
4 0000000016K 0000002560K 0000000001 2147483645
5 0000000016K 0000005120K 0000000001 2147483645
6 0000000016K 0000010240K 0000000001 2147483645
7 0000000016K 0000020480K 0000000001 2147483645
8 0000000016K 0000040960K 0000000001 2147483645
9 0000000016K 0000081920K 0000000001 2147483645 -
Symbolic link error when exporting during heterogeneous system copy
My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
I want to export both ABAP & JAVA stack but only the java stack is getting picked.
Below is part of the resultng sapinst.log
Thanks
INFO 2011-09-05 10:44:30.573
Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO[E] 2011-09-05 10:44:33.851
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:33.851
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO 2011-09-05 10:44:46.118
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
#Mon Sep 05 10:44:45 EAT 2011
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
java.vm.version=1.4.2_09-b05
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http\://java.sun.com/
path.separator=\:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/oracle/PRD/INSTDIR/sapinst_dir
java.runtime.version=1.4.2_09-b05
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
os.arch=sparc
java.io.tmpdir=/var/tmp/
line.separator=\n
java.vm.specification.vendor=Sun Microsystems Inc.
os.name=SunOS
sun.java2d.fontpath=
java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
os.version=5.10
user.home=/
user.timezone=Africa/Nairobi
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ISO8859-1
java.specification.version=1.4
java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
user.name=root
java.vm.specification.version=1.0
java.home=/usr/j2sdk1.4.2_09/jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode
java.version=1.4.2_09
java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeBig
sun.cpu.endian=big
sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
INFO 2011-09-05 10:44:47.076
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
INFO 2011-09-05 10:44:47.572
Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO 2011-09-05 10:44:47.715
Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
WARNING 2011-09-05 10:44:47.944
Could not determine a valid JAVA_HOME directory from the environment.
INFO 2011-09-05 10:44:48.86
Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:48.890
Account sapinst already exists.
INFO 2011-09-05 10:44:48.894
Account prdadm already exists.
INFO 2011-09-05 10:44:48.917
Account oraprd already exists.
INFO 2011-09-05 10:44:49.73
Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.217
Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.341
Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.480
Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
INFO[E] 2011-09-05 10:44:52.251
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:52.252
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.760
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.761
FSL-02061 Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.762
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.762
FSL-02061 Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.763
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.764
FSL-02061 Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.765
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.765
FSL-02061 Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.766
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.767
FSL-02061 Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.768
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.768
FSL-02061 Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.769
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.770
FSL-02061 Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.771
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.772
FSL-02061 Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.773
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.773
FSL-02061 Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.774
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.775
FSL-02061 Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.776
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.777
FSL-02061 Link /oracle/PRD/css is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.778
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.778
FSL-02061 Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.779
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).Hi,
In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full offline backup .
Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
Regards
APR -
Possible migration(Heterogeneous system copy) combination
Dear all
Currently we're planning to do Heterogeneous system copy
from the following source(current system) and target.
Source : R/3 4.6C + Oracle 8.1.7 on AIX 4.3.3
Target : R/3 4.6C + Oracle 10.2 on Windows 2003
For the target system, i checked the PAM in Service Marketplace
and it seems that R/3 4.6C + Oracle 10.2 on Windows 2003 is supported.
But i'm not sure whether this source - target combination is possible
in Heterogeneous system copy.
To summarize, here are 2 questions.
1) Where can i find Heterogeneous system copy combination?
(OS/DB combination which supports Heterogeneous system copy in R/3 4.6C)
2) Is the above Source - Target combination is possible?
Best Regards.
Ahn> Source : R/3 4.6C + Oracle 8.1.7 on AIX 4.3.3
> Target : R/3 4.6C + Oracle 10.2 on Windows 2003
Yes - this is possible and supported. But keep in mind:
- you must have a certified migration consultant doing the migration. If you do it on your own, you'll loose support for problems during the migration and for the target system --> SAP will bill help (see http://service.sap.com/osdbmigration --> FAQ)
- 4.6c is out of general support; you may need to buy extended support to get the migration kit
Markus -
Heterogeneous system copy from MSSQL to Oracle
Dear Experts,
I have performed ABAP+JAVA system copy R3load based from Oracle to Oracle and MSSQL to MSSQL platform.
Homogeneous system copy many times.
But this is first time i am perfoming an Export from MSSQL source system with r3load Export method .....My Target system is havign Oracle 10.2.0.2 software installed along with installation prerequisites.
But while Importing the same MSSQL Export ...I am not getting any option for heterogeneous system copy.
I am running on ECC6.0 windows platform and i also have generated Migartion KEY.
But where should i put this key.
I have gone through system copy guide many times but unable to understand Exact options to follow to Migrate to Oracle target system. Appreciate if anyone can give me detail steps i need to carry on Target system
Best Regards,
AjitRMarkus,
Thanks for the help, i have done Export with mentioned way and this time DBSIZE.xml file got created under ORA directory ....i started installation at target system....It went smooth until phase Import java Dump Done. .....But during Post load activities It gave error...
When i tried connectivity to Oracle database it works fine and
R3trans -d gives below mentioned error....Looks like table does not exist....all ENV variables are also got set at target machine.....
Error as below
Now 'SAPSR3/<pwd>@TST' is connected (con_hdl 0, nls_hdl 0).
4 ETW000 389 0.171885
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 23682 0.195567
4 ETW000 [dev trc ,00000] Database instance TST is running on CSSLDELL-3 with ORACLE version 10.2.0.2.0 since 20080522
4 ETW000 4056 0.199623
4 ETW000 [dev trc ,00000] Connection 0 opened (DBSL handle 0) 14523 0.214146
4 ETW000 [dblink ,01299] ***LOG BZA=>table SVERS does not exist on database [dblink#3 @ 1299]
4 ETW000 8145 0.222291
4 ETW000 [dev trc ,00000] NTAB: SELECT COMPCNT FROM DDNTT FAILED 1021 0.223312
4 ETW000 [dev trc ,00000] NTAB: SELECT VERSION FROM DDNTT FAILED 520 0.223832
4 ETW000 [dbntab.c ,00000] *** ERROR => NTAB: SELECT VERSION/DBASE FROM DDNTT FAILED
4 ETW000 505 0.224337
4 ETW000 [dbntab ,01273] ***LOG BZY=>unexpected return code 103 calling NTAB [dbntab#3 @ 12737]
Please help...Points rewarded anyways..... -
Downtime for Heterogeneous System Copy Export of Source DB2 LUW
Hello,
What is the downtime required for a heterogeneous system copy export of a source database on AIX with DB2 LUW? Here are the following details of the data itself:
DB size: 120 GB used of 240 GB.
Physical server: IBM Power5 quad-core 1.65GHz virtualized
RAM: 9.5GB> What is the downtime required for a heterogeneous system copy export of a source database on AIX with DB2 LUW? Here are the following details of the data itself:
I suggest you just "try it out" as a test run. It's quite impossible to give estimates based on database sizes. It's possible to migrate roughly 1 TB/hour with appropriate hardware, mostly your harddisks will be the bottleneck.
There are also a number of other factors like number of R3load processes, table splitting or not, parallel export/import etc.
I highly suggest to run the migration a few times before you do the "live" migration.
Markus -
Homogeneous/heterogeneous system copy
In the homogeneous/heterogeneous system copy guide, I'm told to delete all entries in the tables DBSTATHORA, DBSTAIHORA, DBSTAIORA and DBSTATTORA.
Why do I need to delete all the entries in these tables? What are the entries in these tables for? What happens if I don't delete the entries from these tables?Hi Jamal,
I believe you are talking about the tables DBSTATHORA, DBSTAIHORA,
DBSTATIORA, DBSTATTORA. These tables contain statistical
data (like performance) from the source system. Since that is of no use
in your new system you can delete it with the following command in
SQL*Plus as user sapr3 (or sap<sid> when using Basis >=610)
delete from DBSTATHORA;
Repeat this command for the other tables
or execute being in SQL> prompt
truncate <Tablename>
Hope this helps you to understand the pupose and how to delete them.
Regards
Sekhar -
Homogeneous and Heterogeneous System Copy
Hello Guru's
Greeting ! . . .
I wanted some help regarding Homogeneous and Heterogeneous System Copy.
It would be helpful if you can guide me for an Step by Step procedure for Homogeneous and Heterogeneous System copy. As i have to carry out both of the activity.
Homogeneous:- AIX5.3/Oracle10 to AIX5.3/Oracle10
Heterogeneous:- AIX5.3/Oracle10 to Windows2003/Oracle10
Thanks & Best Regards
AshishHello Ashish,
You can find the guides here in this location.
https://websmp203.sap-ag.de/systemcopy
If you have complete backup then you start you SAPInst on the system on which you want to have systemcopied.
Then when you are starting DB instance then instead of using the Export DVD you need provide the Database which is backed up. There are screens where it will ask you for editing SID you need to specify that during DB instance.
For further processes you can download the corressponding guide from above link.
Thanks & Regards
Vivek -
ST02 shows multiple servers after heterogenous system copy
We're facing a strange behaviour in ST02 after a system copy using MaxDB backup/restore with SWPM (backup was from our production system). When we click on history, no data is shown:
We have to click on "-> Server", then the data is shown:
Does anyone know how to make history work?Hello Alwina,
Thanks for the help.
Mine is EHP7 NW 7.4, standard system, cent serv instance(Mes Serv & Enqueue server), primary app server (Dia Bg Up Spo) runs on the single host along with Oracle DB 11.2.0.4.
In my rest of the systems also I have the same notations, server name its in upper case and hostname is in lower case (ofcourse they are of other netweaver release) for SM51.
niping results
Hostname/Nodeaddr verification:
===============================
Hostname of local computer: EUSAPADHR01 (NiMyHostName)
FQHN of local computer: EUSAPADHR01.dfs (NiGetOwnFQDN)
Lookup of hostname: EUSAPADHR01 (NiHostToAddr)
--> IP-Addr.: 10.170.83.88
Lookup of IP-Addr.: 10.170.83.88 (NiAddrToHost)
--> Hostname: eusapadhr01.abc
Lookup of hostname: EUSAPADHR01 (NiHostToAddr)
--> IP-Addr.: 10.170.83.88
Lookup of IP-Addr.: 10.170.83.88 (NiAddrToHost)
--> Hostname: eusapadhr01.abc
Yes initially it gives 8 characters in the text.
But in the actual values it is like eusapadh_HRP_40..
Hope you understand my case.
Ok so implementing the note would fix this ST02 history issue - confirm? -
The disp+work.exe process does not start - after a homogenouse system copy-
Hi there,
after a system copy from 4.6C (windows server 2003/oracle 10.2) to the same the database start and it is running fine but the when I try to start R/3 the process "disp+work.exe" stops after few seconde. The msg_server is running.
Is this a problem of memory? Maybe you have a quick feedback?
Thanks in advance
HanseAtikHi Sharad,
Thanks for your reply. the problem was the password of user SAPR3. Now I changed it vis sqlplus to sap and R/ can start.
Now I am getting the problem that the saplicense is not valid - when I try to login to R/3. This is logic because its from the source system.
My problem now is:
When try install the saplicende vis: saplicense -install
I get the error message:
*SAPLICENSE (Release 46D) ERROR ****
ERROR: Connect to Database failed
Details: DbsIConnect failed with return code 18.
Even "R3trans -d" failed.
Any idea?
Thanks in advance
Hanseatik -
Heterogeneous System Copy.
Hi,
I need to do a het. sys. copy from DB2 AIX to DB2 Windows for ECC EhP4 System. I ran DB export using SAPinst in the source system, but could not find any data in the export directory. The SAPinst has only created some directories without data. To my surprise whole export completed in few seconds, which is highly impossible.
Could anyone please suggest how to go about this?
Thanks
AbhiIf the system was installed with a virtual hostname you need to set start sapinst as
SAPINST_USE_HOSTNAME=<hostname> ./sapinst
Be aware of the fact, that heterogeneous migrations require a certified migration consultant on-site, otherwise you'll loose support for problems during and after the migration including the target system (see http://service.sap.com/osdbmigration --> FAQ).
Markus -
Post installation steps after SAP BW system copy
Hi!
I am about to do post processsing steps after system copy of SAP BW system.
1) One of the steps is to delete all entries from tables DBSTATHORA, DBSTAIHORA, DBSTATIORA,
DBSTATTORA.
Question: what is the way to do this?
2) During the installation I received the error within import ABAP step.
(IMP) INFO: import of D010TAB completed (4477754 rows) #20090505133631
DbSl Trace: Error 12801 in exec_immediate() from oci_execute_stmt(), orpc=0
DbSl Trace: ORA-12801 occurred when executing SQL stmt (parse error offset=0)
(DB) ERROR: DDL statement failed
(CREATE UNIQUE INDEX "D010TAB~0" ON "D010TAB" ( "MASTER", "TABNAME" ) TABLESPACE PSAPSR3700 STORAGE (INITIAL 423090176 NEXT 0000000640K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS PARALLEL )
DbSlExecute: rc = 99
(SQL error 12801)
error message returned by DbSl:
ORA-12801: error signaled in parallel query server P000
ORA-01659: unable to allocate MINEXTENTS beyond 34 in tablespace PSAPSR3700
(DB) INFO: disconnected from DB
As solution I changed the the following lines within D010TAB.TSK:
from D010TAB~ 0 C err to D010TAB~0 C ign and
from D010TAB1 C err to D010TAB1 C ign
Question:
how to create index manually after system copy?
Thnak you very much!Jgen Pfeiffer wrote:>
> Hi!
>
> I am about to do post processsing steps after system copy of SAP BW system.
>
> 1) One of the steps is to delete all entries from tables DBSTATHORA, DBSTAIHORA, DBSTATIORA,
> DBSTATTORA.
> Question: what is the way to do this?
Simply run
TRUNCATE TABLE <table_name>;
for each of those tables.
Make sure to either logon as SAP<SID> or provide the owner of the tables with the statement.
> 2) During the installation I received the error within import ABAP step.
> (IMP) INFO: import of D010TAB completed (4477754 rows) #20090505133631
> DbSl Trace: Error 12801 in exec_immediate() from oci_execute_stmt(), orpc=0
> DbSl Trace: ORA-12801 occurred when executing SQL stmt (parse error offset=0)
> (DB) ERROR: DDL statement failed
> (CREATE UNIQUE INDEX "D010TAB~0" ON "D010TAB" ( "MASTER", "TABNAME" ) TABLESPACE PSAPSR3700 STORAGE (INITIAL 423090176 NEXT 0000000640K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS PARALLEL )
> DbSlExecute: rc = 99
> (SQL error 12801)
> error message returned by DbSl:
> ORA-12801: error signaled in parallel query server P000
> ORA-01659: unable to allocate MINEXTENTS beyond 34 in tablespace PSAPSR3700
> (DB) INFO: disconnected from DB
>
> As solution I changed the the following lines within D010TAB.TSK:
> from D010TAB~ 0 C err to D010TAB~0 C ign and
> from D010TAB1 C err to D010TAB1 C ign
>
> Question:
> how to create index manually after system copy?
The problem here was the large INITIAL size clause.
If there is enough freespace at all in the tablespace this should work:
CREATE UNIQUE INDEX "D010TAB~0" ON "D010TAB" ( "MASTER", "TABNAME" ) TABLESPACE PSAPSR3700 NOLOGGING COMPUTE STATISTICS PARALLEL;
If I'm not wrong, the second index is just vice versa:
CREATE UNIQUE INDEX "D010TAB~1" ON "D010TAB" ( "TABNAME", "MASTER" ) TABLESPACE PSAPSR3700 NOLOGGING COMPUTE STATISTICS PARALLEL;
In general it is really not a good idea to skip the creation of unique indexes...
regards,
Lars -
Problems Delta Extractor after Homogeneous Source System Copy
Hi,
We have R/3 system landscape HUD, HUQ, HUP. And we have BW system landscape BWD and BWP.
We connect BWD to HUQ and BWP to HUP.
We made a homogeneous system copy from HUP to HUQ.
We haven´t made any homogeneous system copy from BWP to BWD.
We have applied the next OSS note after source system copy:
325525 Copying and renaming systems in a BW environment
184322 Procedure after DB copy of BW source system
184754 Procedure after BW database copy.
But we have problems in our BW Development (BWD), and we have the next Dump "MESSAGE_TYPE_X" when we can change any delta infopacket, the next text are from Dump:
"MESSAGE_TYPE_X" C
"SAPLRSS1 " or "LRSS1F11 "
"RSM1_CHECK_FOR_DELTAUPD"
I think that the problem is about inconsistencies between RSSDLINIT/SEL tables in BW side and ROOSPRMSC/F tables in R/3 side.
Please could you tell how can i solve this Dump, because i can restrart and initial and delta packet for different Datasource and i can´t do anything.
Thanks in advanced,Hi,
We are upgrading our R/3 system from 4.7 to Ecc 6.
While copying database tables we are using Clinet Carrier tool which is considering only clinet dependent tables. Hence we are loosing our BW delta queue entries in RSA7 of ugraded system.
We found ROOSPRMSC and ROOSPRMSF tables and copying these 2 tables may resolve the issue and We copied and delta went fine.But we are not sure of only these are the tables to be considered.
Please let us know what are the relevent tables to be considered to make the Delta to work while copying Data base tables from one system to another.
Thanks in Advance
Regards,
R@ngzz -
We would like to test old deltas from the source system( copied to new)
Hi Gurus,
The scenario is
They will make a DB copy of the Prod system onto a QA system, the Copied system will have
its system ID changed(SID) to a new one.
There will be deltas available in the RSA7, as this is a copy of the 3 weeks old prod
system. Now the delta's will be available on the Copied system pointing to the BW Prod system.
We would like to test these delta's to BW Dev. why we would like to do the delta's to the
BW dev system is to check whether we can do system copies without clearing the delta's on
the source system.
After the system copy we will do all the activities necessary to reflect the system changes
a. Like BDLS, We20, we21,ALE checks, RFCDES, RSLOGSYSDEST, RSBASIDOC, etc on the source system to
reflect the changes of the BW Prod system to BW Dev system.
b. Likewise, we will perform all the above activities on the BW dev system by changing the
existing source system to the new source system( performing BDLS,we0, we21, etc)to reflect
the new Source system with the new (SID).
c. We will check the source system connection
d. Replicate the datasources on the new source system
e. Activate the Transfer rules for the new source system.
Now for us to do delta's from the new source system to the Bw dev system we need to change
underlying tables in source system to point the delta's, arfc TID's etc to the BW dev system.
We can change the entries in the TRFCQOUT, ARFCCSTATE, ARFCDATA tables to point the LUW's and
destination to the BW dev system.
What I presume is if we run the BDLS on the Copied system to change the BW prod system to BW
and also the underlying Tables for the LUW's and etc will still be pointing to BW Dev. I would
like to know if this is the case .
Lastly, appreciate if anyone can say if this is possible to do without having to clear the
BW delta queue on the source system.Hi Ramesh,
Appreciate a lot for your response, but i would like to know if we can reflect the entries in table RSSDLINIT(Last Valid Initializations to an OLTP Source) and RSSDLINITSEL(Last Valid Initializations to an OLTP Source) in the BW system on the copied source system
tables ROOSPRMSC(Control Parameter Per DataSource Channel), ROOSPRMSF(Control Parameter Per DataSource Channel) by executing the ABAP program RSSM_OLTP_INIT_DELTA_UPDATE after we do the BDLS conversion on the new copied source system.
After the BDLS conversion I reckon the entries in the RSA7 queue, ARFCCSTATE, TRFCQOUT tables willl reflect the BW Development system instead of the BW Production system isnt it.
response much appreciated.
Kalyan
Maybe you are looking for
-
Hi all, My client requirement is to check the pending Miro at the time of Migo. The flow is when end user doing migo, if there is any miro pending for any migo at plant level then the system should propose an error. is it possible in standard or i ha
-
How do I organise items in a folder?
How do I organise items in a folder? There is probably a really simply answer! I want to change the order of items listed, but dragging doesnt work...
-
Hi, I am facing a weird problem with the Inputfield values in the BSP application which is developed using MVC architecture. When i try to enter a value in the inputfield, the value is preceeded by a space. by default looks like the inputfield value
-
Form values not carried over to subsequent recordset displays
Example of the problem (Input the name "hruska" and then attempt to get the second page of 30 results.) This is a form which inserts the variable of "last_name" into a query for records from my db. Using the DW CS3 server behaviors (with some modific
-
Help needed on Dot Matrix Printer Settings
Hi all, We have a requirement to print some documents on a dot matrix printer. I have created a device choosing SWIN as the device type & also assigned my Z page formats to this device type. But printing with this device type takes a long time. So, t