Programme SAP RQEEAS20 - Driver program for inspection instructions (sample program)

Description
Report RQEEAS20 is a driver program for the inspection instruction inthe QM system. The report can be used without any changes or as thebasis for a customer-specific driver program.
The program must be entered in the print control for QM inspectionprocessing, so that it can be run. The output of the inspectioninstruction corresponds to the specifications in the related form. Theform INSP_INSTRUCTION is available as an example in the standard SAPsystem. This form must be available in the current client (see the copyfunction for Forms).
All text elements that are defined in the report for the form are usedin the above-named form as examples and can be adapted and modified tomeet your needs.
In this report we have tried to keep the number of text elements to aminimum in order to facilitate the flexibility of the form itself. Forthis reason the simple queries and CASE distinctions have been shiftedover to the form. How the queries are carried out is portrayed as anexample in the form.
For the output of long texts in the inspection instruction, the key ofthe text is given on the form. This key can be expanded with a simpleInclude statement (see the form).
Requirements for using the form:
,,A window with the name MAIN is accessed.
Available text elements:
HEADER: header lines
,,Fields from Table QALS are available. After the first activity also
,,,,the fields from Table QAPO.
,,The element is output for the page header.
FOOTER: Footer lines
,,Fields from Table QALS are available.
,,The element is output for the page end.
INSPECTION_LOT: Output for the inspection lot
,,Fields from Table QALS and related long texts are available.
OPERATION_HEADER: Heading line for operations
,,Fields from Table QALS are available.
OPERATION_DETAIL: Output for inspection operation
,,Fields from Table QASL are available.
CHARACTERISTIC_HEADER: Heading line for characteristics
,,Fields from Table QALS and QAPO are available.
CHARACTERISTIC_DETAIL: General output for inspection characteristics
,,Fields from Table QALS, QAPO, QAMV, QASV, QMKST, QMTB, QMTT,
,,,,QDFM, QDFMT and TQ17T are available.
,,The long texts for characteristics and inspection methods can also beaccessed.
,,The symbol UNIT_CHARACT contains the 6-character unit of measure.
CHAR_QUANTITATIVE: Output for quantitative characteristic
,,The same fields as for CHARACTERISTIC_DETAIL.
CHAR_WITH_CODES: Output for a characteristic with a selected set
,,The same fields as for CHARACTERISTIC_DETAIL.
CHAR_CODES_HEADER: Heading for code list for selected set
,,The same fields as for CHARACTERISTIC_DETAIL and selected set
,,,,Table QKAT.
CHAR_CODES_DETAIL: Output for a code
,,The same fields as for CHARACTERISTIC_DETAIL and Code in
,,,,Tables QKAT and QPAC.
CHAR_QUALITATIVE: Output for a qualitative characteristic
,,The same fields as for CHARACTERISTIC_DETAIL.
PROD_FACIL_HEADER: Heading for test equipment
,,Fields from Tables QALS and QAPO are available.
PROD_FACIL_DETAIL: Output for test equipment
,,Field from Tables QALS, QAPO and PLFHD are available.
END_OF_DOCUMENT: End of inspection instruction
,,Fields from Table QALS are available.

Precondition
It makes sense to use this report only in conjunction with one of theprogram logic forms (SAP standard: INSP_INSTRUCTION).
To activate the report, enter the report and the corresponding form inthe print control for QM.

Output
Output using forms.

558056First prntout inspectn/sample-drawng instructn w/o PM objcts