Replicate
This function module is defined as a BAPI and collects the code groups and the subodinate codes for transmission using ALE. The filter object types are read from the distribution model. Thendepending on these types, the values being sent are written to the
structure filterobject_values. Finally, the affected logical systemsare read from the distribution model using a fucntion module in connection with the filterobject_values. The import parameter is a structure that contains the catalog type andcode group. The code group for this catalog type and the subordinate
codes are distributed. The function module is accessed once for each code group. The data for the code group is read from the QPGR and the codes areread from the QPCD, and both the code groups and the subordinate codesare transferred in their entirety (this means, with short and long texts).
Within this function module, the internal display is converted to a display of external fields (BAPI data fields). Import parametersCODEGROUP is a structure which contains the key fields for the catalogtype and the code group. This data marks the code group as complete.
Export parametersRETURN is the standard parameter for a BAPI and returns the messages if errors occur.
|