Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>InspectionLot



Index

InspectionLot

InspectionLot


The Business Object Inspection lot is the instruction, addressed
to a plant, to carry out a quality inspection on a certain quantity of a material.


Structure


Inspection lots can contain several operations. An operation specifies what activity is to be carried out at a work center.


Operations can contain several inspection characteristics. An
inspection characteristic describes what is to be inspected. The sample
size and also the conditions for acceptance or rejection of the
inspection lot are specified for each inspection characteristic in the inspection operation sample.


Inspection points specify the quantity from which the sample is drawn.


Furthermore, for each operation the required production resources/tools can be specified.


Inspection lots for deliveries to customers or for manufacturing or
repetitive manufacturing orders can be divided up into several partial lots.


Comment


Inspection lots can result, for example, from goods movements or deliveries to customers.


They can also be formed for manufacturing or repetitive manufacturing
orders in order to carry out inspections of the material during production.


The inspection results obtained for an inspection lot form a basis for the usage decision.


11-Dec-2005


Methods

Available Methods


  • GetDetail : Load detail data for inspection lot [ BAPI_INSPLOT_GETDETAIL ]
  • GetList : Select inspection lots [ BAPI_INSPLOT_GETLIST ]
  • GetOperations : Select inspection operations for inspection lots [ BAPI_INSPLOT_GETOPERATIONS ]
  • SetUsageDecision : Make automatic usage decision [ BAPI_INSPLOT_SETUSAGEDECISION ]
  • StatInterface : QM-STI Interface [ BAPI_INSPLOT_STATINTERFACE ]

11-Dec-2005


GetDetail

GetDetail


Using With this method, the following detail data can be read for the inspection lot:

  • General data for the inspection lot
  • Data from the inspection plan or routing
  • Stock-related data for the inspection lot
  • Account assignment data for the inspection lot

  • Usage decision for the inspection lot
  • Customer fields in the INCLUDE CI_QALS
  • Table with all system statuses for the inspection lot
  • Table with all user statuses for the inspection lot
  • Table with all reference records between the inspection lot and material documents

  • Notes

    No ISO conversions are performed for the fields in the CUSTOMER_INCLUDE_DATA structure.


    11-Dec-2005


    GetList

    GetList


    You can use this method to load inspection lots for various selectioncriteria. The selection criteria relate to the reference objects of theinspection lot, for example material, batch, vendor, order number and so on, as well as the creation date of the inspection lots.

    Example

    DATA: L_INSPLOT_LIST LIKE BAPI2045L1 OCCURS 0 WITH HEADER LINE.

    CALL FUNCTION 'BAPI_INSPLOT_GETLIST'
    EXPORTING
    MATERIAL = 'Y-100'
    TABLES
    INSPLOT_LIST = L_INSPLOT_LIST.

    Notes

    the number of inspection lots found by the system can be limited using the parameter MAX_ROWS. This parameter is preset to 100.


    11-Dec-2005


    GetOperations

    GetOperations


    This method provides the inspection operations for an inspection lot.


    11-Dec-2005


    SetUsageDecision

    SetUsageDecision


    Using this method, the system can make an automatic usage decision for an inspection lot.


    11-Dec-2005


    StatInterface

    StatInterface


    The QM-STI interface provides the QM application component with an openinterface for the integration of inspection result evaluations, using external statistical systems.

    The application area of the interface covers:

  • Provision of the inspection results

  • Start of predefined external evaluations
  • Automatic calculation of key figures using the external statistical system
  • The QM-STI evaluations are triggered in the various inspectionprocessing transactions, as well as by a general evaluation using the logical PGQ database.


    Statistical systems with a compatible interface are a precondition for the use of the QM-STI interface.

    The method StatInterface defines the interface between the SAPsystem and the external program. The method is called by the QM component and is executed in the external system.



    11-Dec-2005