Ansicht
Dokumentation

RQCAAP01 - Quality Certificate for the Inspection Lot

RQCAAP01 - Quality Certificate for the Inspection Lot

BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Description

You use this program to create a quality certificate for an inspection lot.

The following parameters are available:

  • P_LOT for the entry of an inspection lot (logical required field)
  • P_PTYPE (background) for the entry of a certificate recipient type
This parameter can be filled, if the program is automatically called up, for example, by "submit and return."
  • P_PARNR for the entry of a certificate recipient
This parameter is ready for input, provided you selected one of the recipient types "Customer number," "Customer contact person," or "Vendor number," via the pushbutton Choose recipient.
If you choose the address type "User-definable address," a dialog box appears, in which you can enter an address of your choice. When you transfer the data, the first few characters of the name are copied into the field P_PARNR. The field can no longer be changed.
Note
If you previously selected a master record as recipient, the master record data is copied into the free address as a default value.
In addition, the invisible parameter, P_FREEAD, is filled for this recipient type. This is done so that the data can be saved as a variant.
If you choose recipient type "No recipient," the field P_PARNR is left blank.
  • P_SPRAS for the entry of the language used for the certificate
This parameter is displayed, provided you selected a recipient type via the pushbutton Choose recipient.
The field is ready for input, if you selected one of the following recipient types: "Customer number," "Customer contact person," and "Vendor number."
Note
If you do not enter anything in this field, and you already selected a customer, for example, the language defined for the customer is proposed from the customer master record. You can change the language.
For recipient type "User-definable address," only this field is displayed. In this case, there is a required field for entering the language in the dialog box for entering the address.
For recipient type "No recipient," parameter P_SPRAS becomes a required field.
  • P_ARMOD for entering the archiving mode (print only / archive only / print and archive)
An entry is mandatory. The system proposes "print only."
The inspection lot is stored in the optical archive (business object BUS2045). You can use the function "Object links" to display the archived certificate in the inspection lot transactions.
  • P_MEDIUM for entering the transmission medium.
You can print a certificate or send it by fax.
If you select "Fax," a further parameter appears, P_TELFX, for entry of the fax number. As in parameter P_SPRAS, you can have the fax number proposed from the appropriate master record (the customer master record, for example).
  • P_DIALOG for controlling foreground/background processing
    If you mark this parameter, program messages or the processing log are displayed on the screen. In addition, a dialog box containing the print parameters is displayed before the certificate is printed.
  • By clicking the pushbutton Other profile, you can assign a certificate profile. When you do so, the parameter P_FREEPR is set in the background.
    Remember that only released certificate profiles may be assigned. You enter the certificate profile key in the following three parameters:
  • P_QCVNR: certificate profile number

  • P_QCVKT: certificate type

  • P_QCVKV: version

The text on the pushbutton changes to Automatic profile. This means that you can cancel the selection of the other profile and have the system search for the certificate profile automatically. In this case, a valid certificate profile assignment must exist.
  • P_SUBMIT is a background parameter, intended for external calls. If you set this parameter, the inspection lot field, P_LOT, becomes a display field; in addition, the pushbuttons for the inspection lot are hidden.

The standard texts for the sender details are determined as follows:
The appropriate company code is determined using the plant for the inspection lot. The sender texts are then taken for program RQCAAP01, variant QM from the company-code dependent table T001G. The texts are maintained there using view V_T001G_QM.

Requirements

The following requirements must be met:

  • An inspection lot must exist, for which a usage decision was already made.
  • A released certificate profile must exist. If the system is to find the profile automatically, a valid assignment must exist (for example, to the inspection lot material).

The selection criteria for the program and the data in the certificate profile control the certificate output.

Note that class characteristics for the inspection lot batch can also be printed, provided that this is specified in the certificate profile. The inspection characteristics are only considered, if they are specified in the certificate profile .

Output

A quality certificate is output. The output takes place:

  • On the screen, if the following two conditions are fulfilled:
  • You set the indicator for foreground processing.

  • The print preview function has been activated in the dialog box for the print parameters.

  • In the spool or from a printer or fax machine, if one of the following two conditions is fulfilled:
  • You did not set the indicator for foreground processing.

  • You set the indicator for foreground processing and activated the print function.

When processing takes place in the foreground, system messages will be displayed on the screen.

Example

You want to send a certificate for an inspection lot to a certain recipient. Proceed as follows:

Select the inspection lot. You can specify the recipient type using the pushbutton "Choose recipient." You can select the actual recipient (for example, a customer) from the possible entries help.

If you would like to see the result on the screen before sending it, select the indicator for processing in the foreground.

There is a valid certificate profile assignment that should be used. This is why you do not choose a profile.

The certificate should be created in the recipient's language and printed. Make the required entries and run the program.






ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 7826 Date: 20240520 Time: 124732     sap01-206 ( 108 ms )