Blog > Michal’s Tips: AIF 3.0 – Mapping Analyzer – intermediate results

Michal’s Tips: AIF 3.0 – Mapping Analyzer – intermediate results

Michał Krawczyk SAP Mentor, SAP Press Author
icon__calendar 2014-12-27

SAP AIF 3.0 – Mapping Analyzer

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 it works.

AIF 3.0 – Mapping analyzer – intermediate results

Step 1

At first you need to create an interface and a mapping which can be used by this interface.

Step 2

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.

Interface test tool

Step 3

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”.

Process Step STANDARD

Step 4

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).

Mapping execution

Step 5

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.

Process Step Conversion

I hope this blog has explained the new “Analyzer ” feature in a simple way. In the next blogs on the Int4 blog, I will try to show some more new functions of the AIF 3.0.

Michał Krawczyk SAP Mentor, SAP Press Author
SAP integration consultant since 2004. He has been recognized by SAP included becoming an SAP Mentor in 2007 and winning the top contributor/topic leader award from SDN (SAP Developer Network portal) in SAP PO/PI eight times. Michal is the author many SAP integration related books: Mastering idoc business scenarios with SAP XI , Mastering idoc business scenarios with SAP PI (second edition).

Contact us

If for any reason, the thought of reaching out to us has crossed your mind, then by all means do not hesitate to get in touch with us, as we are more than happy to put to rest all of your concerns.