Exports are usually started within the SAP system (Transport Organizer) or from tp (transport control program), with R3trans being called indirectly.
The control file for exports has the following structure:
export
# < Options >
# < Selections >
This entry shows a single step. A control file can contain several steps.
You can use the following parameters in control files:
The default value for the client to export from is 0.
Cross-client data is also exported.
This option allows you to perform the export from clients other than 000 or from all clients.
The default value is L.
You can export compressed data. The data is then decompressed automatically at import time. The following options are available:
The default value is trans.dat in the current directory. The data is exported to this file.
Objects belonging to class TEXT or entries from language-dependent tables are only exported if they are in one of the languages specified here.
See also: Transporting Language-Dependent Data
You can use this R3trans option to activate writing of table logs
XXX can have the following values:
For further information, particularly on evaluating these logs, see SAP Note 1916 .
The default value is NO.
With this option, you activate a trace for an R3trans run for a database statement. You can use this trace to find the cause of performance problems arising during transports.
This database trace is only implemented for Oracle (tkprof).
There are various methods of specifying which data to export. Normally this is done using change requests (command files). If this is not possible for whatever reason, you can specify selections directly.
Control File Parameters for Control Files
Change request that has been maintained using Transport Organizer
A single step can contain several entries of this type.
R3trans creates an object list DEVC<devclass> with all objects belonging to this development class and exports these objects.
A single step can contain several entries of this type. This type of selection is especially suited for transporting complete development classes.
Direct Selection
For special purposes (such as repairs), you can export without command files by specifying direct selections of objects in a control file:
You can specify the following objects directly: CMDFILE, CUA, DATAELEMENT, DOCUMENTATION, DOMAIN, DYNPRO, REPORT, SQLTABLE, TABLE.
In <whereclause>, you have the following options:
This command lets you select records from a table with a generic key.