Example: Repeating Groups

 

Note that the symbol keys listed are only examples. In the example, all characters (formatted both as hidden and not hidden) for the symbols are shown visible.

Example 1

The following syntax is used to output the 3rd and 4th value of characteristic Notes of the 2nd value assignment record of value assignment type First Aid: Eye:

<11BRG001(M,SAP_EHS_1015_003;2)>

<01G1015003AD(P;3-4)>

<11ERG001>

Explanation of the Syntax

1. Line

Explanations

< 11

Repeating group type

<11 BRG

Begin of Repeating Group

<11BRG 001

Repeating group no. 1

<11BRG001( M

Repeating group type: Master group (M)

<11BRG001(M, SAP_EHS_1015_003

Symbol key for value assignment type First Aird: Eye

<11BRG001(M, SAP_EHS_1015_003 ;2)>

Output restriction to the second value assignment record

2nd Line

Explanations

<01G1015003AD(P;3-4)>

Output of the 3rd to 4th value of the phrase-enabled characteristic Notes (symbol key G1015003AD)

3. Line

Explanations

<11ERG001>

End of Repeating Group

Example 2

The following syntax is used to output the components of a composition with the specification key, average quantity, and reference value:

<11BRG001(M, SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<01GESTRSUBID> <01GESTVCOMPA>

<01GESTVCOMPR>

<11ERG002>

<11ERG001>

Explanation of the Syntax

1. Line

Explanations

< 11

Repeating group type

<11 BRG

Begin of Repeating Group

<11BRG 001

Repeating group no. 1

<11BRG001( M

Repeating group type: Master group (M)

<11BRG001(M, SAP_EHS_1012_003

Symbol key for value assignment type composision

<11BRG001(M, SAP_EHS_1012_003; *)>

All data records

2. Line

Explanations

< 11

Repeating group type

<11 BRG

Begin of Repeating Group

<11BRG 002

Repeating group no. 2

<11BRG002 ( POS

Repeating group type: Slave group (components of the composition)

<11BRG002(S:POS; *)>

All data records

3. Line

Explanations

<01GESTRSUBID>

Example symbol (for specification key for example)

<01GESTVCOMPA>

Example symbol (for average value for example)

<01GESTVCOMPR>

Example symbol (for reference value for example)

4th and 5th line

Explanations

<11ERG002>

End of Repeating Group 2

< 11ERG001>

End of Repeating Group 1