Composition Mapping

 

The composition mapping table contains the regulations for mapping compositions in the set of rules to value assignment types of the category composition.

Table Fields in the Composition Mapping Table

Table Field

Description

Internal_Id

Name of the composition in the set of rules. This field uniquely identifies the composition in the set of rules.

External_Id

Name of the assigned value assignment type of the category composition

Description

Description text for the composition

Options

Options that govern access to the specification data more closely

Options for Compositions

Caution Caution

In the following syntax description, optional parts are shown in square brackets [ ]. The square brackets themselves do NOT belong to the syntax.

Three periods “...” indicate a random number of repetitions of the previous syntax element.

End of the caution.

Option

Description

/USAGE=<Rating>,<Validity area>.[,Ausschlußkennzeichen [,Aktivkennzeichen[,Relevanzkennzeichen]]][,... ]

The composition is read or written with the specified list of ratings and validity areas. As an option, you can set the exclude indicator with X or .

You can still set or deactivate the active indicator and the relevance indicator either with X or .

If not specified, the exclude indicator is not set, the active indicator is set, and the relevance indicator is not set.

For compositions that are read from the specification database, specifying the active and relevance indicators has no effect. Only active value assignments are read.

/BASE

/USEREXIT

/PARAM

A recursive composition is read down to the lowest level of its ingredients. Any ingredients present in several components are totaled proportionally. If you do not specify this option, the direct components are read, or in other words, the first recursion level. This option has no effect when writing a composition.

Together with option /BASE, options /USEREXIT= <name> and /PARAM=<value> can be used to specify a user exit in the SAP system. In this user exit you can restrict the depth of the level of expansion of the composition tree. This means, for example, that a composition could be expanded down to the first occurrence of a particular value assignment.

For this expansion restriction to function, you must have specified a user exit of the category SUB_EX_GCT in the SAP system. This user exit must reference the function module C1F2_EXIT_GET_COMP_TREE or a copy with the same interface.

The value following the /PARAM option is passed on directly to the function module. In the example C1F2_EXIT_GET_COMP_TREE, the key of a value assignment type is expected as the parameter. The composition tree is then only read down to the first occurrence of a value assignment of this value assignment type.

/REF

See Fact Mapping

/PRIO=<prio>

Use this option to keep the type of composition variable and to prioritize in the event that multiple compositions have been maintained. <prio> indicates the priority, where 1 is the highest priority.

Example Example

Example for option /PRIO

The Exact composition (SAP_EHS_1012_001) is usually read. However, if this has no data, the Standard composition (SAP_EHS_1012_003) is read instead.

Example for /PRIO=<prio> – option

Internal ID

External ID

Options

COMP

SAP_EHS_1012_001

/PRIO=1

COMP

SAP_EHS_1012_003

/PRIO=2

End of the example.