SAP QM BAPI : Main BAPI in SAP Quality Management

SAP QM BAPI : Main BAPI in SAP Quality Management. This post will list the important SAP Standard BAPI used in SAP QM with the function of each BAPI. The SAP QM BAPI is classified by Quality Management Topics. 

The common QM BAPI use

Before starting list the SAP Quality Management BAPI. Let’s answer this question:

What’s the most used BAPI in SAP QM ?

Here the common BAPI to know when dealing with SAP Quality Management:

  • CP_EX_PLAN_READ
    • BAPI / Function to create / maintain QM characteristics in Task Lists
  • BAPI_INSPLOT_GETLIST
    • Select Inspection lots
  • QIBP_INSPCHAR_SETRESULT
    • standard Bapi for Defect Recording
  • BAPI_QUALNOT_ADD_DATA
    • FM or BAPI For task creation in quality notification
  • CO_QM_INSPECTION_LOT_CREATE
    • BAPI to create inspection lot
  • BAPI_QUALNOT_DEL_DATA
    • BAPI or FM to delete a QM task (Q1)
  • BAPI_EECATIMESHEET_GETWORKLIST
  • BAPI_QNOTIFICAT_CREATE
    • Bapi to create quality notification with inspection lot and defects of char
  • BAPI_INSPOPER_RECORDRESULTS
    • QM: Copying inspection results to another lot

Next step will be listing the SAP QM BAPI classified by Topics or Business Objects.

SAP QM BAPI for Quality Notification

Here the main list of SAP BAPI for Quality Notification.
Learn more about SAP Maintenance Notification Overview

SAP QM BAPIDescription
BAPI_QNOTIFICAT_GETMATLISTFCUSMaterials list for a customer
BAPI_QNOTIFICAT_GETLISTFORCUSTSelect quality notifications for a customer
BAPI_QNOTIFICAT_GETKEYFIGURESDetermining of related notifications
BAPI_QNOTIFICAT_GETCATALPROFILDetermine catalog profile
BAPI_QNOTIFICAT_CREATECreate quality notification

SAP BAPI for QM Inspection Plan

QM Inspection Plan important BAPI are:

SAP QM BAPIDescription
BAPI_INSPECTIONPLAN_CREATE Create inspection plan
BAPI_MATINSPCTRL_SAVEREPLICA Replication of QM inspection setup
BAPI_MATINSPCTRL_REPLICATE Prepare inspection setup (inspection types) for distribution
BAPI_INSPPOINT_GETREQUIREMENTS Load insp. specifications and insp. points

SAP BAPI for QM Master Replication ALE

Replication of QM Master Inspection characteristics, QM Code Groups and Inspectiob Methods are based on the following BAPI:

SAP QM BAPIDescription
BAPI_QPMK_SAVEREPLICAReplication of QM master inspection characteristics (ALE)
BAPI_QPMK_REPLICATE Prepare QM master inspection characteristics for distribution
BAPI_QPGR_SAVEREPLICA Replication of QM code groups
BAPI_QPGR_REPLICATE Prepare QM code group for distribution
BAPI_QMTB_SAVEREPLICAReplication of QM Inspection Methods
BAPI_QMTB_REPLICATE Prepare QM Inspection Methods for Distribution

Standard BAPI for QM Inspection Point, Lot and Operation

When dealing in ABAP code with QM Inspection Point, Lot or Inspection Operation use the following QM BAPI:

SAP QM BAPIDescription
BAPI_INSPPOINT_GETLIST Select insp. points
BAPI_INSPPOINT_CREATEFROMDATA Create insp. point
BAPI_INSPPOINT_CHANGE Change inspection point
BAPI_INSPOPER_RECORDRESULTS Confirm inspection results
BAPI_INSPOPER_GETLIST Select inspection operations for inspection lots
BAPI_INSPOPER_GETDETAIL Read detail data for inspection operation
BAPI_INSPOPER_GETCHAR Select inspection lot characteristics
BAPI_INSPOPER_ACKNOWLEDGE Confirm receipt of handheld worklist

QM BAPI for Inspection Lot

This section regroups some of important QM BAPI covering inspection lots:

SAP QM BAPIDescription
BAPI_INSPLOT_STATINTERFACE QM-STI Interface
BAPI_INSPLOT_SETUSAGEDECISIONMake automatic usage decision
BAPI_INSPLOT_GETOPERATIONS Select inspection operations for inspection lots
BAPI_INSPLOT_GETLIST Select inspection lots
BAPI_INSPLOT_GETDETAIL Load detail data for inspection lot
BAPI_INSPCHAR_SETRESULT Write insp. results
BAPI_INSPCHAR_GETRESULT Load insp. results
BAPI_INSPCHAR_GETREQUIREMENTS Load inspection specifications for an inspection lot

source: Standard BAPI for QM module

Function Modules for Quality Level

In bonus, here the list of Function quality level’s BAPI in SAP QM.
These BAPI/ FM are easily identified by  QDQV* name’s pattern.

  • QDQV_COMPUTE_DELETE_DATE
  • QDQV_COMPUTE_RESET_DATE
  • QDQV_INITIALIZE
  • QDQV_INSP_STAGE_CHANGE_CHECK
  • QDQV_Q_LEVEL_CALL_FM_POST
  • QDQV_Q_LEVEL_CANCEL_CHAR
  • QDQV_Q_LEVEL_CANCEL_HEAD
  • QDQV_Q_LEVEL_CHAR_DEL
  • QDQV_Q_LEVEL_DB_READ
  • QDQV_Q_LEVEL_DELETE
  • QDQV_Q_LEVEL_LOT_CANCEL
  • QDQV_Q_LEVEL_LOT_DELETE
  • QDQV_Q_LEVEL_PT_CANCEL
  • QDQV_Q_LEVEL_PT_INS
  • QDQV_Q_LEVEL_PT_READ_ONLY
  • QDQV_Q_LEVEL_PT_UPD_W_INDEX
  • QDQV_Q_LEVEL_RESET
  • QDQV_Q_LEVEL_TIGHTEN
  • QDQV_Q_LEVEL_UD_CHAR
  • QDQV_Q_LEVEL_UD_HEAD

 

Sab125

Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ...Sab

Leave a Reply

Your email address will not be published. Required fields are marked *