Repeating Groups - Examples 

Please note that the symbol keys listed are examples only.

Goal:

You want to output the 3rd and 4th value of characteristic Notes of the 2nd characteristic record of substance characteristic category First aid eye:

<11BRG001(M,SAP_EHS_1015_003;2)>

<01G1015003AD(P;3-4)>

<11ERG001>

 

 

1st line

Notes:

<11

Repeating group type

<11BRG

Begin repeating group

<11BRG001

Repeating group no. 1

<11BRG001(M

Repeating group type: master

<11BRG001(M,SAP_EHS_1015_003

Symbol key for characteristic category Composition

<11BRG001(M,SAP_EHS_1015_003;2)>

Restrict output to 2nd characteristic record

 

2nd line

 

<01G1015003AD(P;3-4)>

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

 

3rd line

 

<11ERG001>

End repeating group

 

Goal:

You want to output the components of a composition including the substance keys, average content, and base.

<11BRG001(M,SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<01GESTRSUBID> <01GESTVCOMPA>

<01GESTVCOMPR>

<11ERG002>

<11ERG001>

 

 

1st line

Notes:

<11

Repeating group type

<11BRG

Begin repeating group

<11BRG001

Repeating group no. 1

<11BRG001(M

Repeating group type: master

<11BRG001(M,SAP_EHS_1012_003

Symbol key for characteristic category Composition

<11BRG001(M,SAP_EHS_1012_003;*)>

All data records

 

2nd line

 

<11

Repeating group type

<11BRG

Begin repeating group

<11BRG002

Repeating group no. 2

<11BRG002 (POS

Repeating group type: slave (components of the composition)

<11BRG002(S:POS;*)>

All data records

 

3rd line

 

<01GESTRSUBID>

Sample symbol (for instance, substance key)

<01GESTVCOMPA>

Sample symbol (for instance, average content)

<01GESTVCOMPR>

Sample symbol (for instance, base)

 

4th and 5th line

 

<11ERG002>

End repeating group no. 2

< 11ERG001>

End repeating group no. 1