Analyzer

Use

In the SAP Application Interface Framework, the Analyzer assists you with the process of analyzing the steps that are executed at runtime. It shows you the order in which Customizing settings are executed and helps you locate errors and the origin of incorrect mapping.

The Analyzer supports you in finding the root cause of incorrect values. It allows you to analyze how the values have changed during runtime. Furthermore, it helps you to understand how the runtime works.

Integration

You access the Analyzer in the Interface Test Tool (from the SAP Fiori launchpad or transaction code /AIF/IFTEST) where you can create test data or reuse existing test data for the interface you have selected for analysis (see Interface Test Tool).

In the tool bar of the Test File Overview screen, select Read Data to trigger the runtime with the transformation of the data and processing of the defined actions. When the runtime is finished, the Process Test Files screen of the Analyzer is displayed.

Features

Screen Areas

The Process Test Files Screen of the Analyzer

The following three areas are displayed on the Process Test Files screen of the Analyzer:

  • Raw structure on the left

    • RAW Structure

      Shows the data of the raw structure at the selected process step

    • Value

      Shows the value before the selected process step was executed

  • Process tree in the center

    • Process Step

      Shows the sequential process steps of the specified interface, displayed in the order they had been executed in the runtime

      Each process step corresponds to a Customizing setting. The process steps are grouped according to their hierarchy level and are displayed as a tree. Each step shows how the runtime processed the interface by transforming the data and performing actions.

    • Result

      Shows the result of a specific process step, for example, whether or not a check or a value mapping was successful, or a fix value that was added.

  • SAP structure on the right

    • SAP Structure

      Shows the data of the SAP structure at the selected process step

    • Value

      Shows the value after the selected process step is executed

Highlighted Nodes

The selected process step and the corresponding pre- and post-runtime values are highlighted in the following colors:

Yellow

The selected process step.

Orange

If available, the fields and values used for the mapping or the check.

Depending on your settings the fields can be in both, the SAP and the RAW structure.

Blue

If available, the fields and values that were changed or set by the mapping, check, or fixed value.

Activities

You can start at any node in the process or the structure areas to analyze different aspects of the interface processing, for example:

  • Retrace the process steps

    In the Process Step area, you can jump back to any step by double-clicking on the node. This updates both the raw and SAP structure trees and highlights the fields and values involved in this step.

    You can make transparent what happened in which sequence and correct, for example, the order of your process steps.

  • Show where a field is used

    In the RAW Structure and SAP Structure areas, you can select a field and choose Show where field is used. This highlights the process steps that will transform data from this field, and the field that will receive the transformation result.

    You use this function to take a look forward in the history of a value. For example, to find out why a value that you see in the raw structure did not find its way into the right field in the SAP structure.

  • Explain the changes made to a field

    In the RAW Structure and SAP Structure areas, you can select a field and choose Explain changes to field. This highlights the process steps that transformed the data in this field and the fields that delivered the input values for the transformation.

    You use this function to take a look backwards in the history of a value. For example, to find out how it came to an incorrect value that you see in the SAP structure.