Ansicht
Dokumentation

RQCAAP02 - Quality Certificate for Batch

RQCAAP02 - Quality Certificate for Batch

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program creates a quality certificate for a batch.

The following parameters are available:

  • P_MATNR for the entry of a material(logical required field)
  • P_CHARG for the entry of a batch(logical required field)
  • P_WERKS for the entry of a plant(logical required field, if the batches are maintained at the plant level)
  • 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 select 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 default values.
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 select 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 with 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_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, before the certificate is printed, a dialog box containing the print parameters is displayed.
  • 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 number

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.
  • Parameter P_SNDWRK is ready for input (logical required field), provided the batches are not maintained at the plant level. In this case, the plant you enter here is added to the sender text.
  • 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:
From the plant for the batch, the appropriate company code is found. The sender texts are then taken from program RQCAAP02, variant QM, from the company-code dependent table T001G. The texts are maintained there, from 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 (for example, to the inspection lot material) must exist.

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

Note that characteristics from an inspection lot or partial lot can also be printed, provided this is specified in the certificate profile. The inspection lot or partial lot is automatically selected on the basis of the criteria in the certificate profile.
The characteristics for the batch 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

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

  • 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 are displayed on the screen.

Example

You want to send a certificate for a batch to a certain recipient. Proceed as follows:

Select material, plant and batch. You can specify the recipient type via 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.

You would like to add on another profile. Click on the pushbutton "Other profile." From the possible entries help for versions, you can get a list of released certificate profiles, from which you can select one.

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






BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 8064 Date: 20240520 Time: 135702     sap01-206 ( 108 ms )