
Change document objects are transported with the transport object R3TR CHDO. The definition of the change document object is transported in shadow tables. They are read in the change document object after-import method AFTER_IMP_CHDO. The definition is imported into the target system, where the change document object is generated.
Function Group SCDT
AFTER_IMP_CHDO_PAR
The after-import method for change document objects takes the objects and their transport functions from the passed table TT_E071. You process the objects as follows:
Performing deletions:
All the entries belonging to the object in TCDOB, TCDOBT, TCDRS, TCDRP, TADIR, ... are deleted, as are generated program sources and DDIC structures.
Performing transports:
The objects are classified as critical or uncritical. The critical objects which could influence each other during generation are processed sequentially in the first pass.
Uncritical objects are processed in parallel. Processing them in packages in parallel reduces the total run time of the method.
The following work steps are performed for each object.
All the information is taken from the shadow tables TCDOBS, TCDOBTS, and TCDRPS, and then placed in the internal tables TCDOB, TCDOBT, TCDRP, TCDRS and exported..
The resulting messages are returned to the method.
AFTER_IMP_CHDO
Call import method AFTER_IMP_PAR
CHDO_CHECK_OBJ_CONFL
The function module is given a list of change document objects. The definitions to be imported for the objects are checked in the shadow tables, and the objects are divided into three results lists: critical objects, uncritical objects (can be processed in parallel) and missing objects.
CHDO_GEN_RFC
RFC-compatible function modue which is called by AFTER_IMP_CHDO_PAR in parallel. The object definition is copied, and the generation performed, for the objects passed.
BEFORE_EXP_CHDO
Before-export method for change document objects.
The original information for the change document object is taken from the tables TCDOB, TCDOBT and TCDRP, and placed in the shadow tables TCDOBS, TCDOBTS, and TCDRPS for transport.
CDNAMES_GET
Name editing for CD objects.
CHDO_DELETE
Deletion of program objects belonging to the change document object.
AFTER_IMP_CHDO_SEQ
The after-import method for change document objects takes the object and the transport function from the passed table TT_E071.
This method has two ways of working:
The transport is a deletion:
All the entries belonging to the object in TCDOB, TCDOBT, TCDRS, TCDRP, TADIR, ... are deleted, as are generated program sources and DDIC structures.
The transport is a regular transport:
All the information is taken from the shadow tables TCDOBS, TCDOBTS, and TCDRPS, and then placed in the internal tables TCDOB, TCDOBT, TCDRP, TCDRS and exported..
The generation program RSSCD000 is called. The information is imported and all the steps for generation of the sources and structures are performed.
The resulting messages are returned to the method.