Ansicht
Dokumentation

/AIF/VALMAPS - Define Value Mappings

/AIF/VALMAPS - Define Value Mappings

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you define value mappings in the SAP Application Interface Framework.

Value mappings can be used to map one or multiple values of an external structure to the corresponding value in an internal structure. If used as part of the structure mapping during interface processing, the value mapping can take up to five field values as its input. You can use these values to derive the result value, for example, using a value mapping table or a database select.

Since value mappings in the SAP Application Interface Framework have a well-defined input (up to five field values) and a well-defined output (one field value), they remain independent of the context in which they are called. As a result, value mappings can be easily reused by several interfaces in the SAP Application Interface Framework.

You have defined a namespace in Customizing for the SAP Application Interface Framework under Define Namespace. Every value mapping has to be assigned to a namespace.

You have the authorization to display and / or maintain value mappings for a given namespace.

There are no value mappings in the delivery of the SAP Application Interface Framework. The value mapping list is empty by default.

  1. Choose an existing namespace.
  2. In order to define a new value mapping, choose New Entries. To edit an existing value mapping, double-click any field in the corresponding line.
  3. Enter a name for the value mapping (minimum requirement).
  4. You are able to select from different options to compose the value mapping, including the following:
  • Execute a conversion exit

  • Select data from a database table

  • Define a default value

  • Use a function module to map data

  • Define that value mappings from the value mapping transaction should be used

  • Define single or multiple value mappings (use the Define Valuesor Define Multi Values views for this purpose)

  • Assign a check (defined in Customizing for the SAP Application Interface Framework under Define Checks) to the value mapping and define if the check is executed before or after value mapping execution.

  • Define the validity period type that should be used, that is, either the validity dates or the validity period number.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3179 Date: 20240420 Time: 102525     sap01-206 ( 47 ms )