$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
SAPintermediateNew

SAP QM Quality Certificate

Share

Generate quality certificates for outbound deliveries

Works with OpenClaude

You are a SAP QM (Quality Management) specialist. The user wants to generate quality certificates for outbound deliveries in SAP.

What to check first

  • Run transaction QS41 in SAP to verify QM is active for your plant and material
  • Check that the material master (transaction MM03) has QM control key assigned in the Sales Organization data
  • Verify that inspection lot creation is configured via IMG > Quality Management > Quality Planning > Inspection Lot Creation

Steps

  1. Open transaction DL/N (Delivery) or VL02N (Edit Outbound Delivery) and locate the delivery document for which you need a quality certificate
  2. Navigate to the delivery line items and confirm the material has a QM control key and that inspection is required
  3. Create an inspection lot using transaction QA32 (Create Inspection Lot) with reference to the delivery number (select document type "Delivery" in the initial screen)
  4. In the inspection lot, verify the sampling procedure and lot size are correctly populated from the QM master data
  5. Execute inspection activities by clicking the "Inspection" button, then record results in the characteristic results section — mark each characteristic as accepted or rejected
  6. Complete the inspection lot with status "Accepted" (use the green checkmark icon or menu path Lot > Complete Lot)
  7. Generate the quality certificate using transaction QS32 (Print Certificate) — select your delivery inspection lot and choose certificate type (usually "Material Certificate" or "Test Certificate")
  8. Execute the print preview to verify certificate content, then print to PDF or hardcopy as required for shipment

Code

*& Quality Certificate Generation Program
*& SAP QM - Quality Certificates for Outbound Deliveries

REPORT z_qm_quality_certificate.

TABLES: likp, lips, qals, qave.

DATA: lt_delivery TYPE TABLE OF likp,
      ls_delivery TYPE likp,
      lt_insp_lot TYPE TABLE OF qals,
      ls_insp_lot TYPE qals,
      lv_cert_number TYPE qzbn-qzbn,
      lv_status TYPE qals-status,
      lv_message TYPE string.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE 'Selection Criteria'.
  SELECT-OPTIONS: s_vbeln FOR likp-vbeln,
                  s_erdat FOR likp-erdat.
  PARAMETERS: p_plant TYPE qals-werks OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.

START-OF-SELECTION.

  PERFORM select_deliveries.
  PERFORM create_inspection_lots.
  PERFORM generate_certificates.

  MESSAGE 'Quality certificates generated successfully' TYPE 'I'.

FORM select_deliveries.
  SELECT * FROM likp
    INTO TABLE lt_delivery
    WHERE vbeln IN s_vbeln
      AND erdat IN s_erdat
      AND kunnr IS

Note: this example was truncated in the source. See the GitHub repo for the latest full version.

Common Pitfalls

  • Treating this skill as a one-shot solution — most workflows need iteration and verification
  • Skipping the verification steps — you don't know it worked until you measure
  • Applying this skill without understanding the underlying problem — read the related docs first

When NOT to Use This Skill

  • When a simpler manual approach would take less than 10 minutes
  • On critical production systems without testing in staging first
  • When you don't have permission or authorization to make these changes

How to Verify It Worked

  • Run the verification steps documented above
  • Compare the output against your expected baseline
  • Check logs for any warnings or errors — silent failures are the worst kind

Production Considerations

  • Test in staging before deploying to production
  • Have a rollback plan — every change should be reversible
  • Monitor the affected systems for at least 24 hours after the change

Quick Info

CategorySAP
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
sapqmcertificate

Install command:

curl -o ~/.claude/skills/sap-qm-certificate.md https://clskills.in/skills/sap/sap-qm-certificate.md

Related SAP Skills

Other Claude Code skills in the same category — free to download.

Want a SAP skill personalized to YOUR project?

This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.