Start of Content Area

Background documentation Method Category for Read Access to Content  Locate the document in its SAP Library structure

This category contains the following methods:

GET_TDC_CONTENT

Returns a table. This is a list of variants, each with content as returned by GET_VARIANT_CONTENT. The method contains the following parameters:

 

Parameter Name

Type

Description

E_VALUE_TAB

ETTDC_REFS_TABTYPE

Table of variants, parameter names, and references

 

GET_VARIANT_CONTENT

Gets the table of all values of a variant as REFs. The method contains the following parameters:

 

Parameter Name

Type

Description

I_VARIANT_NAME

ETVAR_ID

Variant name

E_VALUE_TAB

ETPAR_REF_TABTYPE

Table of parameter names and references

 

GET_VALUE

Reads the value from the TDC to a variable. The caller has to provide a variable of the appropriate type. The method fills the given variable with a value from the test data container for a specified parameter and variant. The default value from the ECATTDEFAULT variant is returned if the specified value is empty. If the both values are empty, the variable is cleared. The method contains the following parameters:

 

Parameter Name

Type

Description

I_PARAM_NAME

ETPAR_NAME

Parameter name

I_VARIANT_NAME

ETVAR_ID

Variant name

I_PATH

STRING

(OPTIONAL)

Path within the parameter

E_PARAM_VALUE

ANY

Variable to which value is to be transferred

 

GET_VALUE_REF

Fills a data area (identified by a reference variable) with a value from the test data container. The method contains the following parameters:

 

Parameter Name

Type

Description

I_PARAM_NAME

ETPAR_NAME

Parameter name

I_VARIANT_NAME

ETVAR_ID

Variant name

I_PATH

STRING

(OPTIONAL)

Path within the parameter

E_PARAM_REF

REF TO DATA

REF to variable to which value is to be transferred

 

 

End of Content Area