Ansicht
Dokumentation

WLF_SOA_SMT_SC_0008 - BAdI for Mapping of Code Values

WLF_SOA_SMT_SC_0008 - BAdI for Mapping of Code Values

Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Settlement Management component (LO-AB). The BAdI is called in field and complex transformation for code value mappings, which allow proprietary code values exclusively or in addition to standard code values. The supplementary fields (ListID, ListVersionID and ListAgencyID) identify the code list from which the code is taken. The transformations and conversions are used in service operations for settlement management documents.

The BAdI offers two different methods:

  • GET_CODE_SUPPL_FIELDS: Provides the supplementary fields for a code GDT (Global Data Type)
  • MAP_INBOUND: Provides the code value mapping for incoming messages.

For outgoing messages, the BAdI offers the method GET_CODE_SUPPL_FIELDS to provide the supplementary fields used in the sender system for a concrete code GDT.

For incoming messages, the method GET_CODE_SUPPL_FIELDS is used to compare the supplementary fields used in the receiver's systems with those provided by the sender. If they are identical, the code value from the incoming message is accepted, otherwise a more complex code mapping has to be installed, for which the second method MAP_INBOUND is called.

Unless the supplementary fields are provided by the sender, the receiver side assumes that the corresponding code value in the incoming message belongs to the code list used on the receiver side. The incoming code value is accepted directly.

The constant CO_CODE_GDT_NAMES of the class CL_WLF_INVC_CONSTANTS contains the list of the code GDTs for which this BAdI can be used in Settlement Management.

The BAdI defines a filter value that allows you to control, at runtime, the execution of the relevant value mapping for a concrete code. The filter value is the name of the code GDT (Global Data Type).

The Business Add-In is multiple-use.

No standard implementation is delivered with this BAdI.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3067 Date: 20240523 Time: 201001     sap01-206 ( 102 ms )