Respaldo de RFCs
Respaldo de RFCs
Respaldo de RFCs
Save RFC Destinations Please use the Dummy Buffer called XXX
Client Independent
Enter transaction se09
Choose Request/task Create
Choose Workbench request, hit ok
Enter Short Description
o Example: RFC Connections for <SID> - <DATE>
Click on task transport
Choose Request/task Delete
Choose Request and Choose Reqeust/task ObjectList Display Object
List. Or double click in the request and then click the change button.
Record Transport Number and Verify cofile and data file exist at UNIX
level
o As <sid>adm
o <sid>adm> cd /usr/sap/trans/cofiles
o <sid>adm> ls -l <Transport Number>.<SID>
o <sid>adm> cd /usr/sap/trans/data
o <sid>adm> ls -l <Transport Number>.<SID>
o <sid>adm> cd /usr/sap/trans/data
o <sid>adm> ls -l <Transport Number>.<SID>
1.3. Partner Profiles
Save Partner Profiles via SE09 (ONLY 4.6C)
o Login into Productive Client, i.e. 510
o Enter transaction se09
<sid>adm> cd /usr/sap/trans/data
<sid>adm> ls -l <Transport Number>.<SID>
1.4. User master Records and Security Roles
1. Review the documentation, especially for specific system refreshes like BI, etc.
2. Back up everything needed, for example, RFC connections, packages, printers,
distribution models, profiles, users, etc.
3. Shutdown the system and handover it to the DBA
4. Try to start SAP system and if you receive an error regarding to the connection to
the database can not be stablished please be sure you are using the correct
“schema”. Remember the you are bringing the database from another system and
may be the name of this source system is different,and because that the “schema
is different. If this is the case be sure that the following environment variable is
correct:
a. dbs_db6_schema=<source system schema>
b. If it is necessary please set the environment variable in the user profile
i. /home/<sid>adm/ .cshrc
ii. /home/<sid>adm/.dbenv_hqsappe0.csh
5. Try to start sap system and if it shows an error regarding to R3trans connection,
run R3trans –d and check trans.log file may be you will find an error like that:
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note
1028779)
4 ETW000 52 0.016923
4 ETW000 [dev trc ,00000] Supported features: 32 0.016955
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 33 0.016988
4 ETW000 [dev trc ,00000] ..done 209 0.017197
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 33 0.017230
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1636] CON = 0 (BEGIN)
4 ETW000 42609 0.059839
4 ETW000 [dev trc ,00000] &+ DbSlConnectDB6( SQLConnect ): [IBM][CLI Driver]
SQL1326N The file or directory "/db2/BIS/sapdata1/db2bis/NODE0000
4 ETW000 57 0.059896
4 ETW000 [dev trc ,00000] &+ /sqldbdir/sqldbdir" cannot be accessed
4 ETW000 56 0.059952
4 ETW000 [dev trc ,00000] &+
4 ETW000 55 0.060007
4 ETW000 [dev trc ,00000] &+
4 ETW000 57 0.060064
4 ETW000 [dev trc ,00000] &+
4 ETW000 55 0.060119
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1636] (END) 35
0.060154
4 ETW000 [dbdb6.c ,00000] *** ERROR => DbSlConnect to 'BIS' as 'sapbis' failed
4 ETW000 95 0.060249
2EETW169 no connect possible: "DBMS = DB6 --- DB2DBDFT = 'BIS'"
6. Be sure that the “<sid>adm” and “sap<sid>” from the source system exist on the
target system, and be sure they have the correct password. If the users don’t
exists, create them using SMITTY
If this is the error please it is because the permissions for the users sap<surce id> and
<source id>adm please make sure they are members of the following groups:
7. This error is probably because the new created users need a new password, to
solve the problem try to login to the system with the <sid>adm and sap<sid>
users and change you will be asked to change the passwords for the first time.
Then rewrite the file “dscdb6.conf” using the following command:
8. Only for SCM systems. In the case of a system running on DB2 9.7 some
additional steps need to performed in the target system from the database
administrator and also the basis team needs to run a script qith <sid>adm
credentials. The script name is bbb.ksh.
db6util -rtvt $a $b
We created a script bbb.ksh that includes the command.
# !/bin/ksh
# ########################
#
# bbb.ksh
#
#
#
#
# ########################
IFS=" "
while read a b; do
db6util -rtvt $a $b
Switch to k shell
hqsapsa0:scsadm 17> ksh
9. In order to refresh the Live Cache system for a SCM system check the SAP notes
886103, 877203 and 457425. Basically use the backup restore procedure and re
configure the connections from LC10 transaction.
a. Once you restore Livecache, make sure you connect using
<source_id>adm user credentials to connect. You have to configure this in
Livecache “integration” screen in LC10 transaction.
b. Also you have to delete a couple of tables from LiveCache database
according to 1015489 note.
c. Finally use /n/sapapo/OM13 transaction to check LiveCache and meke
sure there are no errors.
10. Inactivate or delete the partner profiles that came with the system copy from the
source system.
11. If the target system is a recently created system (new) and the kernel patch is not
the same version as the source system, is recommended to update the kernel now,
before continue. In that case you should restart the system.
12. Configure the Workbench Organizer (transaction SE06) with the option Database
Copy. This releases all transport, repair, and customizing requests that have not
been released in the source system.
13. Adapt the transport parameters and transport routes in the Transport Management
System (TMS):
14. Restore RFC connections, distribution models and partner profiles from the
original system if it is required.
15. Delete all entries from the following tables: ALCONSEG, ALSYSTEMS,
DBSNP, MONI, OSMON, PAHI, SDBAD, SDBAH, SDBAP, SDBAR, DDLOG,
TPFET, TPFHT, TLOCK
16. Delete batch jobs, according to your needs.
17. Because we deleted the contents of TPFET and TPFHT tables at this point is good
idea to go to RZ10 transaction to import the profiles from active servers.
23. Make sure that the parameter login/system_client has the value
of the new client, the working client for the target system, in this
case 100.
24. Deactivate FAX and email nodes so documents won’t be send by
any automatic process or job. In order to do it go to transaction
SCOT.
25. Please don’t create the “logical system name” for the new
created client, it will be created automatically when the next
step is executed with the transaction BDLS.
26. If you want to rename one or more of the copied systems, then
execute Transaction BDLS both in the client you wish to rename
and in all the connected BW-systems and source systems.
Please read the notes 121163 and 369758 regarding details
about transaction BDLS.
a. Excluding big tables from BDLS execution. Execute the
following procedure if it is required, normally it is for big
databases
SM30
List of biggest tables in ECP SAP system.
CE11001
COEP
FAGLFLEXA
VBFA
ACCTHD
COBK
FAGLFLEXT
FAGL_SPLINFO
LIPS
SRRELROLES
VBAK
VBRP
BKPF
STXH
b. BDLS execution
27. For ECC for disputes please check every individual client in the
system and if it is necessary run DBLS for client specific data in
every related client.
28. If after the conversion with BDLS transaction you try to run the
RSA1 transaction in the new working client and you are receiving
the the error “You may anly work in client XXX” you can change
that using the function module RS_MANDT_UNIQUE_SET
(Transaction SE37). You can find little more information in note
316923.
29. Reactivate all partner profiles that carry the new logical system
name after renaming Execute Transaction WE20 to reactivate
the partner profiles. Choose "Partner type LS (logical
system)" enter the logical system name of the partner in tab
"classification", change the partner status from "I" (inactive) to
"A" (active) and save.
30. BW and SCM: Update logical system descriptions in RSA1 For
each source system that was converted using BDLS change the
description to match the new logical system name.
31. BW: Adjust server name of the BI Enqueue Server, if BI Planning
is used If you are using BI Planning, adjust the server name of
the BI Enqueue Server in the administration transaction RSPLSE.
For details please check note 996238.
32. Reset generation flag for ODS activation programs Call
transaction RSSGPCLA and highlight program class
RSDRO_ACTIVATE. Click #set status# and #OK#. Repeat the
same for program class RSDRO_EXTRACT and RSDRO_UPDATE
33. BW: Update the RSLOGSYSDEST with the new destinations for
the source systems.
34. BW: Reset RFC destination for process chain transport post
processing. Use transaction RSTPRFC. By default, you will see
SIDix100 for the source system.
35. BW and SCM: Restore Check the source system
Note: Be sure that the newly crerated the source system is open for
modifications
Note: Be sure that the newly created the source system is open for
modifications
36. Verify the specific paths in AL11 transaction for the source
system and if something needs to be changed please proceed.
37. For transport Workflow functionality be sure TMSADM user in
client 000 has sap_all permissions.
38. BW: Check table RSBASIDOC in the newly copied target SAP
source system to determine all existing source system
connections.
39. SCM:Configure RFC connection for various application cases in
SCM systems.
Navegate to
ECSCIFADM_TRUSTED
40. Adjust the operation modes in transaction RZ04.
41. Ajust RZ12 transaction accordingly.
42. SCM: Adjust the the DBA planning calendar for LiveCache in
order to perform the consistency check and the database
backup.