Fonction SAP BKK_API_MAP_FIELD_ERRORS - Mapping For Error Messages Not Based on Fields

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_LOG_NO BAPIRET2-LOG_NO C 20 X
I_SYSTEM BAPIRET2-SYSTEM C 10 X

Paramètre Reférence Long. Facultatif Description
TE_BAPI_MESSAGES BAPIRET2 548
TI_BKK_MESSAGES BUS0MSG1 628
TI_BKK_MESSAGES_FIELD BUSSPROT_X 236 X

Functionality
This function module is used for mapping the BCA message structure SMESGto the message structure of the BAPIs (BAPIRET2).
The PARAMETER, ROW, and FIELD fields in the BAPIRET2 structure for thereturn of the error message are not relevant for field-related messages.
The PROT_NO parameter (log number) and SYSTEM (logical system) can beprovided by the BAPI to the function module for mapping the structures,since there is no relevant field in the BCA structure for these fieldsin the return structure of the BAPI.