Quantcast
Channel: SCN : Discussion List - SAP Application Interface Framework
Viewing all articles
Browse latest Browse all 82

How to control sequence of mapping processing in AIF?

$
0
0

Hello AIF fans!

 

I'm facing an issue with AIF for which can't find any applicable customizing solution.

Need to process a rather complex interface mapping, consisting of three main structures and multiple substructures/tables inside. Smth like this:

 

Vehicle Interface

- System Information

-- ...

- Vehicle Information

-- ...

-- ...

- Order Document

-- ...

-- ...

 

In my mapping I have to determine some fields in Order Document mapping depending on the values, previously determined in Vehicle Information mapping and stored in some target structure fields. But the problem is (if I understand it correctly) that AIF processes mappings in alphabetical order of _source structures_, so mapping for Order Documents structure runs _before_ mapping for Vehicle Information (cause O is before V). So at the time of Order Document is being processed values are not determined in Vehicle Information.

 

Have no idea how to solve this issue if not doing everything in FM (which than makes use of AIF much less handy). It there any solution?

 

From my POV it would be nice to have additional sequence field in /AIF/T_INTREC table (where source structures are maintained) as non-key field  but having priority over RECTYPE for sorting. It can be defaulted to 0 when not needed (in this case AIF will work as it does now), but if maintained, it can provide ability to alter processing sequence.

 

Regards,

Petr


Viewing all articles
Browse latest Browse all 82

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>