Show TOC

Conversions for UNICODELocate this document in the navigation structure

Function Group SCD8
CHANGEDOCU_FIELDS_ANY2CHAR

Function module CHANGEDOCU_FIELDS_ANY2CHAR implements for the passed fields IV_VALUE_OLD_ANY and IV_VALUE_NEW_ANY the conversion from TYPE ANY to TYPE CHAR.

The table/structure name and the field name within this table/structure are required in order to get the field definition.

IV_TABNAME = Table/structure name belonging to the passed ANY fields.

IV_FIELDNAME = Field name of the passed ANY fields.

The external length can change as a result of the conversion. This function module is used internally for writing change document items.

CHANGEDOCU_FIELDS_CHAR2ANY

Function module CHANGEDOCU_FIELDS_CHAR2ANY implements for the passed fields IV_VALUE_OLD_CHAR and IV_VALUE_NEW_CHAR the conversion from TYPE CHAR to TYPE ANY.

If the entries in the fields were not the same as SPACE, the result is output in the fields:

EV_VALUE_OLD_ANY, EV_VALUE_NEW_ANY.

The table/structure name and the field name within this table/structure are required in order to get the field definition.

IV_TABNAME = Table/structure name belonging to the passed CHAR fields.

IV_FIELDNAME = Field name of the passed CHAR fields.

For each field of the input variables, there is a conversion from a CHAR field to the ANY field.

It is assumed that the external lengths of the CHAR-FELDER were created as follows:

If the previous conversion was performed using the modules CHANGEDOCU_FIELDS_ANY2CHAR or CHANGEDOCU_KEY_ANY2CHAR, this prerequisite is automatically fulfilled.

CHANGEDOCU_GUID_CREATE The function module CHANGEDOCU_GUID_CREATE provides a new GUID in the format CHAR 32 in the variable EV_GUID.
CHANGEDOCU_KEY_ANY2CHAR

With this module, a table key can be converted from TYPE ANY to TYPE CHAR. The maximum length is 254 CHAR.

The structure/table row is passed in the variable IV_STRUCT_IN and the name of the structure/table matching IV_STRUCT_IN is passed in the variable IV_TABNAME.

For each key field of the input structure, there is a conversion to a CHAR field.

There can be a change in the external length.

Through this conversion to consistently character-type display, the key can later be processed under UNICODE through the use of the language indicator that is also stored.

This function module is used within the change document objects.

CHANGEDOCU_KEY_CHAR2ANY

With this function module, a table key can be converted from TYPE CHAR to TYPE ANY.

The structure/table row is passed in the variable IV_STRUCT_IN and the name of the structure/table matching IV_STRUCT_IN is passed in the variable IV_TABNAME.

For each key field of the input structure, there is a conversion to an ANY field.

There can be a change in the external length.

CHANGEDOCU_OUTPUTLENGTH_GET Supplies the length in CHAR format to be considered for the change document key fields.
CHANGEDOCU_STRUCT_ANY2CHAR Convert all fields of a structure into CHAR.
CHANGEDOCU_STRUCT_CHAR2ANY Convert all fields of a structure from CHAR to ANY.
CHANGEDOCU_TABKEYLEN_GET Determines the output length of the table key in TYPE CHAR.
CHANGEDOCU_TABLE_ANY2CHAR Converts passed table from ANY to CHAR.
CHANGEDOCU_TABLE_CHAR2ANY Converts passed table from CHAR to ANY.
CHANGEDOCU_TABWKEY_ANY2CHAR Converts passed table from ANY to CHAR.
CHANGEDOCU_TABWKEY_CHAR2ANY Convert/output CHAR - KEY to ANY tables.