Академический Документы
Профессиональный Документы
Культура Документы
Contents:
Creating control recipes
Control recipe destinations
Sending control recipes
Monitoring control recipes
SAP AG 2003
SAP AG
SCM344
8-1
0.2
Control Recipes - Settings and Processing:
Course Objectives
SAP AG 2003
SAP AG
SCM344
8-2
0.3
Overview Diagram 8
11
Course Overview
22
Introduction
33
99
Process Messages Structure and Settings
PI Sheet
Elements and Functions
10
10
PI Sheet
Process instructions
44
11
11
55
Process Messages
in the Standard SAP System
12
12
Decentralized Process
Management
66
13
13
77
Process Instructions
for Process Control Systems
14
14
SAP AG 2003
SAP AG
SCM344
8-3
0.4
Creating and Sending Control Recipes
Process Management
Manually operated
Fill
Reaction
Automated
Discharge
Fill
Process
control
Operation 1
Phase 11
Phase
Phase
Reaction
Discharge
PI sheet
Process
control system
Operation 2
Phase
Phase
Phase
Proc.
Proc.
Proz.Proz.Proz.Proz.Proz.Proz.Proz.instr.
Proc. Vorg
Proc. instr.
Proc.
Vorg
Vorg
Vorg.
Vorg
Vorg
instr.
instr. Vorg.
instr.
Text
Proc.
Proz.Proz.instr.
Proc.
Vorg.
Vorg.
instr.
Proc.
Proz.Proz.instr.
Proc.
Vorg.
Vorg.
instr.
Proc.
Proz.Proz.instr.
Proc.
Vorg.
Vorg.
instr.
SAP AG 2003
After a process order or the relevant phases have been released, the process instructions maintained
in the order are bundled into control recipes and downloaded to process control.
The control recipe destinations maintained in the process order specify which control type is to carry
out a specific control recipe.
You assign control recipe destinations to the phases of the process order. These destinations are
assigned solely from the perspective of process control techniques and are therefore independent of
the subdivision of operations into phases which is done from a planning point of view.
Example:
Discharging a vessel and filling the next vessel are phases that belong to different operations.
However, they are often assigned to the same control recipe destination because their execution is
interdependent. For this reason, they are to be controlled by the same system or process operator.
Process Management creates exactly one control recipe for each control recipe destination of a
process order. A control recipe can only be created if all the phases involved have been released.
Once a control recipe has been created, you can no longer change the process instructions of the
corresponding phases in the order.
SAP AG
SCM344
8-4
0.5
Control Recipe Destinations - Structure
Control recipe destinations
Type
Address
Operating group
RFC destination of process control system
Assignment of
instr. categories
SAP AG 2003
You define control recipe destinations in Customizing. The control recipe destination specifies:
The destination the control recipe is to be transferred to (for example, an operating group that
maintains PI sheets or a specific process control system)
How the data is to be transferred (for example, initiated by R/3 or the process control system)
The process instructions to be generated automatically if a control recipe is created for a
destination
For destinations whose control recipes are to be displayed as an R/3 PI sheet, you can also:
Activate and define the digital signature to specify whether signature strategies are required for
particular processing steps
Activate a log for particular process steps
If a control recipe destination is an external system, you can assign the process instruction categories
defined for this system to the destination. When you maintain process instructions for a control
recipe destination in the master recipe or the process order, the system only offers those process
instruction categories that are assigned to the control recipe destination as possible entries.
SAP AG
SCM344
8-5
0.6
PI Sheet Destinations Type: Details
Plant
1100
11
Destination type
Address
Group 11
PI sheet
Simple password check
Digital signature
PI_VALID
Activate/deactivate
SignStrategie
Remove locks/lock
no log
SignStrategie
Complete
SignStrategie
Value entry
PI_COMPL
SAP AG 2003
You can activate the logging of particular operations for the browser-based PI sheet.
SAP AG
SCM344
8-6
0.7
External System Destination Type
Customizing for Control Recipe Destination
Destination: System 1
Destination:
Destination: System
System 22
Address
Address == PCS1
PCS1
Address
Address == PCS2
PCS2
Type
Type == To
To ext.
ext. syst.
syst.
initiated
initiated by
by SAP
SAP
Type
Type == To
To ext.
ext. syst.
syst.
initiated
initiated by
by ext.
ext. sys.
sys.
Control
Control recipes
recipes
tRFC
ZZ Ctrl
Ctrl Rec
Rec
exists
Y
Ctrl
exists
Rec
Y Ctrl
Rec
exists
X
Rec
exists
X Ctrl
Ctrl
Rec
exists
exists
tRFC
tRFC
Ctrl
Ctrl Rec(s)
Rec(s)
tRFC
tRFC
Ctrl
Ctrl Rec(s)
Rec(s)
SAP AG 2003
Depending on the destination type, the transfer of control recipes can be triggered as follows:
As soon as at least one control recipe has been created for a destination, Process Management
transfers all existing control recipes for this destination.
Process Management informs a destination about each control recipe created. Depending on the
destination, individual control recipes or all existing control recipes can be requested.
From a technical point of view, communication between PP-PI and process control systems is carried
out by a transactional remote function call (tRFC). The communication partners transfer data using
Common Program Interface Communication (CPI-C) based on TCP/IP.
Due to the RFC technology, the application is completely free of communication handling at R/3
level.
The tRFC ensures that each call is executed only once. The sequence of the calls is not changed. If
the target system is not active when the call takes place, the RFC is repeated according to a
repetition rate or duration that can be set by the user.
BAPIs with synchronous RFCs can also be used for the communication between PP-PI and the
process control systems.
SAP AG
SCM344
8-7
0.8
Control Recipe Monitor
tRFC Log
System messages
Ctrl recipe Proc.order Addr.
100000074
100000075
100000077
100000078
100000081
100000083
1000000031
1000000045
1000000045
1000000022
1000000035
1000000035
Status
OPER 1
PCS 1
PCS 3
OPER 7
OPER 1
PCS 5
Processed
Sent
Terminated
Sent
Created
Discarded
Test Created on
11.04.2004
15.04.2004
15.04.2004
18.04.2004
21.04.2004
21.04.2004
Log
System messages
Send
SAP AG 2003
To obtain information about the current processing status of a control recipe, you can go to the
control recipe monitor.
From the monitor, you can call up different logs that provide more detailed information on the
individual process steps carried out, and any errors that may have occurred during control recipe
processing.
On the basis of this information, you can carry out the following transactions from the monitor:
Send control recipes if they are not automatically sent in a background job defined in Customizing
Delete control recipes
SAP AG
SCM344
8-8
0.9
Control Recipe Status
Process order
Maintain
process instr.,
release
phases
Create
control
recipe
created
Ctrl recipe
created
Discarded
Ctrl recipe
discarded
Send
control
recipe
Discard
control
recipe
sent
NEW phases:
Maintain
process instr.,
release phases
Process
control
recipe
Complete
control
recipe
Terminate
control
recipe
processed
Ctrl recipe
finished
terminated
SAP AG 2003
The graphic shows the different statuses a control recipe can have as well as the corresponding
statuses of the phases in the order. The statuses have the following meaning:
Control recipe created order status, Created or Sent control recipe status:
The control recipe is created. The corresponding phases are locked and cannot be changed.
Control recipe discarded order status, Discarded control recipe status:
The control recipe cannot be processed. It has been discarded before the execution was started.
You can change the process instructions of the corresponding phases and create a new control
recipe.
Control recipe finished order status, Terminated control recipe status:
The execution of the control recipe has been started but cannot be completed. You cannot change
the corresponding process instructions.
If you need a new control recipe, you can:
Create a new control recipe destination with the same address
Create new phases with corrected process instructions for this destination
Create a control recipe for theses phases
Control recipe finished order status, Processed control recipe status:
The execution of the control recipe has been completed. The corresponding phases remain locked.
SAP AG
SCM344
8-9
0.10
Control Recipes - Settings and Processing:
Summary
SAP AG 2003
SAP AG
SCM344
8-10
0.11Exercises
Unit: Control Recipes - Settings and Processing
Create the following two control recipe destinations for plant 1100 in Customizing.
Exercise groups
00 to 09
10 to 19
20 to 29
30
0A to 9A
0B to 9B
0C to 9C
0D
Scales ##
00 to 09
10 to 19
20 to 29
30
0E to 9E
0F to 9F
0G to 9G
0H
Production ##
1-2
Logging does not occur for the Complete and Value entry operations without a
signature.
SAP AG
SCM344
8-11
1-3
Create a process order (plant 1100, order type PI01, total quantity 500 liters,
scheduling type Current date) for material T-FDA##.
Save your order.
Order number: ______________
1-4
1-5
Call the control recipe monitor from the Process Management application menu and
display your new control recipes.
Send the control recipes online from the monitor.
Check the control recipe logs.
SAP AG
SCM344
8-12
0.12Solutions
Unit: Control Recipes - Settings and Processing
Customizing:
(...) Process Management Control Recipe/PI Sheets Control Recipe
Destination Define and Set Up Control Recipe Destination (for plant 1100)
Select New entries to create a control recipe destination.
1-2
1-3
1-4
1-5
SAP AG
SCM344
8-13