
Grouping of Process Instructions
Use
You can use this function to display several process instructions of type Simple data request together in a table in the browser-based PI sheet. In this way, you can display information of the same kind in a clearly laid-out and structured way.
In Repeated data requests, by contrast, one process instruction is copied and displayed in a table.

By grouping generated process instructions in which the material components are automatically taken over, you obtain a clearly structured material list in the browser-based PI sheet.
Prerequisites
The grouped process instructions must meet the following requirements:
Features
You can group all process instructions of the same process instruction category. Whether a characteristic must have the same value in all process instructions, depends on the characteristic. However, the following characteristics must be at the same logical position in all grouped process instructions:
|
Characteristic |
Value |
|
PPPI_DATA_REQUEST_TYPE |
In standard layouts, we recommend using simple data requests only. |
|
PPPI_MESSAGE_CATEGORY |
Different message categories can be used. |
|
PPPI_FUNCTION_NAME |
Different values may be assigned. |
|
PPPI_CALCULATED_VALUE |
Different values may be assigned. |
|
PPPI_REQUESTED_VALUE |
Different values may be assigned. |
|
PPPI_OUTPUT_CHARACTERISTIC |
Different values may be assigned. |
|
PPPI_OUTPUT_VARIABLE |
Different values may be assigned. |
|
PPPI_INPUT_REQUEST |
The same value must be assigned in all process instructions. Text symbols are not allowed. |
|
PPPI_OUTPUT_TEXT |
The same value must be assigned in all process instructions. Text symbols are not allowed. |
|
PPPI_BUTTON_TEXT |
The same value must be assigned in all process instructions. Text symbols are not allowed. |

If the <INSTRUCTIONS> tag is not specified in the layout definition, all process instructions with identical structures of the same process instruction category are grouped automatically.
Activities
To group process instructions of the same kind, you enter an XML definition in the long text for characteristic PPPI_LAYOUT in the layout definition. You have the following options:

...
<INSTRUCTIONS>
<GROUP>*</GROUP>
</INSTRUCTIONS>
...

This setting is also used by default if nothing else is specified.

<?xml version="1.0"?>
<LAYOUT>
...
<INSTRUCTIONS>
<GROUP>PI_CONS1</GROUP>
<GROUP>PI_CONS2</GROUP>
</INSTRUCTIONS>
...
</LAYOUT>

<?xml version="1.0"?>
<LAYOUT>
...
<INSTRUCTIONS> </INSTRUCTIONS>
...
</LAYOUT>
Example
The following example illustrates how you can create a clearly structured material list:
In the standard style sheet, all generated process instructions are automatically grouped and displayed in a table with a heading.
This process instruction example contains the following definitions:
The system automatically generates the following:
|
Char.No. |
Characteristic |
Characteristic Value |
|
0010 |
PPPI_INPUT_GROUP |
Material list |
|
0020 |
PPPI_MESSAGE_CATEGORY |
PI_CONS |
|
0030 |
PPPI_PROCESS_ORDER |
Automatic value assignment |
|
0040 |
PPPI_RESERVATION |
Automatic value assignment |
|
0050 |
PPPI_RESERVATION_ITEM |
Automatic value assignment |
|
0060 |
PPPI_MATERIAL |
Automatic value assignment |
|
0070 |
PPPI_VARIABLE |
'MYVAR&0050&' |
|
0080 |
PPPI_MATERIAL_CONSUMED |
Automatic value assignment |
|
0090 |
PPPI_UNIT_OF_MEASURE |
Automatic value assignment |
|
0110 |
PPPI_AUTOMATIC_VALUE |
Event date |
|
0120 |
PPPI_AUTOMATIC_VALUE |
Event time |
|
0120 |
PPPI_OUTPUT_TEXT |
Material |
|
0130 |
PPPI_OUTPUT_CHARACTERISTIC |
PPPI_MATERIAL |
|
0140 |
PPPI_OUTPUT_TEXT |
Material quantity (target value) |
|
0150 |
PPPI_OUTPUT_CHARACTERISTIC |
PPPI_MATERIAL_CONSUMED |
|
0160 |
PPPI_OUTPUT_TEXT |
Unit of measure |
|
0170 |
PPPI_OUTPUT_CHARACTERISTIC |
PPPI_UNIT_OF_MEASURE |
|
0180 |
PPPI_INPUT_REQUEST |
Material quantity (actual value) |
|
0190 |
PPPI_DEFAULT_VARIABLE |
'MYVAR&0050&' |
|
0200 |
PPPI_REQUESTED_VALUE |
PPPI_MATERIAL_CONSUMED |
|
0210 |
PPPI_VALIDATION_FORMULA |
( X > ( 0.95 * 'MYVAR&0050&' ) ) |
|
0220 |
PPPI_VALIDATION_FORMULA |
AND |
|
0230 |
PPPI_VALIDATION_FORMULA |
( X < ( 1.05 * 'MYVAR&0050&' ) ) |
|
0240 |
PPPI_OUTPUT_TEXT |
Unit of measure |
|
0250 |
PPPI_OUTPUT_CHARACTERISTIC |
PPPI_UNIT_OF_MEASURE |
|
0260 |
PPPI_INPUT_REQUEST |
Batch |
|
0270 |
PPPI_REQUESTED_VALUE |
PPPI_BATCH |
|
0280 |
PPPI_MESSAGE_CATEGORY |
SIGN |
|
0290 |
PPPI_PROCESS_ORDER |
Automatic value assignment |
|
0300 |
PPPI_CONTROL_RECIPE |
Automatic value assignment |
|
0310 |
PPPI_OPERATION |
Automatic value assignment |
|
0320 |
PPPI_PHASE |
Automatic value assignment |
|
0330 |
PPPI_AUTOMATIC_VALUE |
Event date |
|
0340 |
PPPI_AUTOMATIC_VALUE |
Event time |
|
0350 |
PPPI_INPUT_REQUEST |
Signature |
|
0360 |
PPPI_REQUESTED_VALUE |
PPPI_SIGNATURE |

If you start the automatic generation of process instructions manually in the process order, the text symbols will not be replaced automatically. This leads to a syntax error (Variable 'MYVAR&0050&' is already used) when you check several of these process instructions at once.
To replace the text symbols, you can create a test control recipe. The system will ask you whether you want to replace the text symbols. Choose Yes.