Function documentationData Buffer Locate this document in the navigation structure

 

You use data buffering to handle errors that occur when you send SAP Manufacturing Integration and Intelligence (SAP MII) query or action requests to external systems. When errors have been corrected, you resend the data.

You enable data buffering for the following data servers:

  • InSQL Connector

  • IP21 Connector

  • Open Connector

  • OLEDB

  • AlarmSuite Connector

  • Universal Data Connector (UDC)

  • OLAP Connector

  • IDBC Connector

  • Xacute Connector

  • KPI Connector

  • PCo Connector

  • Catalog Connector

  • MDO Connector

See Connectors.

Prerequisites

You have set the following properties for your data servers:

Name

Property

Description

Retention Time in Days

DaysRetention

The number of days the system keeps the data buffer entry

Max. Retry Count

MaxRetryCount

The maximum number of times you can resubmit requests

Retry Interval

RetryInterval

The number of milliseconds the system waits before resubmitting the query or action request. The scheduler adds one minute to this time.

Processing Type

ProcessingMode

  • Synchronous Processing

    The RFC is executed immediately, and the transaction waits for a response from SAP ECC. If an error occurs, the system does not execute the RFC again.

  • Asynchronous Processing on Error

    The RFC is executed immediately. If the RFC cannot be executed because of network or connectivity issues, the action is added to the data buffer for future execution.

  • Asynchronous Processing

    The RFC is not executed immediately, but it is added to the data buffer to be executed later. The transaction continues without waiting for a response from SAP ECC.

If you are using the following actions, you have set the above properties on the action's configuration screen:

  • HTTP Post

  • HTTP XI

  • SAP JCo Execute Queue

  • SAP JCo Function

  • SAP JCo Interface

  • SAP JRA Function Call

  • Web Service

  • Web Service XI

On the General screen of your query in the SAP MII Workbench, you have selected the Allow Buffering checkbox.

Features

You view a summary of data buffering jobs or you view, reset, and delete data buffering entries. For more information, see Data Buffer Jobs and Entries.

Activities

The following steps describe the data buffering process:

  1. You send a query or action request to an external system.

  2. If the request fails because of a communications error, the system writes a data buffer entry to the SAP MII database.

  3. The system checks the database for failed entries and sends a request to a Java Message Service (JMS) queue to resubmit the query or action.

    Note Note

    If the query or action was already resubmitted from the buffer, it has a buffer entry ID. Once the retry limit is reached, the entry is no longer considered for submission.

    End of the note.
  4. A data buffer processor listens to the JMS and resubmits the requests.