Direct editing of serialized objects
Scope of functions
As already described in the previous chapter Object editor, Conigma objects are instances of ABAP classes. For example, a Change Request is an instance of the class /GAL/CCM_CRO_SWFM_CR or an Import Container is an instance of the class /GAL/CCM_CRO_IMPORT_CONTAINER. Serialized means that the attributes of the instance are displayed as key-value pairs in text form in the text editor. Key and value are separated by an equal sign. Please note that not all attributes are serialized. For example, attributes with object references or attributes whose values are only determined at runtime cannot be serialized.
Attributes with elementary data types such as numeric values or character strings, structures and tables are serialized as follows.
Elementary data type: The key is identical to the attribute name.
Structure: Each structure component is displayed in a separate line. The key consists of the attribute name, a dot (in characters ".") and the name of the structure components.
Table: A table with N columns (or line components) and M rows is displayed in N*M rows. The key consists of attribute name, a line index in square brackets, a dot (in characters ".") and the name of the column. The dot is omitted if the table row is not a structured data type but an elementary data type. Row indexes begin with zero ("0") and not with a one ("1").
For example, a Repository object contains the attributes DISABLE_EMAIL_SENDING (one-character flag), IMPORT_OPTIONS (structure) and MAINTENANCE_LANGUAGES (table of type LANGU). In the text editor, the serialized attributes would be represented as key-value pairs as follows.
Copy Code Code |
Changing the key-value pairs in the object editor causes the corresponding instance attribute to be changed accordingly when saving. This allows you to directly change an object instance persistently using the object editor. Inserting the line MAINENTANCE_LANGUAGES[2]=F, for example, causes French to be available as an additional language in the repository or, when changing the first line to DISABLE_EMAIL_SENDING=X, causes no e-mail to be sent in the repository.
Please note that changes in the object editor can lead to inconsistent behavior. Therefore only make changes you know exactly what they do or contact your Conigma contact person if in doubt.