- The data for the inspection method/plant combination is read from the
QMTB and the inspection method/plant combination is sent with all itsversions (this means, with short and long texts).
Within this function module, the internal display (QMTB fields) isconverted 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 messagesif errors occur.
Description
This import parameter is a structure that contains an inspection methodnumber and a plant description. This parameter describes the inspectionmethod that should be sent.
In general, all versions of an inspection method are processed.
Value range
A specification of areas is not supported. You can only specify oneinspection method/plant combination. For example, if severaln-inspection methods should be transferred, the module must be calledup n-times.
Description
This parameter is a general enhancement parameter that makes itpossible to make enhancements (for example, additional data) in thisBAPI interface without changing the structure of the interface.
The parameter is also available in BAPI 'BAPI_QMTB_SAVEREPLICA'.
In both modules, the parameter 'EXTENSION1' is managed using customerexit 'QSMT0020'.
Description
This parameter contains the target system to which the inspectionmethods should be distributed.
Value range
You do not have to enter values in this parameter.
If RECIPIENTS is empty, the system trys to determine recipient systemsusing the message type 'QSMT' from the distribution model.
Note
If both recipient systems are entered in this parameter and suitablerecipient systems are maintained in the distribution model, objects tobe distributed are sent to all recipient systems.
If you do not specify recipient systems in RECIPIENTS and no recipientsystems can be found in the distribution model, the distribution cannotbe performed and an error message is issued.
Description
This parameter is the standard parameter for the return of messages. Ifa message (any message type) is written within this function module,the message is stored in this return table. Since exceptions are notallowed in BAPIs, this is the only way to return messages. If thistable is empty, no error has occured. This parameter is required for aBAPI. For more information on this parameter, see the description forthe data type (data type: BAPIRET2).