!--a11y-->
Quality Certificates for Batches on the
Internet (QM-CA-CG) 
When you ship products to a customer, you frequently need to certify the quality of certain products. You can do this using quality certificates. Quality certificates can be created in the SAP system; for example, as papers to accompany a delivery. As vendor, you can customize the contents and appearance of certificates to suit your customer’s needs. Specification data, inspection data, documents, and all sorts of general data can appear on a certificate.
The situation can also arise where you create certificates for individual enquiries. You can print or fax a certificate for a batch upon request. With the Internet application component Quality Certificates, an authorized customer can access the vendor’s SAP system and dispatch a certificate for a batch.
This chapter contains all necessary information for using quality certificates on the Internet. A prerequisite however is a basic knowledge of the QM application component Quality certificates.
Business-to-Business
· Your customers can access real-time information whenever they need it.
· The information is always up-to-date because the data is taken directly from the SAP database.
· You customers do not have to contact you by telephone to get a certificate (reduced administrative costs).
· Your customers can record data quickly and easily because of the predefined screen layout.
· Information you offer your customers corresponds to any agreements you make with vendors.
· Your administrative costs are reduced.
· You can determine access authorization and information content for individual customers.
· You can design your screen layout to enable your customers to record data quickly and easily.
· When you update data, your customers can access it without any further action on your part.
· Depending on the agreement with your customer, you can include fewer standard certificates for deliveries, because the customer can access these himself.
The SAP system identifies you by your customer number.
As an SAP user you require the following authorizations:
Authorization object |
Description |
|
F_KNA1_APP |
Customer: Application authorization (Activities: 03, application authorization: F) |
|
Q_TCODE |
Transaction authorization for QC42 |
|
To start the Internet application component, your customer must log on using their SAP customer number and a password that you assign.
You can create, change, and delete passwords for Internet users with transaction SU05. To create a unique identifier for your customer, enter the object type KNA1 next to your customer’s number.
Within the SAP system, you can control access to your data in the following ways:
· List of batches
You can influence the list of batches by implementing enhancements or by implementing a different combination of BAPIs.
· Assignment of certificate profiles
You can assign certificate profiles, for example, at customer-material level. A certificate can only be created if a suitable certificate profile is found.
· Limited view
You can define a limited view by using certificate profiles in which only certain information is divulged.
You can use customer-specific profiles if you want to withhold information from certain customers.
You can use general profiles containing limited information (for example, at material group level with WWW authorization) if only a few of your customers can access detailed information.
In Customizing for Quality Management, the following settings are required for sender texts:
· View V_T001G_QM must contain entries for program SAPLQC07. All company codes from plants whose certificates can be created must be maintained.
· The sender texts must exist in the work client.
You can create sender texts with transaction SO10, or you can copy them from another client. Sender texts, as well the forms used, should be available in all the languages in which certificates are created.
In addition to changing the layout, this Internet application component offers you additional modification options.
The following text describes the modification options available if you:
· Keep the standard transaction
· Create a new transaction
If you keep the standard transaction, you can make the following modifications:
· Output of program messages
Program messages are not usually displayed directly in this Internet application component. Instead, they are presented in a log.
If no data is found, the standard program provides two options for displaying log messages in the template:
¡ You can use field QCWW-PROTLINE (contains the first line of the log, or a “$” sign if no log exists). You can find this field on screen 0103.
¡ You can use internal table G_LINES_TAB, which is transported via the mass data channel. This table contains the entire log.
· Enhancements
You can use the following enhancements:
¡ Enhancement QCPA0003:
New component EXIT_SAPLQC07_001 for defining new fields for certificate profile determination
¡ Enhancement QCPA0002:
New component EXIT_SAPLQC07_002 for defining criteria to limit the inspection lot/ partial lot selection
¡ Enhancement QCWA0001 for influencing the list of materials
Components:
§ EXIT_SAPLQC07_003 “Customer authorization for materials”
You can use this component to prevent a list of materials being created for a customer.
§ EXIT_SAPLQC07_004 “Own search for customer’s materials”
You can use this component to carry out your own selection in addition to, or as an alternative to, the standard selection.
§ EXIT_SAPLQC07_005 “Limit materials for the customer”
You can use this component to change the table of materials.
The SAP system contains online documentation describing the functionality of each of these enhancements.
· Customizing
The sender texts used in view V_T001G_QM are maintained program-specific for the corresponding company codes. For this reason, they can be quite different from the usual sender texts.
· Additional modification options
You can use all the modification options that the SAP system provides for creating certificates, such as your own forms, texts, and function modules for data selection at characteristic level.
If you do not keep the standard transaction, you have the following options:
· You can display additional fields on your screen (e.g. the availability date field for batches).
If you use this option, refer to the function modules and BAPIs listed below.
· You can allow for a time span when selecting batches.
If you use this option, refer to the function modules and BAPIs listed below.
· You can use other BAPIs for the selection of materials (for example, from the product catalog Internet application component).
In the SAP system, data exchange on the Internet is carried out using transactions and function modules. The following development objects are required to create certificates:
Development class: |
QC |
Transaction: |
QC42 |
Function group for screens: |
SAPMQCWA |
Function modules: |
SD_SELECT_MATERIAL_GROUPS_WWW |
|
BAPI_CUST_SAREAS_MATERIALS_GET |
BAPIs: |
Customer.ExistenceCheck |
|
Customer.CheckPassword |
|
Customer.GetSalesAreas |
|
Material.GetBatches |
|
Material.GetBatchCertificate |
The SAP Library contains online documentation on each of these modules.

Every change to a SAP development object used for the Internet application component counts as a modification.
You should not change the development objects of the standard system under any circumstances.
Data is output via the Internet Transaction Server. The output forms are filled with data and made available in HTML format on the Internet/Intranet.
The service name of this Internet application component is QC42. You can find all the relevant data under this service name in the SAP@Web Studio.
The output forms are found in subdirectory QC42 of the TEMPLATES directory. The following forms are used:
SAPMQCWA_100.HTML
SAPMQCWA_101.HTML
SAPMQCWA_102.HTML
SAPMQCWA_103.HTML
SAPMQCWA_1999.HTML
The numbers in the names of the forms correspond to the SAP screen numbers.
This Internet application component does not cover any customer-specific tolerances from automatic batch determination. The corresponding standard function modules do not carry out renewed batch determination.
If the specification data (tolerances) should be read from the batch classification (specification origin 02 in standard Customizing), the data in a certificate for a delivery item is taken from the batch determination.
In the above case of a certificate for a batch (without batch determination), the permitted values from the batch classification of the material are included. If no material-specific values exist, the permitted values are printed from the class or characteristic itself.
If the system reads the specification data from customer-specific inspections, the customer-specific tolerances will also be included.
This Internet application component is different to the SAP transaction QC22 in the following ways:
· You have no selection options on the initial screen:
¡ You log on with a customer number.
¡ The language is the one set in the customer master record.
¡ The certificate profile is selected automatically; you cannot select an alternative
· The sender texts at company code level (View V_T001G_QM) do not come from program RQCAAP02, but from program SAPLQC07.
