Show TOC

Runtime Data ContainerLocate this document in the navigation structure

Use

A runtime data container (RDC) is an instance of a test data container (TDC), or rather of one data set (variant) of a TDC. At runtime, an RDC contains parameters defined and named exactly as in the underlying TDC.

The RDC itself is a parameter with Visibility C. The Parameter Reference is the name of the underlying TDC.

Assigning Values to RDCs

The parameter values of the RDC are initial (in the ABAP sense) until they have been filled. You can fill the RDC in several ways:

  • Using the command FILL_RDC. This allows you to fill the RDC from a single variant of a TDC or from an external file.

  • Using the script directly. Insert the row <RDC name>-<parameter name> = <value>.

Accessing RDCs

The values of RDC parameters can be read and written by test script commands. The access path is <RDC name>-<parameter name>.

This syntax can be used in script coding and in command interfaces where parameters can be used. The rules for using parameters apply.

REF

The REF command interface now contains an RDC field. The scope of an RDC at runtime is the scope of the test script. However, an RDC can be transferred to another script's scope using a parameter definition in the second script and a REF command with parameter mapping. This transfer will be done "by reference".