Skip to Content

SAP AIF function in structure mapping

I want to use the structure mapping in the SAP AIF in a similar manner I map in SAP PI creating also small functions. Is this possible? For example I have a simple conditional mapping, that if a field has a certain value we mark it with 'X', if not is initial. I also think I would have to sum some fields later, so a function would be suitable I think.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 28, 2018 at 12:39 PM

    Hello,

    in AIF there are several places where function modules with own coding can be used.

    In your case I would create a conditional mapping to mark the required fields with X. How to create a conditional mapping in AIF is explained in this blog.

    The required calculations can be done in a function module after mapping on structure level. This function module is executed after the mapping of the selected structure is finished. (can be found in AIF Customizing -> Define Structure Mappings -> Select Source Structure -> Assign Destination structure, correct structure part should be selected).

    Best Regards

    Britta

    Add comment
    10|10000 characters needed characters exceeded