Show TOC

Saving Message VersionsLocate this document in the navigation structure

Use

You can store versions of messages at runtime in the Advanced Adapter Engine (AAE) and the Integration Engine (IE). You can specify after which processing step in the pipeline of the AAE and the IE the message version is to be stored.

Procedure

You have the following options to store messages at runtime:

  • Staging

    Versions of asynchronous messages can be stored after specific steps at runtime. An administrator can then edit the message, for example, in order to correct faulty data in the payload, and then restart and process the message again.

    This function is only available for messages processed by the AAE.

  • Message logging

    Versions of synchronous and asynchronous messages can be stored after specific steps at runtime to make them available for logging purposes at a later point in time. Logged messages are only available in display mode and cannot be restarted any more.

Global Configuration of Staging

Find below more information on how to configure staging globally, that means, for all scenarios running in a PI landscape.

This function is available for asynchronous messages processed by the AAE.

Configuring Staging on the Advanced Adapter Engine

When you use the dual-stack implementation option of SAP PI, you can configure staging on the AAE for two different kinds of message processing scenarios:

  • Dual-stack message processing (including the IE)

    In scenarios of this type, both AS ABAP and AS Java are involved for message processing at runtime.

    This kind of message processing has been available in the very first releases of SAP PI. It is configured using the configuration objects receiver determination , interface determination , and sender/receiver agreement in Integration Directory.

    More information: Saving Message Versions in the Advanced Adapter Engine (Dual-Stack Message Processing)

  • “Local” message processing on the AAE

    This kind of message processing involves only the Advanced Adapter Engine at runtime, the ABAP stack is not involved at all.

    Scenarios of this type are configured using the integrated configuration in Integration Directory.

    This kind of staging is also the only available option in case you use the Advanced Adapter Engine Extended.

    More information: Saving Message Versions in the Advanced Adapter Engine (Local Message Processing)

Global Configuration of Logging

Find below more information on how to configure this function globally, that means, for all scenarios running in a PI landscape.

This function is only supported for synchronous messages.

Configuring Logging on the Integration Engine

More information: Logging and Tracing (Integration Engine).

Configuring Logging on the Advanced Adapter Engine

You can log messages either in the pipeline of the Advanced Adapter Engine or within the processing of a chain of modules of an adapter.

Scenario-Specific Configuration of Staging and Logging

You can configure staging and logging of messages for specific scenarios that are covered by an integrated configuration.

Note

This option is only available for AAE-only message processing.

To perform scenario-specific configuration of staging and logging, open the corresponding integrated configuration in Integration Directory and choose tab Advanced Settings .

Proceed as described under: Configuring Advanced Settings for Message Storage

Note

For more information on how to display logged messages on the AAE, see: Monitoring Messages

Displaying Message Versions on the Integration Engine

You can display versions of messages processed by the IE. You can compare message versions in order to analyze what changes to the message were made by the individual processing steps of the pipeline.

More information: Displaying Message Versions (Integration Engine).