Show TOC

Method Parameters (Transformation)Locate this document in the navigation structure

In this section, you define the mappings for parameters of a transformation method. Map the source fields to a method's import parameters, and the target fields to a method's export parameters. You can edit the following attributes (for example):

  • Name of method parameter

  • Type of method parameter: import or export parameters of transformation method

  • Structure: One of the source structures or the target structure that you specified for this mapping step.

  • Field name: A field of the structure indicated. The field type must be compatible with the selected import or export parameter type. The F4 help suggests fields of a compatible type only. If you want to assign the entire structure to a parameter, enter the value <*>.

  • Fixed value: You can assign a fixed value to import parameters. In this case, no entries are allowed for structure or field name. You cannot specify fixed values for export parameters.

Example

You want to convert a currency amount from ISO to a SAP-internal format. The method AMOUNT_IN of class CL_SMT_TRANS_AMOUNT enables you to do this. You must specify four mappings:

  • In your source structure, map the import parameters I_CURRENCY_CODE and I_VALUE to the ISO currency and its value.

  • Map the export parameters E_CURRENCY_CODE and E_VALUE to the corresponding fields in your target structure.