
Function Group SCD8
CHANGEDOCU_FIELDS_ANY2CHAR
The module CHANGEDOCU_FIELDS_ANY2CHAR is to perform the conversion of the TYPE ANY to the TYPE CHAR for the passed fields: IV_VALUE_OLD_ANY, IV_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 ANY fields.
IV_FIELDNAME = Field name of the passed ANY fields.
During the conversion, watch out for any change in the external length. This module is used internally when the change document items are written.
CHANGEDOCU_FIELDS_CHAR2ANY
The module CHANGEDOCU_FIELDS_ANY2CHAR is to perform the conversion of the TYPE CHAR to TYPE ANY for the passed fields: IV_VALUE_OLD_CHAR, IV_VALUE_NEW_CHAR.
If the inputs 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 FIELDS 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 of the TYPE ANY can be converted to the 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 module is used within the change document objects.
CHANGEDOCU_KEY_CHAR2ANY
With this module, a table key of the TYPE CHAR can be converted to the 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.