Objective
You want to print out a phrase on a report in different languages. The example uses the phrase-related characteristic Advice (SAP_EHS_1015_002_ADVICE) that is represented by the symbol <01G1015002AD(P)> and is assigned to the value assignment type First aid: general information (SAP_EHS_1015_002).
You have assigned the phrase Consult physician to the characteristic Advice, for example. The report template has the rating PUBLIC (Released w/o restrictions) and is valid for the validity area REG_EU (European Community). The report is to be generated in German and the phrase Consult physician is also to be printed in Spanish and French.
Procedure
Syntax Example |
Explanations |
<11BRG002(M,SAP_EHS_1015_002;*)> |
Start of the repeating group of type M that must be nested around the repeating group of type G. The usage of the value assignment type SAP_EHS_1015_002 must match the rating and validity area of the generation variant data. |
<11BRG001(G;*)> <01G1015002AD(P)> ¿ |
Start of the repeating group of type G that must be nested around the symbol <01G1015002AD(P)>. You can insert the character ¿ if you want to print the individual phrases one below the other. |
<11ERG001> |
End of the repeating group of type G |
<11ERG002> |
End of the repeating group of type M |
Result
As this is the case, the SAP System selects the phrase that is assigned to the symbol <01G1015002AD(P)>.
If the rating and the leading validity area do not match the usage of the value assignment type, the SAP System selects no values for the symbol.
The SAP System does not check whether the discrete validity areas lie within the leading validity area. This means that selecting a discrete validity area has no significance in this case. The assignment of the language only is the decisive factor. In the example, the following phrases are generated for the characteristic Advice:
Arzt konsultieren. ¿
Consulter un médecin. ¿
Consultar un médico. ¿
You can also reverse the nesting, meaning you can use the repeating group of type G as the outer group and type M as the inner repeating group. In this case, the SAP System checks whether the discrete validity areas for the generation variant match the validity areas for the value assignment type to which the symbol is assigned.
In the above example, the phrase would be output if the nesting was reversed only if the countries DE, FR, and ES are explicitly created in Customizing as countries in the validity area REG_EU.
See also