Ansicht
Dokumentation

/AIF/FIXVALUES - Define Fix Values

/AIF/FIXVALUES - Define Fix Values

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

In this Customizing activity, you define fix values in the SAP Application Interface Framework. The fix values that are defined here are reusable and can be maintained and changed in a central place.

Within the SAP Application Interface Framework, fix values are used in structure and value mappings to assign a constant value to a field in the destination structure. Additionally, they can also be used in checks to refer to a constant value.

You should be aware of the different use of the term fix value, which refers to an object in the SAP Application Interface Framework, and the term constant value, which refers to a value that is fixed.

You have defined a namespace using the Customizing activity Define Namespace. Every fix value has to be assigned to a namespace.

You have the authorization to display or maintain Customizing for the given namespace.

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

Choose an existing namespace. The Define Fix Values group box is displayed showing all existing fix values that have been created.

  1. To define a new fix value, choose New Entries.
To edit an existing fix value, double-click on the fix value name.
  1. Enter the name of the fix value, insert a description, and add the value you require. On saving, it is added to the list of existing fix values.
  2. [Optional] Create a number of fix values within a table for an existing named fixed value. The fix value table can be used in a self-defined function module as follows:

    SELECT * FROM /AIF/T_TFIX INTO TABLE WHERE NS = AND FIXVALUENAME =

    To create a fix value table, proceed as follows:
    1. To use a fix value table, click on the named fix value from within the Define Fix Values group box and then double-click on Define Fix Value Table from within the dialog structure.
    2. To define new entries, choose New Entries.
    3. Enter a row number and value. On saving, your entries are added to the Define Fix Value Table.

A $1.00 store receives item data using different interfaces. However, the price of the items should be preset to 1.00. The company now has two options to accomplish this goal:

  • Maintain a constant value for the price field in every interface receiving item data.
  • Maintain a fix value in namespace GENERAL called PRICE with the associated constant value 1.00. Enter the name of the fix value for the mapping of the price field in every interface receiving item data.

At a later point, the company decides to increase the price of their products to $1.50 per item. Here, the advantages of a fix value become immediately obvious: Option 1 requires the company to change every interface receiving item data, whereas option 2 leaves the interface settings completely untouched and the fix value needs to be changed only once in the corresponding Customizing activity.






rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3817 Date: 20240418 Time: 124815     sap01-206 ( 59 ms )