SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Similar documents
MDM Syndicator Create Flat Syndication File

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Visual Composer - Task Management Application

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

Consuming Web Dynpro components in Visual Composer.

What s New / Release Notes SAP Strategy Management 10.1

Do Exception Broadcasting

Install TREX for CAF Version 1.00 March 2006

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

Cache Settings in Web Page Composer

How to Set Up and Use the SAP OEE Custom UI Feature

Web Page Composer anonymous user access

Process Control 2.5 Implementation Checklist

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

How to Use Function Keys in Mobile Applications for Handhelds

link SAP BPC Excel from an enterprise portal Version th of March 2009

How To Extend User Details

Building a Tax Calculation Application

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

SAP NetWeaver How-To Guide

How To... Promote Reports and Input Schedules Through Your System Landscape

Visual Composer Build Process

How To... Reuse Business Objects and Override Operations of a Business Object

How To...Configure Integration of CUP with SPM

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To... Configure Integrated Configurations in the Advanced Adapter Engine

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

How to Create a New SAPUI5 Development Component

Enterprise Portal Logon Page Branding

How to Browse an Enterprise Services Registry in Visual Composer

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

configure an anonymous access to KM

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

View Time Security for crystalreports.com

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Introducing SAP Enterprise Services Explorer for Microsoft.NET

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

xmii UDS Overview and Troubleshooting

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

How To Troubleshoot SSL with BPC Version 1.01 May 2009

Extracting Product Attributes in XML using Web Service

How to Translate a Visual Composer Model Part I

How-To... Add Sensitive Content into an Area

Integrate a Forum into a Collaboration Room

How To Configure IDoc Adapters

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

Simplified Configuration of Single System Update in Maintenance Optimizer

Working with Select Options in Web Dynpro for ABAP

Extract Archived data from R3

Value Help in Web Dynpro ABAP - Tutorial.

How To... Master Data Governance for Material: File Down- and Upload

Create Monitor Entries from a Transformation routine

SAP NetWeaver How-To Guide

Consuming Directory API in ABAP

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

Installation Guide Business Explorer

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

JMS Clustering and Failover

Setting up Single Sign On Between xmii and Enterprise Portal

How to Use Definitions in Rules Composer

Create Monitor Entries from an update routine

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

How To Generate XSD Schemas from Existing MDM Repositories

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Monitoring System Landscapes Using the DBA Cockpit

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Configure Peripheral Drivers with Mobile Infrastructure

SAP Composite Application Framework. Creating a Content Package Object

The test has been performed using a 64 Bit SAP NetWeaver Application Server Java 7.1 Enhancement Package 1 SP4 or greater system.

SAP NetWeaver 04. Unification Terminology

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Web Intelligence Caching in BusinessObjects Enterprise XI Release 2

DOE s Attachment Capability - with a Sample Application

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

Setting Up an Environment for Testing Applications in a Federated Portal Network

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

Single Sign-on For SAP NetWeaver Mobile PDA Client

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

How to Use Other Conditions in Decision Tables in Rules Composer

Using Tools to Represent Appraisal Status Flow (HR module Objectives Settings and Appraisals ) as Diagram

Line Items in BI Integrated Planning

How To... Use the BPC_NW Mass User Management Tool

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

SAP BPC 5.0 & 5.1 Performance and Reliability tips

What's New in the DBA Cockpit with SAP NetWeaver 7.0

Project Systems: Hierarchical structure and Table Links

How to Handle the System Message in SAP NetWeaver Mobile 7.1

Tutorial: Consuming Web Services in Web Dynpro Java

How to Enable Single Sign-On for Mobile Devices?

Transcription:

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling. Applies to: SAP MII 12.0. - For more information, visit the Manufacturing homepage. Summary This document explores the data buffering features of SAP MII in order to handle the communication errors that occur when you send SAP xmii query or action requests to external systems. These requests are persisted in a messaging queue and the request can be reposted after the error is corrected. This technique is particularly very useful in case of intermittent data source connection failures. Author: Deepak Rai Sharma Company: SAP Labs India Pvt. Ltd. Created on: 26 December 2008 Author Bio Deepak Rai Sharma is Principal Solution Consultant-Solution Management (Manufacturing) at SAP Labs, Bangalore. He has 7+ years experience in design, development and product management for SCM and Manufacturing applications. He specializes in various logistics and manufacturing modules of SAP ERP and an expert in SAP MII. His current focus is on Enterprise Service Enablement and Adoption of SAP Manufacturing and next generation Manufacturing Connectivity and Intelligence initiatives. 2008 SAP AG 1

Table of Contents Introduction...3 Setting up Data Buffering in SAP MII...3 Example: Data Buffering for IDBC Connector...5 Related Content...6 Copyright...7 2008 SAP AG 2

Introduction SAP MII plays a central role as mediator for integration between enterprise and plant systems. So, MII also provides the capabilities of buffering data between plant systems to allow plant operations independent of availability of ERP system. Since version 12.0, SAP MII allows data buffering facility for query and actions, which helps the system to keep track of asynchronous queries that failed due to connection failures and retry at pre-defined intervals. This functionality is particularly useful when an asynchronous update is required but fails due to connection failure. In such situation, the MII data buffering will take care of this asynchronous update. It uses the Java Message Service (JMS) queue to retry the failed requests. Setting up Data Buffering in SAP MII Data Buffering can be enabled for BLS action block SAP Java Resource Adapter (JRA) and the following data server connectors: InSQL IP21 Open Connector OLEDB AlarmSuite Universal Data Connector(UDC) OLAP IDBC Xacute In order to configure the data buffering, the user must maintain the fields DaysRetention, RetryInterval and MaxRetryCount while creating the data server. 2008 SAP AG 3

These values determine the maximum retries and the frequency for retrying the requests in data buffer. If the buffered request is not successful even after the maximum number of retries, the entry remains in the buffer for the number of days defined in DaysRetention. However, not every query that is executed on the data server may require data buffering. Hence, each query needs to be enabled with data buffering if required. This can be done by ticking the checkbox Allow Buffering on the General screen of the query template. The parameters to setup BLS action block SAP JRA for data buffering is slightly different as it neither uses a data servers nor a query template. All the setting for retry interval, max retries, days retention are done as part of the configuration of the action block SAP JRA Function Call itself. 2008 SAP AG 4

Example: Data Buffering for IDBC Connector The following example shows how the data buffering works for a query for IDBC data source. It would work in similar fashion for other data sources as well. Let us assume that all the settings stated in above sections have been done for the data server and the query is enabled for data buffering. When a query fails due to data server connection failure a fatal error Query was executed, but had communication errors, will be retried at a later date is generated. It means that the query has been queued in the data buffer. On SAP MII Menu, under section Data Services there are two links to monitor this queue. The link Data Buffer Jobs shows the list of jobs sorted based on the data source. As shown in the figure below: And the other link Data Buffer Entries show the actual number of queries queued for each data source. As you can see in the figure below, there is one query for the source MII_Example with its status. The user has an option of displaying the query, history of retries, reset entry or delete the entry. The entry gets automatically deleted from this queue when it is executed successfully. If the query is unsuccessful even after the designated number of retries it stops retrying and sets the status as Failed. When the connection error is rectified, the user can reset the status of this entry so that it can retry. And even then if it does not succeed the status is changed to Error. 2008 SAP AG 5

Related Content SAP MII Help Official help for Data Buffering SAP Software Distribution Center For more information, visit the Manufacturing homepage. 2008 SAP AG 6

Copyright 2008 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, System i, System i5, System p, System p5, System x, System z, System z9, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2008 SAP AG 7