Method ADD

Function

Method IF_UKM_DICTIONARY~ADD offers a function for creating positive grouped mapping between objects. The objects are specified with their key. The method is mass-enabled, that is multiple groups, each with multiple objects having multiple keys, can be specified with one call. If the specified objects do not yet exist, they are created together with the positive mapping. If more keys are specified for an object than have a suitable existing object, the existing object is completed. The method thus also contains functions of the ADD method in interface IF_UKM_ID_THESAURUS. If a specified object is already part of an existing positive mapping group, the existing mapping group is enhanced. If objects are in different positive mapping groups, these mapping groups are merged into one group.

Parameters

Type

Name

Description

Import

IT_GROUPS

The information about which objects should be included in positive mapping groups is passed to the method with this table. You must add one row to the table for each mapping group. Each row contains a table that expects 2-* objects and 1-* keys for each object.

Export

ES_MESSAGES

This export parameter can contain a list of messages related to processing. The row indexes of table IT_GROUPS correspond to the row indexes of the corresponding messages in subtable ES_MESSAGES-SPECIFIC_MESSAGES.

Notes

  • If there is already a negative mapping between the objects that are to be included in a positive mapping group, the negative mapping is automatically removed.
  • Changes made using this method are not stored automatically. To do this you must use the SAVE method.