Reprocessing Integration Flows
in the Integration & Exception Monitoring App

You can now reprocess completed Integration Flow messages from the Integration & Exception Monitoring app. To do so, search for an Integration Flow on the Search page. For Integration Flows that meet the prerequisite conditions mentioned below, use the Start Reprocess option provided in the Reprocess column to do the reprocessing.

 

Prerequisites

To reprocess a message, you must perform the following prerequisite in SAP Focused Run System:

  • Set up two HTTP Endpoints to the SAP Integration Suite Service in the Cloud Service Management app:

1.      A design time destination endpoint to read message store entries using the OData API.

2.      A runtime destination to initiate Integration Flow reprocessing.

For more information, refer to Creating HTTP Endpoints in the Cloud Service Management app. 

  • Ensure that the Integration Flow meets the following conditions:
    • Reprocessing is only supported for Integration Flows in the Completed status group and for HTTPS sender interfaces only. For other sender types, wrap it up with an HTTPS sender-based integration flow
    • The Integration Flow is configured to store the sender payload as the first step using the Persist Step. This payload is used for reprocessing.
    • SAP recommends Persist Step to store data in the Integration Suite. This enables the storing of data only for successful cases. Integration Flows that store sender payload using MPL attachments via scripts are not supported.
    • The reprocessing feature depends on SAP Integration Suite Message Processing logs, which provide the best effort quality of service.
    • Reprocessing is only supported for messages less than 30 days, as messages in the SAP Integration Suite persist in the system for 30 days, after which they are housekept. 
       

Procedure

The Start Reprocess feature enables you to reprocess a completed Integration Flow in the SAP Integration Suite and get an updated status.  

1.      In the Search page, search for the message using the Message ID or the available attribute filters.

The relevant results are listed in the search results table.

2.      In the Reprocess column, choose Start Reprocess.
The Reprocessing window opens.

3.      In the Retrieve payload section,

a.      Choose the design time destination defined in Cloud Service Management in Destinations in FRUN.
          The message stores entries for the specified Integration Flow message are retrieved using this destination.

b.       Choose the Message Store Entries to retrieve the payload.

c.      Choose Retrieve payload to retrieve payload data for reprocessing.

The payload is retrieved from the selected message store and displayed.

4.      Choose Next.

5.      In the Endpoints and destination screen,

a.      Choose the required Service Endpoints and Runtime Destinations.

6.      Choose the Start Reprocess option to reprocess the Integration Flow.

Creating HTTP Endpoints
in the Cloud Service Management App

Before reprocessing, set up the required endpoints to the Cloud Integration capability of the SAP Integration Suite tenant.

You can configure the endpoints in the Cloud Service Management app.

 

Prerequisites

Ensure you have configured the Cloud integration capability of the SAP Integration Suite tenant to allow sender applications to call an integration flow through a sender HTTP adapter. You can do this by creating a service instance and service key in the SAP BTP cockpit. Here, you can also define the authorization option. Note that only OAuth or Basic Auth is supported. 

For more information, you can refer to:


Procedure

Create two endpoints:

  • A design time destination
  • A runtime destination

For the runtime destination, enable the Runtime checkbox while configuring the endpoint.

Use the following procedure to define an endpoint:

1.      Open the Cloud Service Management app from the SAP Focused Run launchpad.  

2.      In the Cloud Services table, choose the cloud service you want to connect to.

3.      In the HTTP Endpoints tab à Endpoints table, choose Add to create a new HTTP endpoint.

4.      In the Global section:

a.      Specify the API Root URL and Description as required.

b.      Set the Use Case to Integration Monitoring.

c.      Select the Runtime checkbox to set up a runtime destination endpoint. If not selected, the endpoint is a design time destination endpoint.

5.      In the Authentication section:

a.      Set the Authentication as OAUTH or BASIC AUTH.
Only these two authentication methods are supported.

b.      Enter the credentials.

6.      In the Proxy section, specify the proxy details if applicable.

7.      Choose Save