As of October 2014 the new version of AIF (3.0) is available and with the new version lots of new functionalities are available. One of them is the new mapping Analyzer. With this new tool you can now trace single steps of a mapping execution and this way find the issues much more quickly then if the mapping program runs in a single run. This is a different approach if we compare the SAP Process Orchestration Message Mapping tool which cannot display the intermediate results of the mapping. Let’s see how does it work.
At first you need to create an interface and a mapping which can be used by this interface.
Next you can test the interface in the “Interface test tool” – TCODE – /AIF/IFTEST/ and after you populate the data in the test structure use the new Analyze button to go open the new tool.
In the Process Step section you can now open each of the nodes of the Structure mapping and on the right hand side you will see the result values. As you can see in the example before the RAW_ADD_DATA_T structure is being processed the values of DATA1 and DATA2 fields contain the “pre mapping” prefix and data4 field has a value – “STANDARD”.
After we click on the DATA2 structure in the Process Step section the mapping for DATA1 and DATA2 fields will be executed and on the right hand side we will get the intermediate result for this small part of mapping execution only (in this case we remove the “pre mapping” part).
The next step is to see if the value mapping for DATA4 field is working correctly and in order to do that we need to select the DATA4 field in the Process Step section and then click on the Conversion element of the DATA4 field mapping (conversion from value “STANDARD” to value “P”). This will start the value mapping of the DATA4 field and we will be able to see if the conversion was executed as expected giving the correct result in the right hand side.
I hope this blog has explained the new – Analyzer – feature in a simple way. In the next blogs I will try to show some more new functions of the AIF 3.0.