Sapass

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



Index

InspectionPlan

InspectionPlan


The business object Inspection plan describes the inspection process for one or more materials in a plant.


Structure
An inspection plan can contain several operations. An operation
describes the activity to be carried out in a work center. Operations can contain several inspection characteristics. An inspection
characteristic describes what must be inspected. Each operation can
also specify which production resources/tools are required for the activity.

Comment

An inspection plan can be used to inspect several materials in a plant. Related inspection plans can be combined in a group.


11-Dec-2005


Methods

Available Methods


  • Create : Create inspection plan [ BAPI_INSPECTIONPLAN_CREATE ]

11-Dec-2005


Create

Create


You can use this function module to create inspection plans and all its subordinate objects.
You can create a key date view and the complete history of aninspection plan. It is useful to have a history when transferring data from external systems.


Example

You want to create an inspection plan with operations and inspectioncharacteristics for key date 01.01.2000. Make an entry in the following tables for each object:

  • TASK
  • OPERATION
  • INSPCHARACTERISTIC
    If you want to assign test equipment to the inspection characteristic
    in field ITEM_NO_OF_PRODUCTION_RESOURCE, you must have assigned this test equipment in PARAMETER PRODUCTIONRESOURCE.
  • Notes

    If no error occurs during the transfer of data, the export parametersGROUP and GROUPCOUNTER contain the key for the task list created. A COMMIT WORK must be executed for writing data to the database.

    All errors that have occured are logged in the export parameter RETURN.If there are inconsistencies, the inspection plan to be created is rejected.


    11-Dec-2005