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).
PMPLNT is a structure that contains the key fields inspection methodand plant. This data marks the inspection method as complete.
RETURN is the standard return parameter for a BAPI and returns messages if errors occur.