Replication of QM codes with the subordinate codes, including the shortand long texts and the codes and code groups. This function module is marked as a BAPI. The ALE layer contains the code groups and codes in the form of IDocs,formats the data and accesses this BAPI with the correspondingparameters and tables. BABI_QPGR_SAVEREPLICA performs various checks onthe code group to be saved. If there are no errors, the code group, itscodes, and the short and long texts are saved in the target system. The table RETURN contains messages if there are errors, sinceexceptions are not allowed for BAPIs. This function module can also be used in connection with the DXWorkbench (transaction: SXDA) for the initial data transfer.Description Data for the code group that should be created in the target system. Description This parameter has the characteristics of a table and contains thecodes that are assigned to the code group. A data record for this parameter contains the complete data for a codewithin a code group. Several codes can be maintained for a code group. This table can also be empty. This is the case if the code group doesnot contain any codes. Description This parameter has the characteristics of a table and contains all thelong texts for a code group. A table entry corresponds to a long textline. In contrast to the short text table "CODE_GRP_SHORTTEXTTAB","CODE_GRP_LONGTEXTTAB" can contain several entries for a code groupwith the same language. This table can also be empty. This is the case if there is no long textfor this code group. Description This parameter "CODE_GRP_SHORTTEXTTAB" has the characteristics of atable. A data record for this parameter contains the complete data fora short text of a code group. You can maintain several short texts fora code group, each in different languages. There can only be one entryin this table for each language and code group. However, there must beat least one entry (this means, one short text) for the code group ofparameter "I_CODE_GROUP" in "CODE_GRP_SHORTTEXTTAB". "CODE_GRP_SHORTTEXTTAB'" contains all short texts for the code group,which is described using the parameter "I_CODE_GROUP". This table must contain data. Description This parameter has the characteristics of a table and contains all longtexts for the codes that are assigned to a code group. The long texts for all codes in a code group are in this table. Onetable entry corresponds to a long text line. This table can also be empty. This is the case if no codes exist forthis code group or there is no long text. Description This parameter "CODE_SHORTTEXTTAB" has the characteristics of a table. A data record for this parameter contains the complete data for a shorttext of a code within the specified code group. Several short texts canbe maintained for a code, each in a different language. There can onlybe one entry in this table for each language and code. However, there must be at least one entry (a short text) for each codeof parameter "CODES_OF_CODE_GRP" in "CODE_SHORTTEXTTAB". "CODE_SHORTTEXTTAB" contains the short texts for all codes that arelisted in the parameter "CODES_OF_CODE_GRP". Therefore, if codes exist, this table must contain data. Description This parameter is a general enhancement parameter, which if necessarycan be used to make enhancements in this BAPI interface (for example,extra data) without changing the structure of the interface, The parameter is also available in the BAPI "BAPI_QPGR_REPLICATE". 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 not allowed in BAPIs, this is the only way toreturn messages. If this table is empty, no errors have occured. This parameter is required for a BAPI. For more information, see thedescription for the data type of this parameter (data type: BAPIRET2) |