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.
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 |
|
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.
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.
The following steps describe the data buffering process:
You send a query or action request to an external system.
If the request fails because of a communications error, the system writes a data buffer entry to the SAP MII database.
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
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.
A data buffer processor listens to the JMS and resubmits the requests.