cancel
Showing results for 
Search instead for 
Did you mean: 

Tables to export before refresh

0 Kudos

Good evening,

I would like to get the exhaustive list of tables we have to export with R3trans before a system refresh.

Do anyone get this kind of information ?

I am experienced in systems refresh on Oracle database, but I have to manually execute all the usual tasks in SAP, on the target system after the database refresh.

I am used to export RFCDES, RFCATTRIB, RFCDOC, but I have never found a complete list of all the other tables we could export before refresh.

It seems that it's possible to export the tables for STMS settings, RZ10, RFC, BDLS, and so on.

Please, if someone could help, it would be helpfull !

Many thanks to all of you.

Stéphan

Accepted Solutions (1)

Accepted Solutions (1)

former_member204746
Active Contributor
0 Kudos

I would also add:

SAPLIKEY, it contains the license info.

0 Kudos

Hi all,

Because I think it would be precious for lot of us, I propose to put all the necesary tables to keep in this post.

If some of you know important tables to keep, before a system refresh, to be able to automate some post refresh tasks with R3trans tool, please copy/paste the following list and add your entries.

Hope this helps ; thanks for your interest.

At this moment, after reading lot of forums, made some tries, I think the following tables are to keep :

- Users (profiles and so on) : ADR, AGR, SMEN, SSM, USG, USR, UST* (client dependant).

- RFC : RFC, RSEC (client independant)

- BDLS : TBDLS, TBDLST, V_TBDLS (client independant ?)

- Transports : E070L, TMSQWL, TMSQNOTES, TMSQWLF (client independant ?)

- License : SAPLIKEY (client independant)

Regards,

Stéphan

Former Member
0 Kudos

Hi,

Here are some other tables you could find useful to export before copy / refresh

For Archive link

TOAOM SAP ArchiveLink: Meta table for links

For RFC dest it might be useful to export

RFCDOC Description of Possible RFC Connections (->RFCDES)

RFCDES Destination table for Remote Function Call

If you are using ALE :

EDIPOA Table for ALE Port Definitions (used only for ALE)

EDIPOD File port definition

EDP13 outbound parameters

EDP21 inbound parameters

EDIPORT Summary table

EDPP1 EDI Partner (general partner profiles - inb. and outb.)

If you are refreshing a CUA master, you need to export ALE conf + the following tables

USZBVSYS CUA: Assignment of Systems to Users

USL04 CUA: Assignment of Users to Local Profiles

USLA04 CUA: Assignment of Users to Roles

For CUA child system

USBAPILINK CUA: Default BAPI Link for Central User Administration

And an unsorted list of tables

TABNAME Client Dep. Text

CREP client indep KPRO CMS: Content Repositories

DBCON client indep Description of Database Connections

EDBAS client indep Basic types

EDIMSG client indep Output Types and Assignment to IDoc Types

EDIMSGT client indep Short description of SAP message types

EDIPOA client dependent Table for ALE Port Definitions

EDIPORT client dependent Summary Table for all Port Types for IDoc Processing

EDP13 client dependent Partner Profile: Outbound (technical parameters)

EDP21 client dependent Partner Profile: Inbound

EDPP1 client dependent EDI Partner (general partner profiles - inb. and outb.)

IACORDES client indep RFC Destinations for IACOR

INSTVERS client indep Documentation for installation Status and History

RFCATTRIB client indep Administration table for RFC destinations

RFCCHECK client indep Table for asynchronous RFC administration

RFCDES client indep Destination table for Remote Function Call

RFCDESSECU client indep SNC extensions for RFC destinations

RFCDOC client indep Description of Possible RFC Connections (->RFCDES)

RFCSYSACL client indep List of permitted trusted systems for the current system

RFCTRUST client indep List of existing trusting systems

RSADMINA client indep Control Table that Customer can Change

RSBASIDOC client indep Assignment of source systems to BIW systems incl. IDoc type

RSECACHK client indep Table for Controlling ABAP Programs

RSECACTB client indep Table for ABAP Access Authorization for Secure Memory

RSECTAB client dependent Secure Memory: Memory for Encrypted Data

RZLLITAB client indep Assignments of Logon/Server Groups to Instances

TOAAR client indep Communications configuration table for storage system

TOAOM client dependent SAP ArchiveLink: Meta table for links

TOASR client indep Language-Dependent Table For TOAAR

TPFET client indep Table of profile parameters

TPFHT client indep Profile header, administration data for profiles in DB

TPFID client indep Description of SAP instance

By the way if you want to know the client dependency of a table you can either

1) check if it contains an MANDT field

2) check if field clidep field is tagged in DD02L

3) check if field CLIENTPOS is set to 0 in DDNTT

Answers (5)

Answers (5)

martin_E
Active Contributor
0 Kudos

There are simpler ways to retain data in the target system besides using DBMS tools to extract data before a system copy, then reload it.  While the data volumes may be greater (i.e. the extract and reload steps may take longer) because you're storing a bit more than you actually HAVE to, there is actually less for you to do and monitor.

Examples that I have seen / used recently include:

1) License details for your target system can be stored in the source system via SLICENSE,

2) You can store some of your RFC information - those with device or server dependent names - for your target system in your source system, via SM59 - This may or may not be safe, depending on your physical and logical network security (for example, you want to make sure that no one can send a message to a production PI system via a test system),

3) User details (including authorizations and profiles) can be extracted via a Client Copy to a transport,  using the appropriate profile (which I can't remember right now !!).  This is especially useful when refreshing a test system (where developers may already have stronger access) from a production system.

4) Depending on exactly what data needs to be changed, you can also use technique 3 for customizing data.

hth

Former Member
0 Kudos

Sorry if I'm bumping this post but I thought this info could be very useful to anyone investigating this subject.

running report 'SCTC_LIST_TABLES' using se38 will list all the configuration tables that affect your system. Use R3trans as usual to export / import the tables.

If you are comfortable using SolMan the task list SAP_BASIS_COPY_REFRESH_EXPORT should walk you through the steps...

Link:

http://help.sap.com/saphelp_nw73/helpdata/en/1a/b721d052694edd92c6ea99e416dd8f/content.htm

Former Member
0 Kudos

Not necessasarily I will export the above tables, during Migrations we export larger tables. use db02 space sort by size to findout the right candidates before exporting.

But firt of all update the stats to get the accurate size of the tables.

Thanks
Srikanth Mandalapu

Former Member
0 Kudos

Hi Stephan,

Hope this helps you. find below tables you need to preserve using R3trans prior to refresh.

RFC (For retaining RFC connections) : RFCATTRIB, RFCDES, RFCDOC

AL11 (For retaining AL11 entries : USER_DIR

DB Static history (For retaining database statistics history ) : DBCHECKORA

TMS (For retaining TMS approvals history) : TMSQWL,TMSQNOTES,TMSQWLF

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi Stephan,

>

> Hope this helps you. find below tables you need to preserve using R3trans prior to refresh.

>

> RFC (For retaining RFC connections) : RFCATTRIB, RFCDES, RFCDOC

>

> AL11 (For retaining AL11 entries : USER_DIR

>

> DB Static history (For retaining database statistics history ) : DBCHECKORA

>

> TMS (For retaining TMS approvals history) : TMSQWL,TMSQNOTES,TMSQWLF

>

> Regards,

> Venkata S Pagolu

DBCHECKORA does not contain stats it hold the condition paterns BR*tools are using to perform the check DB action.

Statistics could be exported using BR*tool or package DMBS_STATS.EXPORT_TABLE_STATS

former_member188883
Active Contributor
0 Kudos

Hi,

Information you may want to preserve can include for example:

u2022 Tests results

u2022 Users If you want to preserve users, user settings and authorizations of your target system for later re-import after the refresh (for example if you are using different users than in production), you can export them to a transport using transaction SCC8, parameter SAP_USER. After the refresh this transport can be re-imported into the target system using transaction STMS, followed by import post-processing with transaction SCC7. For more information on SCC8 and SCC7 see topic u201Cclient copyu201D in the SAP online documentation.

Central User Administration (CUA): If your target system is connected to a CUA system, the target system users can also be redistributed from the CUA system after the copy. This should be done after converting the logical system names (if applicable) and reconfiguring the CUA, see step 6.8.

u2022 Printers Export to a transport can be done with transaction SPAD 􀃆 Output devices 􀃆 Edit 􀃆 Transport, also see SAP note 64337 or the Online Documentation.

u2022 Pending transports which were not imported to production systems

u2022 Current transport number Note the current transport number given in field, u201Dtrkorru201D of table E070L. This information might be required to reset to an appropriate number after the copy, also see SAP note 12799.

u2022 Information on TMS Quality Assurance (QA worklist and QA history) Export the required information as described in SAP note 397138.

u2022 Logon groups Take screenshot of current settings in transaction SMLG.

u2022 List of logical system names Take screenshot of current settings in table V_TBDLS or transaction BD54 or save settings in a transport

u2022 RFC destinations Take screenshots of settings in transaction SM59.

u2022 Connections to legacy systems

u2022 ALE partner profiles Export can be done with transaction BD64.

u2022 List of outbound destinations and registered inbound queues Make screenshots or save the list output of transactions SMQS and SMQR.

u2022 List of RFC users A list of RFC users can be obtained with transaction SUIM 􀃆 User 􀃆 By logon date and password change.

u2022 Operation modes Note the operation mode definitions in transaction RZ04.

u2022 System messages If required, note the current system messages as displayed by transaction SM02.

u2022 Batch jobs Note batch jobs that need to be rescheduled after the refresh

u2022 License information Save license information to a file

u2022 If the system copy is going to overwrite the current TMS domain controller, the domain controller must be moved to another system. After the copy, it can be moved back if desired. See SAP online documentation for more information.

u2022 J2EE engine configuration In Configtool, choose option u2018File 􀃆 Export Data from DBu2019.

Regards,

Deepak Kori

0 Kudos

Thanks for your reply ; but you didn't understand my need.

I'd like to know the tables to export via R3trans because the goal is to automate the maximum of tasks.

Regards,

Stéphan

former_member188883
Active Contributor
0 Kudos

Hi Stephan,

In addition to what you have identified, you may export the following tables

TSP03 - Printers

E070L - Transport request

USR, AGR -> export usermasters and profiles

RFCDES - RFC destinations

V_TBDLS - Partner profiles

BDLS you can run post refresh. Hence no need to download that data.

Regards,

Deepak Kori

anindya_bose
Active Contributor
0 Kudos

Hi Stephane

Go through this link

http://forums.sdn.sap.com/thread.jspa?threadID=2054202

Apart from this , if you have JAVA there are some configuration table for JAva also

Regards

anindya