Show TOC

 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

Using the following syntax, you can output the 3rd and 4th value of characteristic Advice 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

Line 1

Explanations

< 11

Repeating group type

<11 BRG

B egin r epeating g roup

<11BRG 001

Repeating group no. 1

<11BRG001( M

Repeating group type: m aster

<11BRG001(M, SAP_EHS_1015_003

Symbol key for value assignment type First Aid: Eye

<11BRG001(M,SAP_EHS_1015_003 ;2)>

Restrict output to 2nd value assignment record

Line 2

Explanations

<01G1015003AD(P;3-4)>

Output 3rd to 4th value of phrase-related characteristic Advice (symbol key G1015003AD )

Line 3

Explanations

<11ERG001>

E nd r epeating g roup

Example 2

Using the following syntax, you can output the components of a composition including the specification key, average content, and reference quantity:

<11BRG001(M,SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<01GESTRSUBID> <01GESTVCOMPA>

<01GESTVCOMPR>

<11ERG002>

<11ERG001>

Explanation of the Syntax

Line 1

Explanations

< 11

Repeating group type

<11 BRG

B egin r epeating g roup

<11BRG 001

Repeating group no. 1

<11BRG001( M

Repeating group type: m aster

<11BRG001(M, SAP_EHS_1012_003

Symbol key for value assignment type Composition

<11BRG001(M,SAP_EHS_1012_003; *)>

All data records

Line 2

Explanations

< 11

Repeating group type

<11 BRG

B egin r epeating g roup

<11BRG 002

Repeating group no. 2

<11BRG002 ( POS

Repeating group type: slave (components of the composition)

<11BRG002(S:POS; *)>

All data records

Line 3

Explanations

<01GESTRSUBID>

Sample symbol (for example, for specification key)

<01GESTVCOMPA>

Sample symbol (for example, for average content)

<01GESTVCOMPR>

Sample symbol (for example, for reference quantity)

Lines 4 and 5

Explanations

<11ERG002>

E nd r epeating g roup no. 2

< 11ERG001>

E nd r epeating g roup no. 1