To prepare the documents of a batch record for display or archiving, you need a specific print program for each form along with the appropriate FORM routine. For the deviation list, you need an additional FORM routine that determines which deviations occurred.
The standard system contains the following print programs and FORM routines for the standard forms:
| Document Type | Print Program | FORM Routine for Output |
|---|---|---|
| Table of contents | PPPI_WRITE_CONTENT_DOC | PPPI_WRITE_CONTENT_DOC |
| Version data | PPPI_WRITE_VERSION_DOC | PPPI_WRITE_VERSION_DOC |
| Deviations | PPPI_DEVI_CHECK | PPPI_DEVI_PRINT |
| Process order | PPPI_WRITE_ORDER_DOC | PPPI_WRITE_ORDER_DOC |
| Material list | PPPI_WRITE_MATERIAL_DOC | PPPI_WRITE_MATERIAL_DOC |
| Inspection lot | PPPI_WRITE_INSPECTION | PPPI_WRITE_INSPECTION_ |
| _LOT_DOC | ||
| PI sheet | PPPI_WRITE_SHEET_DOC | PPPI_WRITE_SHEET_DOC |
| Process messages | PPPI_WRITE_MESSA_DOC | PPPI_WRITE_MESSA_DOC |
| User-def. data | PPPI_WRITE_USER_DOC | PPPI_WRITE_USER_DOC |
| Document Type | Program | FORM Routine for |
|---|---|---|
| Deviations | PPPI_DEVI_CHECK | PPPI_DEVI_CHECK |
Document type User-defined data has been defined for customer-specific enhancements of the batch record. For this reason, the print program for this document type has only been defined as a template that you can complete according to your own requirements.
If you have defined your own forms for the documents of the batch record, you must create the relevant print programs and FORM routines. Proceed as follows: