Discarding/Cancellation (Termination) of Browser-Based PI Sheets If a process needs to be terminated due to a malfunction, for example, the processing of the associated PI sheet must likewise be terminated.
The SAP system differentiates between
Discard
and
Cancel
(terminate) depending on whether or not the PI sheet has already been processed.
You have two options for discarding a PI sheet:
Selection result screen
Process order
In the process order, you can discard PI sheets for control recipe destinations of category 4 (browser-based PI sheet).
This is only possible for PI sheets with the status
New
. It is not possible to use the
Cancel
(terminate) function for processed PI sheets.
The PI sheets cannot be discarded in the process order for control recipe destinations of category 1 (ABAP-list-based PI sheet).
For control recipe destinations of categories 2 and 3m you can use the Business Add-In (BAdI) WORKORDER_PISHEET in enhancement spot ES_WORKORDER_PISHEET to implement the functionality.
If you discard or terminate a PI sheet, the system generates and sends a corresponding message on the control recipe status (message category PI_CRST) that triggers the following changes:
If you have not yet processed the PI sheet:
The status of the PI sheet is set to
Discarded
The status of the control recipe is set to
Discarded
The statuses of the corresponding phasen in the order are set to
Control recipe discarded
This means that you can change the phases again and generate a new control recipe for them.
If you have already started processing the PI sheet:
The status of the PI sheet is set to
Terminated
The status of the control recipe is set to
Terminated
The status of the corresponding phases in the order is set to
Control recipe finished
PI sheets that have the status
Discarded
or
Terminated
Are archived in the batch record if the
Batch Record Required
indicator has been set for the order type used
Are automatically deleted as well when the process order is deleted
Can be deleted manually in the worklist if the
No Process Data Documentation Required
indicator has been set for the order type used
Discarding/cancellation (termination) of a PI sheet on the selection result screen:
From the Production Planning for Process Industries menu, choose
Enter the desired selection criteria.
On the result screen, select a PI sheet and choose
Discarding a PI sheet directly in the process order:
In the operation overview in the process order, choose
A dialog box appears, in which you have to choose the control recipe destination for which the PI sheet is to be discarded.
Confirm your entries.
The system exits the processing of the process order and saves your data.
Note
If you have maintained an XStep tree for an operation, you can also discard PI sheets in the XStep monitor. To do so, choose