×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

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



Index

InspectionMethod

InspectionMethod


The Business Object Inspection method describes how a
particular inspection characteristic is to be inspected. You can store this information in the form of a long text.


11-Dec-2005


Methods

Available Methods


  • Replicate : Prepare QM Inspection Methods for Distribution [ BAPI_QMTB_REPLICATE ]
  • SaveReplica : Replication of QM Inspection Methods [ BAPI_QMTB_SAVEREPLICA ]

11-Dec-2005


Replicate

Replicate


This function module is defined as a BAPI and collects the inspection methods for sending using ALE.

The filter object types are read from the distribution model. Dependingon these types, the current values to be sent are written to thestructure filterobject_values. Then, the relevant logical systems are
read using a function module with the filterobject_values from the distribution model.

The import parameter is a structure that contains the inspection methodand plant. This inspection method/plant combination is distributed.

The function module is accessed once for each inspection method/plant combination.


  • The data for the inspection method/plant combination is read from theQMTB and the inspection method/plant combination is sent with all its versions (this means, with short and long texts).
  • Within this function module, the internal display (QMTB fields) is
    converted to a display of external data fields (BAPI data fields).

    Import parameters

    PMPLNT is a structure that contains the key fields inspection methodand plant. This data marks the inspection method as complete.

    Export parameters


    RETURN is the standard return parameter for a BAPI and returns messages if errors occur.


    11-Dec-2005


    SaveReplica

    SaveReplica


    This function module is marked as a BAPI and is used to save inspection methods in the target system.

    The ALE layer contains inspection method data in the form of IDocs,formats the data, and calls up this BAPI with the corresponding parameters and tables.


    BABI_QMTB_SAVEREPLICA performs various checks on the inspection methodthat is to be saved. If no errors occur, the inspection method is savedto the database in the target system with all its versions and short and long texts.

    The table RETURN contains messages if there are errors, since exceptions are not allowed for BAPIs.


    This function module can also be used with the DX Workbench (transaction: SXDA) for initial data transfer.


    11-Dec-2005