tibcoactivematrix adapterfor sap concepts · this website is the sap help portal wh ere you can...

90
TIBCO ActiveMatrix ® Adapter for SAP Concepts Software Release 7.0 July 2013 Two-Second Advantage ®

Upload: others

Post on 16-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix® Adapter forSAP

ConceptsSoftware Release 7.0July 2013

Two-Second Advantage®

Page 2: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

Important Information

SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDEDOR BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITEDADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLEDSOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FORANY OTHER PURPOSE.USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF ALICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSEAGREEMENT, OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USERLICENSE AGREEMENT WHICH IS DISPLAYED DURING DOWNLOAD OR INSTALLATION OF THESOFTWARE (AND WHICH IS DUPLICATED IN THE LICENSE FILE) OR IF THERE IS NO SUCH SOFTWARELICENSE AGREEMENT OR CLICKWRAP END USER LICENSE AGREEMENT, THE LICENSE(S) LOCATEDIN THE “LICENSE” FILE(S) OF THE SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMSAND CONDITIONS, AND YOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND ANAGREEMENT TO BE BOUND BY THE SAME.This document contains confidential information that is subject to U.S. and international copyright laws andtreaties. No part of this document may be reproduced in any form without the written authorization of TIBCOSoftware Inc.TIBCO, Two-Second Advantage, TIBCO ActiveMatrix Adapter for SAP, TIBCO ActiveMatrix Binding Type forAdapter, TIBCO ActiveMatrix BusinessWorks, TIBCO ActiveMatrix Implementation Type for TIBCO Adapters,TIBCO ActiveMatrix Service Bus, TIBCO ActiveMatrix Service Grid, TIBCO Adapter SDK, TIBCOAdministrator, TIBCO Business Studio, TIBCO Designer, TIBCO Enterprise Message Service, TIBCO Hawk,TIBCO Rendezvous, and TIBCO Runtime Agent are either registered trademarks or trademarks of TIBCOSoftware Inc. in the United States and/or other countries.Enterprise Java Beans (EJB), Java Platform Enterprise Edition (Java EE), Java 2 Platform Enterprise Edition(J2EE), and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle Corporationin the U.S. and other countries.All other product and company names and marks mentioned in this document are the property of theirrespective owners and are mentioned for identification purposes only.THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALLOPERATING SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAMETIME. SEE THE README FILE FOR THE AVAILABILITY OF THIS SOFTWARE VERSION ON A SPECIFICOPERATING SYSTEM PLATFORM.THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS ORIMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS.CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BEINCORPORATED IN NEW EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKEIMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED INTHIS DOCUMENT AT ANY TIME.THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY ORINDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDINGBUT NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.Copyright © 1999-2013 TIBCO Software Inc. ALL RIGHTS RESERVED.TIBCO Software Inc. Confidential Information

Page 3: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| iii

Contents

Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xTIBCO ActiveMatrix Adapter for SAP Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xOther TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xThird-Party Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii

Connecting with TIBCO Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xviHow to Join TIBCOmmunity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xviHow to Access TIBCO Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xviHow to Contact TIBCO Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvi

Chapter 1 Introduction to TIBCO Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

Overview of TIBCO Adapters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Adapter Interaction Modes and Adapter Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Publish/Subscribe Interactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Request/Response Interactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Choosing an Adapter Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Adapter Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Design Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Runtime Component. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Chapter 2 Adapter Capabilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

Easy Configuration and Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Easy-to-Use GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Schema and Data Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Robust and Reliable Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Multiple Message Transports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Multithreading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Connection Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Monitoring and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Multilingual Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Page 4: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

iv | Contents

Security Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Basic Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools . . . . . . . . . . . . . . . . . . . . . . . . . 23

Adapter Life Cycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Overview of TIBCO Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Traditional Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26TIBCO ActiveMatrix Framework. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

TIBCO Adapter SDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Adapter Instances and Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Common Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

TIBCO Messaging Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29TIBCO Rendezvous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29TIBCO Enterprise Message Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

TIBCO Runtime Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31TIBCO Domain Utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32TIBCO Designer User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Projects and Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Palettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Adapter Tester . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Accessing Help Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

TIBCO ActiveMatrix BusinessWorks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Components of Process Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37ActiveEnterprise Adapter Palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Data Mapping and Transformation Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Process Testing Facilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

TIBCO Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Administration Domain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Administration Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41TIBCO Administrator User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Application, Service, and Service Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Monitoring Management by TIBCO Hawk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

TIBCO Hawk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44TIBCO Hawk Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Microagents and Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Rulebases and Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45TIBCO Hawk Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46TIBCO Hawk Plug-in for TIBCO Administrator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

TIBCO ActiveMatrix Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48TIBCO ActiveMatrix Service Grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Page 5: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Contents | v

TIBCO ActiveMatrix Extensions for TIBCO Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Chapter 4 TIBCO ActiveMatrix Adapter for SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51

SAP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52SAP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Adapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Outbound Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Inbound Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53TIDManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Logical Connectivity Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Adapter Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Publication Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Subscription Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Request-Response Invocation Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Request-Response Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Adapter and SAP Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Business Application Programming Interface (BAPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Remote Function Call (RFC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Application Link Enabling - Intermediate Documents (ALE/IDoc). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

Adapter Advanced Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63BAPI Transactional Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Event Driven Inbound Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Support for Multiple Application Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Multithreading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Validation of Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Support for qRFC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Support for bgRFC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Dynamic Application Server Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Secure Communication Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73

Page 6: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

vi | Contents

Page 7: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Figures | vii

Figures

Figure 1 Adapter Publication Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Figure 2 Adapter Subscription Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Figure 3 Adapter Request-Response Invocation Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Figure 4 Adapter Request-Response Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Figure 5 Sample Business Integration Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Figure 6 Choosing an Adapter Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Figure 7 Adapter Connection to Application at Design Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Figure 8 Adapter Connection to Application at Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Figure 9 Example of Unicode Conversion by TIBCO Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Figure 10 Adapter Life Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Figure 11 Adapter Life Cycle and TIBCO Traditional Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Figure 12 Adapter Life Cycle and TIBCO ActiveMatrix Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

Figure 13 TIBCO Designer Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Figure 14 Example Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Figure 15 An Adapter Subscriber Activity Receiving a Message from an Adapter Publication Service . . . . . . 38

Figure 16 TIBCO Administration Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Figure 17 TIBCO Administrator User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

Figure 18 TIBCO Hawk Display Main Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Figure 19 TIBCO Hawk Monitoring Management Module in TIBCO Administrator . . . . . . . . . . . . . . . . . . . . . 47

Figure 20 TIDManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Figure 21 Logical Connectivity Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Figure 22 Typical Publication Service Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Figure 23 Typical Subscription Service Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

Figure 24 Typical Request-Response Invocation Service Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

Figure 25 Typical Request-Response Service Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Page 8: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

viii | Figures

Page 9: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| ix

Preface

TIBCO ActiveMatrix Adapter for SAP is used as a bi-directional gateway between SAP applications and applications configured for the TIBCO environment.

The adapter can remotely connect and operate with SAP systems running on OS platforms not supported by the adapter.

This document explains the basic concepts and supported features of TIBCO ActiveMatrix Adapter for SAP.

Topics

• Related Documentation, page x

• Typographical Conventions, page xiii

• Connecting with TIBCO Resources, page xvi

Page 10: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

x | Related Documentation

Related Documentation

This section lists documentation resources you may find useful.

TIBCO ActiveMatrix Adapter for SAP DocumentationThe following documents form the TIBCO ActiveMatrix Adapter for SAP documentation set:

• TIBCO ActiveMatrix Adapter for SAP Concepts Read this manual for terminology and concepts of the product. Before reading other manuals in this documentation set, you need to be familiar with the information in this manual.

• TIBCO ActiveMatrix Adapter for SAP Installation Read this manual for instructions on site preparation and installation.

• TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment Read this manual for instructions on how to create, configure, and deploy adapter projects.

• TIBCO ActiveMatrix Adapter for SAP Examples Read this manual to work through the examples provided with the adapter.

• TIBCO ActiveMatrix Adapter for SAP Release Notes Read the release notes for a list of new and changed features. This document also contains lists of known issues and closed issues for this release.

Other TIBCO Product DocumentationYou may find it useful to read the documentation for the following TIBCO products:

Table 1 TIBCO Products

TIBCO Product Description

TIBCO ActiveMatrix® Binding Typefor Adapters

This product is a TIBCO ActiveMatrix binding that integrates TIBCO Adapters with the TIBCO ActiveMatrix environment.

TIBCO ActiveMatrix BusinessWorks™ This product provides an integration platform that enables companies to rapidly integrate systems and automate business processes.

Page 11: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Preface | xi

TIBCO ActiveMatrix® Implementation Typefor TIBCO® Adapters

This product provides capabilities to upload and deploy adapter configurations (packaged as EAR files) using TIBCO ActiveMatrix Administrator GUI.

TIBCO ActiveMatrix® Service Bus This product is a lightweight enterprise service bus (ESB) that mediates the communication between applications and services by routing and transforming disparate data formats and transport protocols.

TIBCO ActiveMatrix® Service Grid This product is a scalable and extensible platform for developing, deploying, and managing applications that conform to a service-oriented architecture.

TIBCO® Adapter SDK This product provides a class library that helps developers implement an adapter with minimal effort.

TIBCO Administrator™ This product provides capabilities for managing users, monitoring machines, and deploying and managing applications that use TIBCO products.

TIBCO Business Studio™ This product provides capabilities that help business analysts document business processes, solution engineers implement business processes, and SOA developers create composite applications.

TIBCO Designer™ This product provides a graphical user interface to create TIBCO ActiveMatrix BusinessWorks process definitions, or create or modify TIBCO Adapter configurations.

TIBCO Enterprise Message Service™ This product sends messages from your applications in a format that conforms to the Java Messaging Service (JMS) specification.

TIBCO Hawk® This product is for monitoring and managing distributed applications and systems throughout the enterprise.

TIBCO Rendezvous® This product uses messages to enable distributed application programs to communicate across a wide variety of hardware platforms and programming languages.

TIBCO Runtime Agent™ This product is a bundle of TIBCO software and third-party software that is required to run many TIBCO applications such as TIBCO ActiveMatrix BusinessWorks, TIBCO Adapters, and so on.

Table 1 TIBCO Products (Cont’d)

TIBCO Product Description

Page 12: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

xii | Related Documentation

Third-Party DocumentationYou may also find it useful to read the documentation on the following websites:

• http://help.sap.com

This website is the SAP Help Portal where you can find documentation on all SAP products, including SAP ECC 6.0 releases and SAP NetWeaver. In order for TIBCO ActiveMatrix Adapter for SAP to exchange data with SAP systems, you must make configuration in the SAP system to allow for communication and the exchange of messages to take place. This website offers detailed information on such configuration required.

• http://service.sap.com/instguides

This website is provided by the SAP Support Portal and contains documentation on installations and upgrades. The documentation available contains information on components that can be used along with TIBCO ActiveMatrix Adapter for SAP, and the installation of the Secure Network Communications (SNC) libraries where security is required between the adapter and SAP systems.

• http://service.sap.com/connectors

This website provides information on the different types of SAP Connectors available. TIBCO ActiveMatrix Adapter for SAP is based on the SAP Java Connector libraries. You can download the latest versions of these libraries from this website. For more information on the SAP JCo libraries and configuration related to these libraries, see the available documentation from this website.

Page 13: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Preface | xiii

Typographical Conventions

The following typographical conventions are used in this manual.

Table 2 General Typographical Conventions

Convention Use

ENV_NAME

TIBCO_HOME

TIBCO products are installed into an installation environment. A product installed into an installation environment does not access components in other installation environments. Incompatible products and multiple instances of the same product must be installed into different installation environments.

An installation environment consists of the following properties:

• Name Identifies the installation environment. This name is referenced in documentation as ENV_NAME. The default value is TIBCO_HOME.

• Directory The folder into which the product is installed. This folder is referenced in documentation as TIBCO_HOME.

TIB_ADR3_HOME TIBCO ActiveMatrix Adapter for SAP is installed into a directory within a TIBCO_HOME directory. This directory is referenced in documentation as TIB_ADR3_HOME. The default value of TIB_ADR3_HOME depends on the operating system. For example, on Windows systems, the default value is C:\tibco\adapter\adr3\ReleaseNumber.

code font Code font identifies commands, code examples, filenames, pathnames, and output displayed in a command window. For example: Use MyCommand to start the foo process.

bold code font Bold code font is used in the following ways:

• In procedures, to indicate what a user types. For example: Type admin.

• In large code samples, to indicate the parts of the sample that are of particular interest.

• In command syntax, to indicate the default parameter for a command. For example, if no parameter is specified, MyCommand is enabled: MyCommand [enable | disable].

Page 14: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

xiv | Typographical Conventions

italic font Italic font is used in the following ways:

• To indicate a document title. For example: See TIBCO ActiveMatrix Adapter for SAP Concepts.

• To introduce new terms. For example: A portal page may contain several portlets. Portlets are mini-applications that run in a portal.

• To indicate a variable in a command or code syntax that you must replace. For example: MyCommand PathName.

Key combinations Key name separated by a plus sign indicate keys pressed simultaneously. For example: Ctrl+C.

Key names separated by a comma and space indicate keys pressed one after the other. For example: Esc, Ctrl+Q.

The note icon indicates information that is of special interest or importance, for example, an additional action required only in certain circumstances.

The tip icon indicates an idea that could be useful, for example, a way to apply the information provided in the current section to achieve a specific result.

The warning icon indicates the potential for a damaging situation, for example, data loss or corruption if certain steps are taken or not taken.

Table 2 General Typographical Conventions (Cont’d)

Convention Use

Page 15: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Preface | xv

Table 3 Syntax Typographical Conventions

Convention Use

[ ] An optional item in a command or code syntax.

For example:

MyCommand [optional_parameter] required_parameter

| A logical OR that separates multiple items of which only one may be chosen.

For example, you can select only one of the following parameters:

MyCommand param1 | param2 | param3

{ } A logical group of items in a command. Other syntax notations may appear within each logical group.

For example, the following command requires two parameters, which can be either the pair param1 and param2, or the pair param3 and param4.

MyCommand {param1 param2} | {param3 param4}

In the next example, the command requires two parameters. The first parameter can be either param1 or param2 and the second can be either param3 or param4:

MyCommand {param1 | param2} {param3 | param4}

In the next example, the command can accept either two or three parameters. The first parameter must be param1. You can optionally include param2 as the second parameter. And the last parameter is either param3 or param4.

MyCommand param1 [param2] {param3 | param4}

Page 16: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

xvi | Connecting with TIBCO Resources

Connecting with TIBCO Resources

How to Join TIBCOmmunityTIBCOmmunity is an online destination for TIBCO customers, partners, and resident experts. It is a place to share and access the collective experience of the TIBCO community. TIBCOmmunity offers forums, blogs, and access to a variety of resources. To register, go to http://www.tibcommunity.com.

How to Access TIBCO DocumentationYou can access TIBCO documentation here:

http://docs.tibco.com

How to Contact TIBCO SupportFor comments or problems with this manual or the software it addresses, contact TIBCO Support as follows:

• For an overview of TIBCO Support, and information about getting started with TIBCO Support, visit this site:

http://www.tibco.com/services/support

• If you already have a valid maintenance or support contract, visit this site:

https://support.tibco.com

Entry to this site requires a user name and password. If you do not have a user name, you can request one.

Page 17: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 1

Chapter 1 Introduction to TIBCO Adapters

This chapter introduces basic concepts of TIBCO Adapters.

Topics

• Overview of TIBCO Adapters, page 2

• Adapter Interaction Modes and Adapter Services, page 3

• Adapter Components, page 11

Page 18: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

2 | Chapter 1 Introduction to TIBCO Adapters

Overview of TIBCO Adapters

Many businesses rely on a complex mix of custom applications, databases, and technologies to implement their business processes and manage information. Optimizing the reuse and coordination of these assets and information sources helps organizations simultaneously reduce time-to-market and costs, but this data is not always easy to access or to integrate. Vendors typically have their own ways to format and expose data. Therefore, integrating the various applications across an enterprise poses significant challenges.

TIBCO Adapters bridge custom applications, databases, and other technologies in the enterprise information flow, regardless of their data formats or communication protocols. An adapter isolates an application from complex interaction and makes it part of TIBCO infrastructure without requiring any changes to the application. Integration of new applications does not require programming and does not interfere with existing infrastructure.

TIBCO Adapters encapsulate complex interaction patterns into a set of standard services. This makes it easy to administer the adapters.

TIBCO Adapters exchange information through TIBCO messaging platform, which provides flexible and scalable information bus infrastructure. When the information is published to TIBCO infrastructure, it is transformed and delivered with extremely low latency and you can implement business process automation across applications.

TIBCO Adapters provide integration for a variety of technologies:

• Packaged Applications SAP, Siebel, PeopleSoft, Lotus Notes, SWIFT, Oracle BRM, J.D. Edwards EnterpriseOne, BMC Remedy, and others.

• Databases Oracle, SQL Server, Sybase, MySQL, PostGres, DB2 UDB for Unix, DB2 for z/OS, and DB2 for i5/OS.

• Mainframe and i5/OS Technologies CICS, IMS, DB2, VSAM, dataset files for z/OS and RPG program objects, Data Queues, and SPOOL files for i5/OS.

• Other Standards and Technologies EJB, Files, LDAP, MQSeries, Tuxedo, and OSISoft PI.

• Custom integration Java and C++.

Page 19: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Interaction Modes and Adapter Services | 3

Adapter Interaction Modes and Adapter Services

At the most basic level, a TIBCO Adapter receives data available from a source application or sends data to a target application. This is based on a service architecture. Services are abstractions that describe how adapters work together with other applications.

An adapter generally supports publish/subscribe and request/response interaction modes. Table 4 summarizes the adapter interaction modes and adapter services introduced in this section.

Not all adapters provide all these services and some adapters may provide services not listed here. See Adapter Services on page 56 for information about services available on TIBCO ActiveMatrix Adapter for SAP.

Choosing an Adapter Service on page 9 introduces how to choose an adapter service based on a business integration scenario.

Table 4 Summary of Adapter Interaction Modes and Services

Interaction Mode Service Initiator Target

Publish/Subscribe Interactions

Publication Service(sends to target)

Vendor application

TIBCO infrastructure

Publish/Subscribe Interactions

Subscription Service(gets from initiator)

TIBCO infrastructure

Vendor application

Request/Response Interactions

Request-Response Invocation Service(sends to target, waits for response, then sends response to initiator)

Vendor application

TIBCO infrastructure

Request/Response Interactions

Request-Response Service(gets from initiator, waits for response then sends response to target)

TIBCO infrastructure

Vendor application

Page 20: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

4 | Chapter 1 Introduction to TIBCO Adapters

Publish/Subscribe InteractionsPublish/subscribe interactions are driven by events, such as the arrival of data or a timer signaling that a specified interval has expired. The following services are available for publish/subscribe interactions.

Publication Service

An adapter Publication Service recognizes when business events happen in a vendor application, and asynchronously publishes the event data in real time to interested systems in the TIBCO environment.

For example, an adapter Publication Service can publish an event each time a new customer account is added to application X, as shown in Figure 1. Other applications that receive the event can then update their records just as the original application did.

Figure 1 Adapter Publication Service

TIB

CO

Messag

ing

Adapter

ApplicationX

1) Generate event

2) Publish event

Page 21: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Interaction Modes and Adapter Services | 5

Subscription Service

An adapter Subscription Service gets information about business events from the TIBCO environment, and asynchronously writes the information into a target application.

Referring to the previous example, an adapter Subscription Service can subscribe to events that indicate the creation of a new customer and then enter the customer information into target application Y, as shown in Figure 2.

Figure 2 Adapter Subscription Service

TIB

CO

Messa

ging

Adapter

ApplicationY

4) Send event

3) Subscribe to event

Adapter

ApplicationX

1) Generate event

2) Publish event

Page 22: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

6 | Chapter 1 Introduction to TIBCO Adapters

Request/Response InteractionsIn addition to asynchronously publishing and subscribing to events, an adapter can synchronously retrieve data from or execute transactions within a vendor application.

Demand-driven computing suits distributed applications that require point-to-point messages, that is, a request and a response. In request/response interactions, a data provider coordinates closely with a data consumer. A provider does not send data until a consumer requests it. The consumer listens until it receives the reply, and then stops listening (unless it expects further installments of information). This is useful for actions such as adding or deleting business objects.

The following services are available for request/response interactions:

• Request-Response Invocation Service, page 6

• Request-Response Service, page 8

Request-Response Invocation Service

An adapter Request-Response Invocation Service acts as a proxy, giving the vendor application the ability to invoke services on TIBCO infrastructure. TIBCO infrastructure may perform a series of steps to complete the request, including invoking services on other applications through TIBCO infrastructure and other adapters.

For example, an adapter Request-Response Invocation Service sends a request message from the vendor application X to another application Y through TIBCO infrastructure. After application Y processes the message, it returns the result to TIBCO infrastructure. Then the adapter receives the response and sends it back to application X, as shown in Figure 3.

Request/response is the default invocation protocol for both Request-Response Invocation Service and Request-Response Service, but you can also use both services asynchronously when the invocation protocol is one way. Not all adapters support the one way protocol, but for those that do, the implementation of the protocol is consistent.

Page 23: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Interaction Modes and Adapter Services | 7

Figure 3 Adapter Request-Response Invocation Service

Request/reply is the default invocation protocol for Request-Response Invocation Service, but it can also be used asynchronously where the invocation protocol is one way. Not all adapters support this, but the implementation is consistent across all adapters that support the one way protocol.

TIB

CO

Messag

ing

Adapter

ApplicationX

1) Send request

4) Receive response

ApplicationY

2) Receive request

3) Send response

Page 24: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

8 | Chapter 1 Introduction to TIBCO Adapters

Request-Response Service

An adapter Request-Response Service is similar to the Request-Response Invocation Service, except that the roles are reversed. The vendor application is now the provider of the service, instead of the requester or initiator of the service.

After the action is performed in the vendor application, the adapter service sends a response back to the requester with either the results of the action or a confirmation that the action occurred.

Referring to the previous example, an adapter Request-Response Service sends a request message from TIBCO infrastructure to application Y. The adapter gets a response from application Y and returns it to TIBCO infrastructure, which then sends the response to application X, as shown in Figure 4.

Figure 4 Adapter Request-Response Service

TIB

CO

Messa

gingAdapter

ApplicationX

2) Receive request

3) Return response

ApplicationY

1) Initiate request

4) Send response

Page 25: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Interaction Modes and Adapter Services | 9

Choosing an Adapter ServiceA business integration scenario drives the choice of one adapter service or another. This section provides a simple flow chart that helps you choose the service to use.

Consider the following environment that involves application X, an adapter, and another application:

Figure 5 Sample Business Integration Scenario

In this scenario, data is exchanged between application X and another application. The other application can be a customer management system, such as PeopleSoft, or another TIBCO application, such as TIBCO ActiveMatrix BusinessWorks.

To choose the adapter service to use, start by finding out where the scenario begins or what triggers it.

For example, when a new customer account is created in application X, must the account information be propagated through the adapter to the other application? Or does a batch business process in TIBCO ActiveMatrix BusinessWorks need information from application X to generate a report?

This question is the starting point of the decision chart provided in Figure 6.

Application X

Other Application

Machine BMachine A

TIBCO Adapter for Application X

Page 26: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

10 | Chapter 1 Introduction to TIBCO Adapters

Figure 6 Choosing an Adapter Service

Working through the decision chart, if the business process is the creation of a customer record in application X and if many other applications need to be updated when the event occurs, but no acknowledgements are required, use Publication Service.

The business process starts

Where is the process initiated?

Immediate acknowledgement

required?

Update one or many?

Immediate responserequired?

Application Xmust

Request-Response Invocation Service

Request-Response Service

PublicationService

SubscriptionService

many

only one

noyes

obtain informationfrom anotherapplication

update anotherapplication

no yes

applicationX

anotherapplication

Page 27: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Components | 11

Adapter Components

Each adapter has three main components:

• Design Component for configuring an adapter during design time.

• Runtime Component for running an adapter during production time.

• Documentation including the help resources of the adapter product.

Design ComponentThe design-time component helps you introspect data schemas of the vendor application, configure the adapter, and provide context-sensitive documentation and examples. An adapter includes one or more of the following components:

• Adapter Palette, page 11

• Context-Sensitive Help, page 12

• Samples, page 12

Adapter Palette

Each adapter includes a palette for you to configure adapter specific options, such as its connection to the vendor application, logging options, and adapter services. An adapter palette generally contains the following resources:

• Adapter configuration

• Adapter services

• Other adapter specific resources

An adapter at design time accesses schema from the application by using the resources provided in the adapter palette in TIBCO Designer.

Figure 7 shows components used at design time to access schema from the application.

Page 28: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

12 | Chapter 1 Introduction to TIBCO Adapters

Figure 7 Adapter Connection to Application at Design Time

After you install an adapter and start TIBCO Designer, the palette is automatically loaded into TIBCO Designer.

See TIBCO Designer on page 32 for more concept information about project, resource, palette, and adapter instance.

Context-Sensitive Help

You can access context-sensitive help for the adapter from TIBCO Designer.

Samples

The samples available for the adapter demonstrate how the adapter interacts with vendor applications and other TIBCO products.

Runtime ComponentWhen you complete adapter configuration, you can deploy the adapter. A deployed adapter instance is referred to as a runtime adapter. A runtime adapter uses the runtime component to operate in a production environment, handling communication between a vendor application and other applications that are integrated through TIBCO infrastructure, as shown in Figure 8.

TIBCO Messaging Bus

Adapter Palette

Application X

Application XNative Client Libraries

TRA

Application X Native Communication Protocol

TRA

Repository Server

Page 29: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Components | 13

Figure 8 Adapter Connection to Application at Runtime

DocumentationThis component provides adapter documentation in both HTML and PDF formats.

TIBCO Messaging Bus

Runtime Adapter

TRA

Application X

Application XNative Client

Libraries

TRATRA

Repository Server

Application X Native Communication Protocol

Other Application

Page 30: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

14 | Chapter 1 Introduction to TIBCO Adapters

Page 31: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 15

Chapter 2 Adapter Capabilities

This chapter explains key features available for most TIBCO Adapters.

See TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for a detailed guide for TIBCO ActiveMatrix Adapter for SAP.

Topics

• Easy Configuration and Deployment, page 16

• Robust and Reliable Data Transmission, page 18

• Multilingual Support, page 21

• Security Support, page 22

Page 32: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

16 | Chapter 2 Adapter Capabilities

Easy Configuration and Deployment

The following features make it easy to configure an adapter and integrate it with TIBCO infrastructure:

• Easy-to-Use GUI, page 16

• Schema and Data Mapping, page 16

• Global Variables, page 17

Easy-to-Use GUITIBCO provides a set of infrastructure software products with easy-to-use graphical user interfaces for you to develop, deploy, manage, and monitor an integration project with TIBCO Adapters. See Chapter 3, Adapter Life Cycle and TIBCO Infrastructure Tools, on page 23 for a detailed introduction of each product.

Schema and Data MappingTIBCO Adapters manage data retrieved from and exported to a source or target application by using schema. Schemas are useful in various situations, for example:

• When several developers collaborate on an adapter application, a specification document normally defines the data model for several related adapter applications. Inside TIBCO infrastructure, you can instead define a schema to serve as the data model and update it as needed.

• When the data model of the source or target application changes, you do not have to redesign the business process. Instead, you only need to reconfigure the adapter instance to reflect the changes.

• Using schemas in conjunction with the various mapping tools available in TIBCO infrastructure, you can transfer data across applications with incompatible data formats.

During the configuration phase, you can use TIBCO Designer to fetch the schemas from the source or target application and apply it to an adapter service. The adapter adds that schema definition as a schema class. You can configure a schema to describe the structure of messages processed by the adapter. You can use TIBCO ActiveMatrix BusinessWorks with the adapter for data mapping and transformation. When you save the retrieved schemas into a project, you can transfer these schemas across projects by exporting from a project or importing them to a project in XML format.

Page 33: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Easy Configuration and Deployment | 17

Global VariablesGlobal variables provide an easy way to set defaults for use throughout your project. There are several ways in which they can be used:

• Predefine a variable during design time, then override the value for individual applications at deployment.

• Predefine a variable during design time, then override the value for individual services (for example, an adapter service or a process) at deployment. The values you specify are then used at runtime.

• Predefine a variable during design time, then override it from the command line.

For example, you can assign the value tcp://localhost:7222 to the predefined JmsProviderUrl global variable by using TIBCO Designer. You can then use the variable in your adapter to locate the TIBCO Enterprise Message Service daemon. If you want to change the daemon for your adapter, you can specify the JmsProviderUrl variable in TIBCO Administrator to a different value or override it from the command line.

Page 34: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

18 | Chapter 2 Adapter Capabilities

Robust and Reliable Data Transmission

The following features of TIBCO Adapters make an integration solution robust and provide reliable transmission of data through the network:

• Multiple Message Transports, page 18

• Multithreading, page 18

• Connection Management, page 18

• Monitoring and Control, page 19

Multiple Message TransportsThe adapter supports the following message transports at runtime:

• Rendezvous TIBCO Rendezvous uses subject-based addressing to provide support for both multicast or broadcast and point-to-point communications among distributed applications that exchange data across a network.

• JMS Java Message Service (JMS) is a Java framework specification for smooth messaging between applications. TIBCO Enterprise Message Service implements JMS and integrates support for connecting other message services.

You can configure the transport options by using the adapter palette in TIBCO Designer.

MultithreadingMost adapters maintain a dynamic pool of threads for performing tasks, which allows the adapter to respond to and process multiple events simultaneously. The adapter can track and communicate event status without affecting other processing. This multithreading ability increases the performance of the adapter. You can specify the number of threads by using the adapter palette in TIBCO Designer.

Connection ManagementTIBCO Adapters support the following connection management features:

• Connection Pooling Mechanism, page 19

• Reconnection Mechanism, page 19

Page 35: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Robust and Reliable Data Transmission | 19

Connection Pooling Mechanism

TIBCO Adapters use an extensive connection pooling mechanism to provide an efficient way to manage connections and share them across different service requests.

The adapter maintains a pool of already-established connections to the target application. It can allocate, recycle, reuse, and release the connections. If a connection has been idle for a long time, the connection pooling mechanism closes it. The next time when access to that connection is required, the mechanism automatically re-creates the connection.

Connection pooling saves memory used and enhances performance by reducing the number of idle connections and decreasing the amount of time a new task must wait for establishing a connection.

Reconnection Mechanism

If the adapter loses connections with a target application due to network problems or non-availability of the application, its running adapter services are suspended by the adapter. The reconnection mechanism then dynamically restores the connection to the target application. Upon reconnection, the adapter services resume automatically.

You can specify the reconnection options by using the adapter palette in TIBCO Designer.

Monitoring and ControlTIBCO infrastructure supports several methods for monitoring adapter projects. You can select one or a combination of these methods.

• Basic logging to report trace messages.

Trace messages are the chief aids to monitor the adapter. You can specify the levels of trace messages to be reported as well as the type of message output. You can also specify that trace messages be written to a log file, to a TIBCO Rendezvous or JMS message, to a workstation display, or to TIBCO Hawk. If trace messages are written to a log file, for example, you can print them for reviewing.

• Log sinks for enhanced reporting of adapter events.

With log sinks, you can fine-tune where and when different types of information are sent.

• TIBCO Hawk for extensive and flexible monitoring capabilities.

Page 36: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

20 | Chapter 2 Adapter Capabilities

If you want to monitor and manage the state of the adapters connected with distributed applications and systems throughout the enterprise, you can use TIBCO Hawk. You can monitor application parameters, behavior, and loading activities for all nodes in a local or wide-area network and take action when predefined conditions occur. In many cases, runtime failures or slowdowns can be repaired automatically within seconds of their discovery. The monitoring mechanism reduces unscheduled outages and slowdowns of critical business systems. See TIBCO Hawk on page 44 for more detailed introduction about its features and components.

Page 37: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Multilingual Support | 21

Multilingual Support

Unicode is a way to represent characters of all known languages of the world. TIBCO Adapters support data transmission in all languages by taking advantage of Unicode. TIBCO Adapter SDK provides the Unicode support for TIBCO Adapters. Currently the internationalization support is only for data in text.

Figure 9 shows an example conversion scenario of adapters that serve two applications of different encodings in a Japanese language environment.

Figure 9 Example of Unicode Conversion by TIBCO Adapters

As illustrated in Figure 9, an adapter achieves the data conversion through two separate phases:

• Data conversion between the adapter and the TIBCO messaging bus:

Both the Publication Service and Subscription Service communicate with the TIBCO messaging bus by using the same encoding option, that is, UTF-8.

TIBCO messaging bus supports two encoding choices:

— ISO8859-1 Use this encoding for exchanging only the ASCII or Western European character set.

— UTF-8 Use this encoding for exchanging data other than the ASCII and Western European character set.

• Data conversion between the adapter and the target application:

The adapter Publication Service converts data in Shift-JIS retrieved from application X to UTF-8 and sends it to the TIBCO messaging bus. When the other adapter Subscription Service receives this message, it converts the message from UTF-8 to EUC-JP and inserts the data into application Y.

TIBCO Messaging

AdapterPublicationService

Adapter SubscriptionService

UTF-8 UTF-8

Application XIn Shift-JIS

Application YIn EUC-JP

Shift-JIS EUC-JP

Page 38: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

22 | Chapter 2 Adapter Capabilities

Security Support

TIBCO Adapters provide the following security features:

• Basic Authentication, page 22

• SSL, page 22

In addition, TIBCO ActiveMatrix Adapter for SAP provides product specific security features. See Secure Communication Support in Adapter Advanced Features on page 63 for more information.

Basic AuthenticationThe adapter provides a simple authentication system of username and password verification for logging into the target application. You can configure the authentication options when you set connection parameters at design time.

SSLSSL data encryptions provide secure transmission of data. The adapter supports optional SSL configuration at both design time and runtime.

Page 39: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 23

Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO application integration platform includes a series of products for adapter service configuration and integration, deployment, and governance. This chapter introduces the life cycle of TIBCO Adapters and also provides an overview of TIBCO products that can help you meet the challenge of application integration with TIBCO Adapters.

Topics

• Adapter Life Cycle, page 24

• Overview of TIBCO Infrastructure, page 26

• TIBCO Adapter SDK, page 28

• TIBCO Messaging Software, page 29

• TIBCO Runtime Agent, page 31

• TIBCO Designer, page 32

• TIBCO ActiveMatrix BusinessWorks, page 37

• TIBCO Administrator, page 40

• TIBCO Hawk, page 44

• TIBCO ActiveMatrix Framework, page 48

Page 40: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

24 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

Adapter Life Cycle

In general, the life cycle of an adapter includes five stages, as shown in Figure 10:

Figure 10 Adapter Life Cycle

Installation

The installation stage includes installing the target application, the TIBCO software products the adapter requires, and the adapter.

For more installation information of TIBCO ActiveMatrix Adapter for SAP, see TIBCO ActiveMatrix Adapter for SAP Installation.

Configuration

The configuration stage includes configuring an adapter and testing its connection and behaviors with the target application. An adapter at runtime uses the configuration information to interact with the target application and other TIBCO infrastructure software.

For more information about how to configure TIBCO ActiveMatrix Adapter for SAP by using TIBCO Designer, see TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment.

Integration

The integration stage includes developing a business process to integrate the target application connected through the adapter into the data flow in your enterprise. TIBCO integration platform smoothly connects to applications of different types, such as databases, trading partners and exchanges, and so on. It makes the data flow throughout the enterprise transparent to the end users.

For more information about how to integrate TIBCO ActiveMatrix Adapter for SAP into a business process, see TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment.

Deployment

After you develop and test an integration project with adapters, you can deploy the project to your production environment.

Production Deployment Integration ConfigurationInstallation

Page 41: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Life Cycle | 25

For more information about how to deploy a project of TIBCO ActiveMatrix Adapter for SAP by using TIBCO Administrator, see TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment.

Production

The production stage includes managing and monitoring adapter projects. In addition to the basic monitoring functions provided by TIBCO’s administrative tools, TIBCO also supports comprehensive monitoring solutions.

For more information about how to manage an adapter project by using TIBCO Administrator, see TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment.

Page 42: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

26 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

Overview of TIBCO Infrastructure

TIBCO infrastructure supports the adapter life cycle with two frameworks:

• Traditional Framework, page 26

• TIBCO ActiveMatrix Framework, page 27

Both frameworks support messaging by using TIBCO Messaging Software, business process development and integration by using TIBCO ActiveMatrix BusinessWorks, and monitoring by using TIBCO Hawk. Each framework supports a set of tools that are specific to the framework.

Traditional FrameworkTIBCO supports the adapter life cycle with a series of well-established products, such as TIBCO Runtime Agent, TIBCO Designer, TIBCO Administrator, and so on. An adapter project runs as a separate standalone process in the traditional framework. Figure 11 shows the traditional tools for the adapter life cycle.

Figure 11 Adapter Life Cycle and TIBCO Traditional Framework

Integration Applications

Custom Adapter

TIBCO Adapter

TIBCO Adapter

TIBCO Traditional Framework

TIBCO Messaging (RV, EMS)

TIBCO DesignerTIBCO ActiveMatrix

BusinessWorksTIBCO Hawk

TIBCO Administrator

Production Deployment Integration ConfigurationInstallation

Adapter Life Cycle

TIBCO Adapter SDK

TRA

TRA TRA TRA TRA

TIBCO Enterprise Message ServiceTIBCO RendezvousTIBCO Runtime Agent

EMSRV

TRA

Legend

Page 43: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Overview of TIBCO Infrastructure | 27

TIBCO ActiveMatrix FrameworkThe TIBCO ActiveMatrix framework, as shown in Figure 12, provides a technology-neutral platform for composite BPM (business process management) and SOA (service-oriented architecture) applications. The platform is based on the TIBCO ActiveMatrix Service Grid product. It provides a suite of application development and integration tools, such as TIBCO Business Studio, TIBCO ActiveMatrix Administrator, and so on, for service creation and integration, distributed service and data grids, packaged applications, and governance. See TIBCO ActiveMatrix Framework on page 48 for more of its benefits.

A traditional adapter project configured in TIBCO Designer, can communicate with TIBCO ActiveMatrix components by using TIBCO ActiveMatrix Administrator. You can also create a proxy for a traditional adapter project by using TIBCO ActiveMatrix Implementation Type for TIBCO Adapters and deploy and manage it by using TIBCO ActiveMatrix Administrator.

Figure 12 Adapter Life Cycle and TIBCO ActiveMatrix Framework

Integration Applications

Custom Adapter

TIBCO Adapter

TIBCO Adapter

TIBCO ActiveMatrix Framework

TIBCO Messaging (RV, EMS)

Production Deployment Integration ConfigurationInstallation

Adapter Life Cycle

TIBCO Adapter SDK

TRA

TIBCO Enterprise Message ServiceTIBCO RendezvousTIBCO Runtime AgentTIBCO ActiveMatrix Binding Type for AdaptersTIBCO ActiveMatrix Implementation Type for TIBCO Adapters

EMSRV

TRABTIT

Legend

TIBCO ActiveMatrix Service Grid

TIBCO Business Studio

TIBCO ActiveMatrix BusinessWorks

TIBCO HawkTIBCO ActiveMatrix AdministratorBT IT

Page 44: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

28 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Adapter SDK

TIBCO Adapter SDK (Software Development Kit) is the standard toolkit to build TIBCO Adapters. It provides the foundation for common adapter functionalities, such as sending and receiving information, configuration, management, and monitoring. The SDK also supports interoperability with other TIBCO products.

This section introduces the TIBCO Adapter SDK concepts and common resources that are important to the configuration and deployment of an adapter.

Adapter Instances and ServicesAn adapter instance contains the adapter configuration information, including name, connection, logging, monitoring, and so on. Within each adapter instance, you can add multiple adapter services, which contain the service configuration information. You can use the adapter service resources in the adapter palette to add adapter services to an adapter instance.

See TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information about how to configure an adapter.

Common ResourcesThe following resources of TIBCO Adapter SDK are available to all TIBCO Adapters:

• Configuration properties that you can specify from the command line or in a properties file.

• Predefined global variables.

• Predefined TIBCO Hawk microagents and methods.

See the TIBCO Adapter SDK documentation for more details.

Page 45: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Messaging Software | 29

TIBCO Messaging Software

To support your integration project at runtime, TIBCO messaging platform reliably handles the volume of messages and provides the following benefits:

• Guaranteed delivery and fault tolerance The platform guarantees message delivery and is fault tolerant. If a message cannot be delivered because the recipient was unavailable, the messaging system can queue the message and continue to operate. The platform will then redeliver the queued message as appropriate.

• Distributed architecture The platform is based on a distributed, loosely coupled system and provides more support for fault-tolerance than a monolithic system that depends on one centralized server.

• High throughput The platform provides high throughput without performance degradation to meet increasing business demands.

• Scalability The platform is highly scalable to meet requirements of updating a business integration in a simple and cohesive way.

TIBCO Adapters support integration with the following TIBCO messaging products:

• TIBCO Rendezvous, page 29

• TIBCO Enterprise Message Service, page 29

See also: TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information on how to configure the transport for an adapter.

TIBCO RendezvousTIBCO Rendezvous is a low latency messaging and data distribution solution. The product supports reliable and certified message deliveries. It also supports delivering messages from one sender to many receivers.

See the TIBCO Rendezvous documentation for more information.

TIBCO Enterprise Message ServiceJMS (Java Message Service) is the messaging element of the J2EE (Java Platform, Enterprise Edition) specification. It provides a standardized interface for enabling communications between J2EE-compliant applications, Enterprise Java Beans, and application servers.

Page 46: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

30 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Enterprise Message Service is a high-performance implementation of JMS. The product supports both queue-based and publish/subscribe messaging, persistent or reliable delivery modes, local messaging transactions, and message selectors.

See the TIBCO Enterprise Message Service documentation for more information.

Page 47: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Runtime Agent | 31

TIBCO Runtime Agent

TIBCO Runtime Agent provides basic connectivity between the adapter and other TIBCO infrastructure tools. It is required on each machine on which you install an adapter.

TIBCO Runtime Agent includes many software tools:

• An agent that runs in the background on each machine.

— The agent is responsible for starting and stopping processes that run on a machine according to the deployment information.

— The agent monitors the adapter and the machine. That information is then visible through TIBCO’s administrative tools.

• TIBCO’s libraries as well as third-party libraries including JRE (Java Runtime Environment) required by the adapter at runtime.

• TIBCO Designer

• TIBCO Domain Utility

See also: The TIBCO Runtime Agent documentation.

TIBCO Domain UtilityTIBCO Runtime Agent contains TIBCO Domain Utility for managing the components available on a TIBCO administration domain.

See TIBCO Administrator on page 40 for more concept information about TIBCO administration domain.

The utility provides the following capabilities:

• Add or remove a machine to a TIBCO administration domain.

• Change TIBCO administration domain credentials.

• Enable TIBCO administration domain and security management on a machine that hosts a TIBCO administration server.

• Add or remove a secondary TIBCO administration server.

• Add or remove the TIBCO Enterprise Message Service server plug-in in a TIBCO administration domain.

• Change TIBCO Rendezvous parameters.

• Migrate previous TIBCO Administrator installations.

Page 48: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

32 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Designer

TIBCO Designer provides an easy-to-use GUI for creating adapter instances, configuring adapter services, downloading schemas from the target application, and saving the resulting configuration in a project. TIBCO Designer also supports revision control systems so that multiple developers can work on the same project together.

This section introduces the following topics that are important to adapter configuration and deployment:

• TIBCO Designer User Interface, page 33

• Projects and Resources, page 33

• Palettes, page 35

• Adapter Tester, page 35

• Accessing Help Resources, page 35

See also:

• TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information on how to create and manage an adapter integration project by using TIBCO Designer.

• The TIBCO Designer documentation.

Page 49: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Designer | 33

TIBCO Designer User InterfaceFigure 13 illustrates the TIBCO Designer main window.

Figure 13 TIBCO Designer Window

The TIBCO Designer window consists of the following components:

• Menu bar and menus

• Tool bar and icons

• Tabs in the left most area you can select to display in the panel.

• Four panels, which are (starting in the top left corner and continuing clockwise):

— Project panel for displaying the project tree and associated global variables.

— Design panel for displaying the resource selected in the Project panel.

— Configuration panel for specifying configuration options for each resource.

— Palette panel for displaying resources you can select to design your project.

Projects and ResourcesA project is a collection of all configured resources that implement the enterprise integration. The top-level (root) folder in the Project panel represents a project.

Design panel

Configurationpanel

Menu bar

Tool bar

Palette

Projectpanel

panel

Tabs

Page 50: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

34 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

Resources are the components of a project. For example, an adapter Publication Service is a resource. Resources can be complex and contain other resources, much like a folder can contain other folders on your computer file system.

Project Formats

You can work with a TIBCO Designer project saved in many formats:

• Recommended Formats, page 34

• Legacy Formats, page 34

• Deployment Format, page 35

Recommended Formats

TIBCO recommends you save your project in one of the following formats:

• As a multi-file project

The multi-file format uses one file for each top-level resource. The top-level resource may contain other resources. For example, each adapter configuration is represented by one file, which includes the services inside the file.

Multi-file projects are well suited for development because they support file sharing and using a version control system, and because loading them at design time is usually faster.

• Under XML Canon

XML Canon/Developer (XCD) is a comprehensive development platform with which an organization can store their XML assets in a central repository that facilitates adaptability, collaboration, and management. XML assets, such as XML schemas, DTDs, adjuncts, instance documents, and stylesheets, can be stored.

XML Canon uses permissions to control access to the stored files. XML Canon also provides version control, protecting the development process from duplicate or conflicting efforts.

• ZIP archive

ZIP archive is the recommended archive format for backing up a TIBCO Designer project.

Legacy Formats

TIBCO Designer also supports importing and exporting projects from and to one of the following legacy formats used in the earlier versions:

Page 51: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Designer | 35

• Single-file repository project — A single DAT file exported to a local repository.

• Server-based repository project — A server-based DAT file. You can manage the project by using a TIBCO administration server.

Deployment Format

When you are ready to deploy your project, you must generate an EAR (Enterprise Archive) file, which contains the configuration for the adapter instances and processes you want to deploy. You can then use TIBCO Administrator to upload the archive and deploy the associated adapter and processes on the machine of your choice.

PalettesPalettes organize resources in the Palette panel. Each adapter you install adds one palette during installation. You can use the installed adapter palette to create adapter instances, configure adapter services, download schemas, and save the resulting configuration in a project. To add resources to your project, you select them in the Palette panel and drag them into the Design panel.

For example, during configuration of a TIBCO ActiveMatrix Adapter for Database adapter instance, the adapter palette provides the services resources and can fetch tables in the database as you specify in the Configuration panel. You then choose the tables and fields of your interest.

Adapter TesterAdapter Tester is a tool of TIBCO Designer for verifying adapter configuration. When you invoke the tool, all adapter instances configured in the project are displayed. After you select the adapter instance to test, you can start and stop the adapter from the tester. The tester window displays adapter output so you can easily view results.

Accessing Help ResourcesOnline help for TIBCO Designer is available in the following ways:

• From the Help > Designer Help menu item for viewing the TIBCO Designer documentation.

• From the Help > Help For menu item to access the product-specific documentation, for example, the documentation for the adapter product you work with.

Page 52: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

36 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

• Right click on most resources to select the What Is This? menu item and view specific help for that resource. If information is displayed in the Configuration panel, you can also click the Help icon in the panel for online help.

Page 53: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO ActiveMatrix BusinessWorks | 37

TIBCO ActiveMatrix BusinessWorks

TIBCO ActiveMatrix BusinessWorks is a scalable, extensible, and easy to use integration platform for developing integration projects with configured adapter services. You can define a TIBCO ActiveMatrix BusinessWorks business process in TIBCO Designer and execute the process with TIBCO ActiveMatrix BusinessWorks process engine in TIBCO Administrator.

This section introduces the following topics that are important to adapter configuration and deployment:

• Components of Process Definitions, page 37

• ActiveEnterprise Adapter Palette, page 38

• Data Mapping and Transformation Facilities, page 39

• Process Testing Facilities, page 39

See also:

• TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information on how to develop a business process with adapters by using TIBCO ActiveMatrix BusinessWorks.

• The TIBCO ActiveMatrix BusinessWorks documentation.

Components of Process DefinitionsA process definition is a graphical representation of your business process model. Figure 14 illustrates a simple process definition in the Design panel, which consists of a few activities, including two ActiveEnterprise Adapter activities.

Figure 14 Example Process

Page 54: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

38 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

A process definition consists of one or more of the following components:

• Activities are the individual units of work in a process definition. Activities are generally operations that interface to external systems, as well as perform internal processing. Activities are available on the various palettes from TIBCO ActiveMatrix BusinessWorks.

• Transitions describe the flow of processing in a process definition. A transition is represented by an arrow between two activities. The arrows are unidirectional, and you cannot draw a transition to a previously executed activity. Control flow in a process definition must proceed sequentially beginning with the Start activity (or a process starter) and ending with the End activity.

• Groups specify related sets of activities.

• Shared Configuration Resources are specifications that are shared among activities. These are resources, such as database connections, WSDL files, schema definitions, and connections to other servers. Shared configuration resources are created outside of process definitions, but you can use them when configuring some activities.

• Subprocesses are child processes of a business process. Business processes are often very complex and it is difficult to diagram the complete process in one process definition. You can create several smaller process definitions known as subprocesses, instead of one large-scale process definition. You can then call each subprocess from another subprocess.

ActiveEnterprise Adapter PaletteThe ActiveEnterprise Adapter palette contains activities for communicating with configured TIBCO Adapters, and consequently connecting with a variety of applications. For example, you can configure an Adapter Subscriber activity to receive data from an adapter Publication Service, as shown in Figure 15.

Figure 15 An Adapter Subscriber Activity Receiving a Message from an Adapter Publication Service

TIBCO ActiveMatrixBusinessWorks Process

Application XAdapter Adapter Subscriber

Activity

PublicationService

Publish

Page 55: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO ActiveMatrix BusinessWorks | 39

Data Mapping and Transformation FacilitiesTIBCO Adapters must work with an application-independent transformation engine to provide full adapter functionality:

• The primary functionality of TIBCO Adapters is to retrieve data from and export data to a source or target application. An adapter changes the format of the data so other applications can access the data. Though the data model of a source application may be complicated, the adapter retains much of the source information and makes it easy to access the information.

• However, the adapter does not change the content of the data, so two applications might still be incompatible. For example, the name and address of a customer might be stored in five fields in one ERP application and in six fields in another. In this case, you must perform content conversion by using a separate tool.

To meet the needs of content conversion, TIBCO ActiveMatrix BusinessWorks provides a graphic interface for data mapping and transformation. The GUI includes a set of tools, such as XPath formula builder, XSLT statement editor, coercions dialog, and so on, with which you can drag functions and data elements to create and modify data transformation rules.

Process Testing FacilitiesTIBCO ActiveMatrix BusinessWorks provides a testing environment for stepping through your process definitions and determining the sources of errors. Entering the testing environment starts a TIBCO ActiveMatrix BusinessWorks engine. The engine starts process instances based on the process definitions stored in your project.

You can select one of the running process instances to display in the Design panel, and the currently executing activity is highlighted as the process instance runs. You can also set breakpoints in the process definition to stop the running process instances at desired points.

Page 56: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

40 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Administrator

TIBCO Administrator provides a central administration server for TIBCO products. You can create, deploy, and manage an adapter project in TIBCO Administrator by using a web-browser-based graphical interface.

This section introduces the following topics that are important to adapter configuration and deployment:

• Administration Domain, page 40

• Administration Server, page 41

• TIBCO Administrator User Interface, page 42

• Application, Service, and Service Instance, page 42

• Monitoring Management by TIBCO Hawk, page 43

See also:

• TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information on how to deploy and manage an adapter project at runtime by using TIBCO Administrator.

• The TIBCO Administrator documentation.

Administration DomainAn administration domain is a collection of users, machines, and services. Components within an administration domain can communicate with systems outside of the domain, but the domain is the administrative boundary of your enterprise integration project. An administration domain can contain machines in the same network subnet or across subnets.You can use TIBCO Domain Utility installed as part of the TIBCO Runtime Agent installation to create and manage administration domains.

Figure 16 shows an administration domain with three machines. Each machine has TIBCO Runtime Agent installed and a TIBCO Hawk agent running. One machine has an adapter installed, another TIBCO ActiveMatrix BusinessWorks, and the other machine has the administration server installed. The browser-based TIBCO Administrator GUI can be available from any machine, including machines not in the domain.

Page 57: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Administrator | 41

Figure 16 TIBCO Administration Domain

Administration ServerEach administration domain is managed by an administration server. The administration server provides a central storage and distribution point for configuration information and schema data that an adapter requires during the production stage.

The main responsibilities of an administration server are to:

• Manage data storage for the domain Data about the machines, registered software, users, roles, access control lists, application configurations and deployment history are maintained for an administration domain.

• Manage transport options for applications An administration domain can use TIBCO Messaging Software as the transport for domain communication. The transport used affects how data is stored and how applications are deployed.

• Enforce security for the domain TIBCO Administrator supports centralized authentication and authorization. Different users can have different types of access for applications and resources.

• Provide load balancing and failure recovery(TIBCO Rendezvous administration domains only).

The TIBCO Administrator Server contains its own web server (Apache Tomcat). The web server manages basic communications and makes the TIBCO Administrator user interface available.

TIBCO Administration Domain

Machine A

TIBCO HawkAgent

TIBCO RuntimeAgent

TIBCO ActiveMatrix Adapter for SAP

Machine B

TIBCO HawkAgent

TIBCO RuntimeAgent

TIBCO ActiveMatrix BusinessWorks

Machine C

TIBCO HawkAgent

TIBCO RuntimeAgent

Administration ServerTomcat Web Server

Page 58: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

42 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Administrator User InterfaceTIBCO Administrator provides an easy-to-use web interface for configuring users and applications, deploying applications, and monitoring processes and machines in an administration domain. Figure 17 shows the interface.

Figure 17 TIBCO Administrator User Interface

The TIBCO Administrator user interface includes the following modules:

• User Management Use this module to create users and roles, and assign them access rights to resources available in the administration domain.

• Resource Management Use this module to create application domains, get information about installed TIBCO software on each domain machine, view the status of each domain machine, and configure monitoring rules and events that can trigger other actions such as sending email or running a command.

• Application Management (mainly for adapter and process) Use this module to upload the EAR (Enterprise Archive) file of an application, change its configuration options and global variables, define monitoring rules, and then deploy and start (or stop) the application.

Application, Service, and Service InstanceA project EAR file loaded to a TIBCO administration server is represented as an application. An application contains the adapter instances and process definitions the project archive includes. The TIBCO administration server creates a service for each of these resources. A service instance is the instance of the service running on a particular machine.

You can set deployment options at the application level, service level, or service instance level.

Page 59: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Administrator | 43

Monitoring Management by TIBCO HawkTIBCO Administrator provides basic monitoring functions for runtime projects. If you need more monitoring and management capabilities, you can use the monitoring solution provided by TIBCO Hawk Plug-in for TIBCO Administrator. See TIBCO Hawk on page 44 for more information.

Page 60: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

44 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO Hawk

TIBCO Hawk provides easy-to-use interfaces to monitor adapter application parameters and behaviors for all nodes in a local or wide-area network throughout the enterprise. TIBCO Hawk can also automatically repair runtime failures or slowdowns within seconds of their discovery for some pre-defined conditions, which leads to reduced unscheduled outages and improved performance of critical business systems.

This section introduces the following concepts that are important to adapter configuration and deployment:

• TIBCO Hawk Agent, page 44

• Microagents and Methods, page 45

• Rulebases and Rules, page 45

TIBCO Hawk includes many tools for viewing and managing the monitoring information. This section gives an overview of the following tools:

• TIBCO Hawk Display, page 46

• TIBCO Hawk Plug-in for TIBCO Administrator, page 47

See also:

• TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for more information on how to monitor and manage an adapter integration project by using TIBCO Hawk.

• The TIBCO Hawk documentation.

TIBCO Hawk AgentA TIBCO Hawk agent is included in the installation of TIBCO Runtime Agent and runs on the machine that hosts the administration server and on each machine that is part of the administration domain. It performs the monitoring duties on the machine and communicates with TIBCO Hawk console applications, for example, TIBCO Hawk Display, by using TIBCO Messaging Software. Even though an agent communicates with instances of console applications, it operates independently of these applicaiton and other agents.

Page 61: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Hawk | 45

Microagents and MethodsA TIBCO Hawk agent interfaces with the managed objects on its local machine using microagents. Microagents represent managed objects such as operating system subsystems, agent components, log files, or event logs. TIBCO Adapters also have microagents for monitoring adapter application metrics.

Each microagent exposes a set of methods to the agent that the agent uses to collect information and take action. Each agent provides information about its microagents and associated methods, including method names, arguments and return types. This permits dynamic discovery and use of microagents.

You can access the methods in different ways, from a TIBCO Hawk monitoring console or by using TIBCO Hawk Console API. Method characteristics and behavior are consistent, regardless of how the method is accessed.

Each adapter has three microagents: a standard TIBCO Hawk microagent, a class microagent, and a custom microagent. These microagents include methods that provide:

• Business level statistics that report the progress of the adapter as it interacts with the target system. For example, in TIBCO ActiveMatrix Adapter for Database, you can know from such statistics whether objects were successfully or unsuccessfully inserted, updated, or deleted in the database.

• Queries that return information about the state of the adapter. This can be an important tool for seeing the internals of an adapter and debugging it if something appears wrong. For example, methods can return information about threads, internal queues, or connections to the target system. Using these methods, you can identify certain bottlenecks or gauge how successfully an adapter is scaling in the current environment.

• Updates of the adapter runtime parameters. This includes retrieving the current runtime parameters and setting new runtime parameters without restarting the adapter. An example of this is getting and setting the polling interval. Updating a runtime parameter through the microagent only affects the setting of the instance that is running. It does not make a permanent change of the setting in either the project repository or the TRA file that stores the properties for deployed services.

Rulebases and RulesA TIBCO Hawk agent monitors managed objects by processing rulebases. Each rulebase is a collection of rules that contain the management logic for determineing how monitoring and management will take place.

Page 62: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

46 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

Multiple rules in the same rulebase can monitor a particular application or system function. For example, an application rulebase can include one rule for issuing a medium-level alert if disk space or CPU usage exceeds certain thresholds. Another rule can issue a high-level alert and send a pager message to the system administrator if the application process terminates.

TIBCO Hawk includes pre-built rulebases that monitor basic system level parameters. You can build additional rulebases with specialized rules. You can also selectively load the rulebases to an agent or group of agents on a temporary or permanent basis.

TIBCO Hawk DisplayTIBCO Hawk Display provides an easy-to-use interface for viewing and managing TIBCO Hawk agents on a network. It can discover TIBCO Hawk agents that are running and subscribe to alert messages generated by the rulebases of the agent. The alert messages it receives are presented in an organized view. Alerts are color-coded to indicate the severity of a reported problem. Clicking on a node displays the error message along with a recent history of problems on the node.

Figure 18 shows the main window of TIBCO Hawk Display, with a few discovered agents and their status displayed.

Figure 18 TIBCO Hawk Display Main Window

TIBCO Hawk Display is location-independent. It only offers a view of events on your distributed systems, not store the events in a centralized location. Adding more instances of the TIBCO Hawk Display application requires no additional network overhead or configuration.

Page 63: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO Hawk | 47

TIBCO Hawk Plug-in for TIBCO AdministratorTIBCO Hawk Plug-in for TIBCO Administrator provides the Monitoring Management module for TIBCO Administrator. You can access the module by using the TIBCO Administrator web GUI. An administration server retrieves the monitoring information from each TIBCO Hawk agent, which runs as a separate process on each administration domain, and displays the information in the GUI.

Figure 19 shows the TIBCO Hawk Monitoring Management module in the TIBCO Administrator web GUI.

Figure 19 TIBCO Hawk Monitoring Management Module in TIBCO Administrator

The plug-in includes the following three parts:

• All Alerts provides visibility for all the alerts generated in the administration domains that you are monitoring.

• Hawk Console provides access to the machines in the administration domains that you are monitoring.

• Monitoring Console provides a mechanism for you to monitor other TIBCO applications in the administration domains that you are monitoring.

The TIBCO Administrator GUI provides a dialog to configure rulebases, set monitoring options, and display status.

Page 64: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

48 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO ActiveMatrix Framework

TIBCO ActiveMatrix is an enterprise ready product for developing and deploying distributed applications. TIBCO ActiveMatrix software addresses the scalability, availability, provisioning, and security challenges for distributed applications.

Using TIBCO ActiveMatrix software, enterprises can rapidly design, implement, and test applications, deploy them to their operating environment of choice, and monitor and manage the applications end-to-end. TIBCO ActiveMatrix governance support allows enterprises to advertise access to their applications.

This section introduces:

• TIBCO ActiveMatrix Service Grid the unified design-time and runtime service framework.

• TIBCO ActiveMatrix Extensions for TIBCO Adapters the components to integrate TIBCO Adapters with TIBCO ActiveMatrix Service Grid.

See the Readme file and Release Notes to get more information about which TIBCO products are officially supported to work with the adapter.

TIBCO ActiveMatrix Service GridTIBCO ActiveMatrix Service Grid is the ideal SOA development platform when you have a diverse set of software assets that you want to reuse. It supports unified development and management through a series of software products, including:

• TIBCO Business Studio for project design.

• TIBCO ActiveMatrix Administrator for project deployment and management.

For more information, see the TIBCO ActiveMatrix Service Grid documentation.

TIBCO Business Studio

TIBCO Business Studio is a TIBCO ActiveMatrix tool that provides unified development, assembly, composition, and testing capabilities for an integration project in an Eclipse environment.

For more information, see the TIBCO Business Studio documentation.

Page 65: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

TIBCO ActiveMatrix Framework | 49

TIBCO ActiveMatrix Administrator

TIBCO ActiveMatrix Administrator is a TIBCO ActiveMatrix tool that provides an easy-to-use web-based administrator console for deploying and managing integration projects developed in TIBCO Business Studio. You can take advantage of a grid-based environment for scalability and load balancing, maintain system health and performance, and troubleshoot issues with the same user interface.

For more information, see the TIBCO ActiveMatrix Administrator documentation.

TIBCO ActiveMatrix Extensions for TIBCO AdaptersTIBCO ActiveMatrix also provides the following software products to seamlessly integrate TIBCO adapter products with the platform:

• TIBCO ActiveMatrix Binding Type for Adapters, page 49

• TIBCO ActiveMatrix Implementation Type for TIBCO Adapters, page 50

TIBCO ActiveMatrix Binding Type for Adapters

TIBCO ActiveMatrix Binding Type for Adapters makes a Service Component Architecture (SCA) service accessible through the adapters and an adapter service accessible to the components in the TIBCO ActiveMatrix environment.

An adapter binding type splits service consumption and provisioning in two separate bindings, the service binding for providing TIBCO ActiveMatrix services to adapters and reference binding to allow other TIBCO ActiveMatrix components to access services provided by TIBCO adapter products.

A component of an adapter binding type does not have a one to one relationship with an adapter instance configuration. Different adapter reference bindings from a TIBCO ActiveMatrix application can reference services from the same adapter instance or from different ones. An adapter service or reference binding component can provide or consume only a single adapter service.

TIBCO ActiveMatrix Binding Type for Adapters bridges TIBCO adapter products with TIBCO ActiveMatrix components through TIBCO Messaging Software.

TIBCO ActiveMatrix Binding Type for Adapters does not manage the deployment of adapter runtime instances. To deploy, manage, and monitor an adapter instance you need to use TIBCO ActiveMatrix Implementation Type for TIBCO Adapters.

For more information, see the TIBCO ActiveMatrix Binding Type for Adapters documentation.

Page 66: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

50 | Chapter 3 Adapter Life Cycle and TIBCO Infrastructure Tools

TIBCO ActiveMatrix Implementation Type for TIBCO Adapters

TIBCO ActiveMatrix Implementation Type for TIBCO Adapters enables TIBCO adapter configurations designed in TIBCO Designer and packaged in an EAR (Enterprise Application Archive) file to be uploaded and deployed through TIBCO ActiveMatrix Administrator to the TIBCO ActiveMatrix runtime environment.

When deployed, you can monitor and manage an adapter application just as any other TIBCO ActiveMatrix application. The adapter implementation type manages the life cylce of a deployed Adapter.

An instance of adapter implementation type represents a configured adapter instance as a component of a business unit. The status of the adapter implementation type component instance and the runtime adapter instance are always kept synchronized. There is no distinction between the two from a logical standpoint, and basically, one represents the other. A composite application can have more than one adapter implementation type component.

TIBCO ActiveMatrix Implementation Type for TIBCO Adapters does not support the invocation of adapter services in the TIBCO ActiveMatrix environment. To offer adapter services to other TIBCO ActiveMatrix components or TIBCO ActiveMatrix services to the adapter, you need to use TIBCO ActiveMatrix Binding Type for Adapters in conjunction with TIBCO ActiveMatrix Implementation Type for TIBCO Adapters.

For more information, see the TIBCO ActiveMatrix Implementation Type for TIBCO Adapters documentation.

Page 67: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 51

Chapter 4 TIBCO ActiveMatrix Adapter for SAP

This chapter introduces TIBCO ActiveMatrix Adapter for SAP by providing background information about features and components. TIBCO ActiveMatrix Adapter for SAP enables SAP systems to exchange real-time business data with the TIBCO environment.

Topics

• SAP Overview, page 52

• Adapter Overview, page 53

• Adapter Services, page 56

• Adapter and SAP Interaction, page 61

• Adapter Advanced Features, page 63

Page 68: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

52 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

SAP Overview

SAP is a provider of client-server enterprise resource planning (ERP) solutions. It is a transaction-based system, encompassing many aspects of information systems, such as sales and distribution, purchasing, human resources, and so on.

SAP InterfacesThe adapter supports the most common SAP integration interfaces, BAPI, RFC and ALE/IDocs, which are described as follows in brief. A basic understanding of these three integration interfaces helps you appreciate the capabilities of the adapter.

• BAPI (Business Application Programming) BAPIs are the business methods exposed by SAP business objects. This interface is best used with the adapter for performing real time queries and updates to and from the SAP system. For example, creation of a sales order in a SAP system using BAPI_SALESORDER_CREATEFROMDAT2. SAP recommends using BAPIs as the integration interface over RFCs (Remote Function Call).

• RFC (Remote Functions Call) The RFC interface allows non-SAP and SAP applications to execute SAP Advanced Business Application Programming (ABAP) functions that have been RFC-enabled. They are similar to BAPIs in functionality, but they are not attached to SAP business objects. Two types of RFCs are available in SAP:

— Synchronous RFCs — Used to send messages to an external system and receive replies. They are also used to query a SAP system from an external system or to query an external system from a SAP system.

— Transactional RFCs (tRFCs) — Used to send data once and only once to and from a SAP system.

— Queue RFCs (qRFCs) — Used to send data once and only once in the exact order to and from a SAP system.

• ALE/IDoc (Application Link Enabling/Intermediate Documents) IDocs are document containers for business transactional data, such as sales orders (example: ORDERS01) and order invoices (example: INVOIC02). ALE helps achieve cross-business functionality and facilitates the event driven, asynchronous exchange of information directly out of business transactions. IDocs can also be sent or received transactionally.

Page 69: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Overview | 53

Adapter Overview

TIBCO ActiveMatrix Adapter for SAP enables SAP systems to seamlessly integrate with the rest of the enterprise in a TIBCO environment to integrate applications within the enterprise, to reach partners beyond the enterprise, and to connect with other enterprises. The following sections give a brief overview of the adapter components and the logical communication architecture:

• Outbound Adapter, page 53

• Inbound Adapter, page 53

• TIDManager, page 53

• Logical Connectivity Architecture, page 54

Outbound AdapterTypically, an SAP application outbound RFC/BAPI call or ALE workflow initiates an outbound message to the adapter. The adapter then extracts RFC parameters, performs basic data type conversion (if necessary), and publishes the message to the TIBCO environment. You can configure the adapter to initiate a remote request to another RFC server application. In the case of remote requests, replies are posted back to the calling RFC within the SAP system.

Inbound AdapterThe adapter receives an inbound request from the TIBCO environment on a predetermined subject or destination. When a message is received, data conversion to SAP takes place, and a call is dispatched to the SAP system through an appropriate RFC function handler.

TIDManagerThe TIDManager prevents duplicate processing of IDocs and tRFCs in case of communication errors that occur when an IDoc or tRFC is executed in the SAP system. The usage of the TIDManager is recommended to avoid duplicates when using more than one adapter instance that share the same Program ID.

Page 70: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

54 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

Figure 20 TIDManager

Logical Connectivity ArchitectureFigure 21 shows the logical connectivity between SAP systems and the TIBCO environment using the adapter.

Figure 21 Logical Connectivity Architecture

TIBCO Messaging

TIBCO ActiveMatrix Adapter for SAP

TIDManager

TIBCO ActiveMatrix Adapter for SAP

Message Message

SAP System

Transactional RFC (tRFC)

SAP System

Instance

Outbound Adapter 1

TIDManager

Outbound Adapter 2

Outbound Adapter 3

Load-balancedOutbound Adapters

SAP System

Instance

Inbound Adapter 1

Inbound Adapter 2

Inbound Adapter 3

Load-balancedInbound Adapters

TIB

CO

Messag

ing

Page 71: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Overview | 55

In the diagram, the two servers on the left are separate physical computers that host SAP systems. Software components indicated by shadowed boxes, such as Outbound SAP Adapter 1, are adapter configurations that can run on a single computer or can be distributed. The lines that connect the adapter components to SAP system instances are either direct physical connections or connections through a gateway and router.

The number of outbound (Publication Service) and inbound (Subscription Service) adapters is not limited by software constraints, and can be increased to handle message volume increases.

Page 72: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

56 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

Adapter Services

TIBCO ActiveMatrix Adapter for SAP offers a separate service for each BAPI, RFC, and IDoc type configured in the adapter.

This section discusses the services provided by the adapter with common usage scenarios drawn from real-life customer requirements.

The adapter provides the following services:

• Publication Service, page 56

• Subscription Service, page 57

• Request-Response Invocation Service, page 58

• Request-Response Service, page 59

Publication ServiceThis service is used to publish information from SAP system. Only IDocs can be published. You can configure multiple Publication Services to handle different IDoc types. For example, use IDoc ORDERS02 to publish a sales order from the SAP system and IDoc MATMAS01 to publish material information.

Figure 22 Typical Publication Service Flow

For example, material master records can be published to a legacy inventory management system in the enterprise, and customer master records transferred to an enterprise CRM application from the same adapter configuration.

IDoc SDPIO01 Publication Service

TIBCO Environment

SAP System

TIBCO ActiveMatrix

Adapter for SAP

Material pick,pack and ship information

Enterprise Warehouse

Management System

Page 73: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Services | 57

An adapter with IDoc services can be configured to receive IDocs from multiple SAP systems or multiple RFC destinations from the same SAP system. This is useful for enterprises that need to integrate multiple SAP systems.

The adapter provides a rich variety of IDoc publication format options. IDocs may be processed and transferred in a completely self-describing format easily understood by partner systems. This facilitates straightforward mapping to the partner's data formats. IDoc services can be configured to transfer data in SAP's native table format and a variety of other formats.

IDoc services may also be configured to process IDocs individually or in batches. The former is typically suited for real-time integration while the latter suits a batch offload scenario.

Subscription ServiceThis service is used to subscribe to messages from the TIBCO environment and post them into the SAP system. Only IDocs can be posted to the SAP system. Multiple subscription services can be configured to handle different IDoc types.

Example: Sales information can be subscribed to and posted as ORDERS02 IDoc in the SAP system.

Figure 23 Typical Subscription Service Flow

IDoc SDPIID01 Subscription Service

TIBCO Environment

SAP System

TIBCO Activematrix

Adapter for SAP

Confirmation of pick, pack and ship

operations

Enterprise Warehouse

Management System

Page 74: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

58 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

Multiple IDoc subscription services can be configured and each one may receive IDocs from one or more systems in the TIBCO environment. For instance, one adapter configuration can receive and post Sales Order documents from a legacy enterprise order management application to the SAP system. It can also receive and post updates to Materials master data from an enterprise inventory management application to the SAP system.

An adapter with IDoc subscription services may also be configured to connect to one or more SAP systems.

The IDoc subscription services offers a wide variety of IDoc formats for subscription suited for real-time and batch postings. By supporting and being completely compatible with IDoc publication service message formats, the IDoc subscription service allows easy end-to-end SAP integration.

Request-Response Invocation ServiceThis service is used to invoke RFC and BAPI requests in the TIBCO environment. Multiple adapter services can be configured for different BAPIs and RFCs.

Example: A BAPI_MATERIAL_AVAILABILITY service can be invoked to check for material availability before invoking a BAPI_SALESORDER_CREATEFROMDAT1 service to create a sales order in a remote system using the same adapter.

Figure 24 Typical Request-Response Invocation Service Flow

This adapter service supports both synchronous and transactional modes.

Transactional RFC calls are typically made when a series of database operations must be performed in the remote enterprise application. Synchronous BAPI/RFC calls are more generally used for querying remote systems.

TIBCO Environment

Validation Information

Credit card validation request

SAP System

Clearing House

TIBCO ActiveMatrix Adapter for

SAP

BAPI_CREDITCARD_CHECKNUMBER

Service

Page 75: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Services | 59

Transactional mode requires the adapter to execute a transactional RFC call exactly once and reject duplicates. The adapter provides stable transaction management capabilities through the TIDManager component. The adapter's transaction handling is coupled with the TIBCO Messaging protocols. This ensures that transactions are delivered to the remote system even if the remote system was unavailable at the time of the call.

The same adapter can be configured to receive BAPI/RFC requests from multiple SAP systems or multiple RFC Destinations on the same SAP system. This allows for easier maintenance at runtime because it requires fewer adapters.

Request-Response ServiceThis service is used to execute RFC and BAPI requests in the SAP system. Multiple adapter services can be configured for different BAPIs and RFCs.

Example: BAPI_CUSTOMER_GETDETAIL1 can be used to request the details of an existing customer from the SAP system and BAPI_SALESORDER_CREATEFROMDAT1 can be used to create a sales order in the SAP system.

Figure 25 Typical Request-Response Service Flow

For instance, a BAPI_SALESORDER_CREATEFROMDAT1 adapter service can be invoked to create a sales order in the SAP system and get back the sales order number in a synchronous fashion. Or, the same BAPI service can be invoked via transactions in SAP.

The same adapter instances can be configured to connect to multiple SAP systems and execute different BAPIs/RFCs in different systems. This allows for easy maintenance at runtime because it requires fewer instances of adapters.

BAPI_SALESORDER_CREATEFROMDAT1

Service

TIBCO Environment

SAP System

Request to create

Sales order

Sales order

number

Enterprise Order Management

System

TIBCO ActiveMatrix Adapter for

SAP

Page 76: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

60 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

BAPIs/RFCs used for querying the SAP system may yield large result sets. For example, a BAPI_SALESORDER_GETLIST service that queries the SAP system for a list of sales orders for a given customer, and a given period of time, may return a large list. Processing such large result sets can be very resource intensive, and could significantly slow down the querying application. The adapter can help alleviate such problems by breaking the result set in packets.

In some scenarios actions to be performed in the SAP system might be dependent upon the calling system's credentials and rights. The adapter can be configured to enable and enforce dynamic logons for individual BAPI/RFC invocations as explained in the section Event-Driven Inbound Connections. In such cases the adapter will not use the static set of SAP connections created at startup. Dynamic logon is also useful when the BAPI service is only invoked occasionally as it avoids having to keep permanent connections to the SAP system.

If the adapter is configured with services for BAPIs requiring explicit commit in the SAP system (like the BAPI_SALESORDER_CREATEFROMDAT1 service), and the adapter has established multiple connections to the SAP system, the adapter must be instructed to maintain connection contexts for the invoked BAPIs for subsequent commit/rollback based on business rules.

Page 77: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter and SAP Interaction | 61

Adapter and SAP Interaction

This section introduces the interaction between the adapter and the SAP system:

• Business Application Programming Interface (BAPI), page 61

• Remote Function Call (RFC), page 61

• Application Link Enabling - Intermediate Documents (ALE/IDoc), page 61

Business Application Programming Interface (BAPI)The adapter extracts and stores BAPI schema definitions from the SAP system into the project at design-time. Both standard and custom BAPIs can be downloaded and used in the adapter. Each BAPI is encapsulated by an adapter service, which is used to:

• Execute business events in the SAP system from remote enterprise applications

Example: Use BAPIs to create a Sales order in the SAP system from an order management system receiving orders from the web.

• Trigger business events in a remote enterprise application from the SAP system

Example: the SAP system invokes a BAPI to perform credit-card validation against an external clearing house.

Remote Function Call (RFC)The adapter extracts and stores RFC schema definitions from the SAP system into the project at design-time. Both standard and custom RFCs can be downloaded and used in the adapter.

The underlying technology for RFCs and BAPIs is the same.

Application Link Enabling - Intermediate Documents (ALE/IDoc)This interface is typically used with the adapter for asynchronous transfer of business data to and from the SAP system, for example, a batch transfer of sales orders from the SAP system to a data warehouse.

The adapter extracts and stores IDoc metadata for individual IDoc types into the adapter project at design-time. Both Standard IDocs and Custom IDocs are supported.

Page 78: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

62 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

Each IDoc type definition in the SAP system is encapsulated as an IDoc service in the adapter. An IDoc service can be used to:

• Send business transaction data from the SAP system in both real-time and batch mode.

Example: Send out shipping notification to a warehouse management system from the SAP system for materials to be picked and packed for shipping.

• Receive business transaction data in the SAP system as IDocs.

Example: A warehouse management system posts a shipping confirmation IDoc into the SAP system after the shipping operation is complete. This confirms the completion of the operation in the SAP system.

Page 79: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Advanced Features | 63

Adapter Advanced Features

This section describes advanced features supported by TIBCO ActiveMatrix Adapter for SAP:

• BAPI Transactional Support, page 63

• Event Driven Inbound Connection, page 63

• Support for Multiple Application Servers, page 64

• Multithreading, page 64

• Validation of Destinations, page 65

• Support for qRFC, page 65

• Support for bgRFC, page 65

• Dynamic Application Server Connection, page 65

• Secure Communication Support, page 65

See TIBCO ActiveMatrix Adapter for SAP Configuration and Deployment for the detailed configuration instructions of each feature.

BAPI Transactional SupportThe BAPIs introduced with SAP system releases 4.0 and later do not automatically commit their changes as in prior SAP releases. An external program executing a BAPI inside SAP now has a choice to commit or rollback changes. To commit or rollback the changes, every request to SAP for such BAPIs needs to be followed by BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK. Also BAPI_TRANSACTION_COMMIT/BAPI_TRANSACTION_ROLLBACK should be processed with the same handle as that of the actual transaction BAPI. The adapter provides this transactional BAPI support in single-threaded as well as multi threaded mode.

You can commit or rollback changes based on the reply from the transactional BAPI.

Event Driven Inbound ConnectionUsing this feature you can force an external application to provide the standalone adapter (and SAP) with a valid login id and password. This feature is configured at the BAPI/RFC level in the adapter. Any call to these BAPIs/RFCs will require proper authentication - the adapter will not service such calls using the default connections established during initialization.

Page 80: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

64 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

You can use different login information to dispatch different requests. You can login to the SAP system with specific authorization for a particular request. The connection to the SAP system need not be open all the time. Following the call, the connection can be explicitly closed by sending a close connection request.

Support for Multiple Application ServersA single instance of the adapter can exchange messages with multiple application servers both on the inbound (to an SAP system) and outbound (from an SAP system) sides. On the outbound side, the adapter can receive messages from multiple SAP application servers. On the inbound side, the adapter can be configured for multiple BAPI/RFC/IDocs, each interacting with a different application server.

A single adapter instance can serve multiple application servers obviating the need for multiple adapter instances. Load-balancing and fault tolerance across SAP application servers can also be achieved this way.

MultithreadingAt startup, threads are dynamically created by the adapter based on the number of connections to the application server. The adapter evaluates the total connections in use and creates threads in counts that will be most ideal for optimal processing of load through the adapter.

Multithreading allows the adapter to process multiple messages concurrently ensuring better performance.

Outbound Adapter Instance — The outbound adapter instance is used to publish the IDocs or send out RFC/BAPI requests. The outbound configuration can service multiple requests from SAP. It does not have to wait for a reply to a previous request to proceed with the next request. Transactional RFCs are sequenced by the underlying SAP library and are handled sequentially by the adapter.

Inbound Adapter Instance — On the inbound side the adapter can post multiple IDocs to SAP. The adapter instance can process multiple RFC requests for the same or different RFCs/BAPIs. The Inbound configuration can also service multiple requests from external systems for posting requests into SAP without waiting for a reply for the previous request. The adapter also handles simultaneous IDoc messages.

Page 81: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Adapter Advanced Features | 65

Validation of DestinationsA list of valid partners (destinations) can be maintained in the adapter configuration. The adapter will only publish IDocs meant for these destinations and will write the IDocs for all other destinations, to a file. You can avoid publishing IDocs, which are not relevant.

Support for qRFCThis feature is used to perform sequencing of transactional RFCs.

In the SAP system, transactions can be processed as a queue. The sequence of the transaction in a queue can be defined separately, and each queue can be processed individually.

Support for bgRFCThe adapter supports bgRFC units from the SAP system of type T.

In the SAP system, a unit comprises of an individual grouping of one or more function modules.

Dynamic Application Server ConnectionThis feature allows the outbound adapter to dynamically connect to BAPIs/RFCs/IDocs from a cluster of SAP application servers under a central SAP instance.

The adapter dynamically discovers and connects to new application servers added to the environment and drops connections to other servers that have been removed from the cluster.

The ability to dynamically discover all active application servers and connect to them eliminates adapter downtimes, which usually happens when reconfiguring an adapter to connect to a newer set of application servers. The intelligence built into the adapter allows it to respond dynamically to changes in the SAP environment and ensures that the adapter caters to all relevant application servers.

Secure Communication SupportYou can use the Secure Network Communication (SNC) component for secure communication between TIBCO ActiveMatrix Adapter for SAP and the SAP system.

Page 82: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

66 | Chapter 4 TIBCO ActiveMatrix Adapter for SAP

SNC provides the following three levels of security protection between the adapter and the SAP system:

• Authentication

• Integrity

• Privacy

Page 83: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 67

Glossary

A

ABAP

Advanced Business Application Programming is a language in SAP used to write SAP specific code.

adapter instance

An object in an adapter project designed in TIBCO Designer that contains the adapter configuration information, including name, connection, logging, monitoring, and so on. See also project.

adapter service

An object in an adapter project designed in TIBCO Designer that contains the service configuration information. See also project.

adapter tester

A tool can be used for testing adapters in TIBCO Designer.

administration domain

The administrative boundary of an enterprise integration project when using TIBCO Administrator. Each administration domain contains a collection of users, machines, and services.

administration server

A central storage and distribution point in TIBCO Administrator for configuration information and schema data that an adapter requires during production stage.

AESchemas folder

When configuring a standard adapter, by default, TIBCO Designer creates schema resources and places them in the AESchemas folder. These resources represent schema that are recognized by TIBCO Adapter SDK and TIBCO ActiveMatrix BusinessWorks. Each schema file contains a collection of classes, scalars, associations, unions, and sequences.

alert

A notification to an end-user, for example, scheduled alerts deliver portal headlines to a chosen device.

ALE/IDoc

Application Link Enabling/Intermediate Documents.

API

Application Program Interface.

application

A project EAR file loaded to a TIBCO administration server. See also Enterprise Archive Resource (EAR) file and administration server.

application server

The server on which the SAP processes run.

Page 84: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

68 | Glossary

B

BAPI

Business API (Functionally equivalent to RFC).

bgRFC

Background RFC. A unified protocol combining RFC, tRFC, and qRFC. See also, RFC, tRFC, and qRFC.

C

CIF

Certified Intermediate Format.

E

EDI

Electronic Data Interchange.

Enterprise Archive Resource (EAR) file

An EAR file contains information about the adapter instances and TIBCO ActiveMatrix BusinessWorks processes you want to deploy. The EAR file is imported into TIBCO Administrator where you can deploy, start, and manage the adapter instance on the machine of your choice.

G

gateway server

A server used to exchange data with the SAP system.

global variable

Global variables provide an easy way to set defaults for use throughout your project. You can define a global variable either at design time in TIBCO Designer, or in the adapter properties file, or at runtime in TIBCO Administrator.

I

inbound instance

An adapter configuration listening for messages inbound to the SAP system. Inbound instances transfer messages from the TIBCO environment to SAP.

interface

A functional sub-unit of the adapter that exposes one or more adapter services. For example, the RFCServer interface exposes RFC/BAPI Request-Response Invocation services.

J

JMS

JAVA Messaging Service.

L

local repository

An exported project is saved in DAT format to a local repository, and can only be used for development and testing. The DAT format can be used where data is not shared by more than one adapter. It is possible to have a few local adapters accessing a local project in read-only mode. It is, however, not possible to have more than one local adapter accessing a local project in

Page 85: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Glossary | 69

read and write mode. Data are loaded at startup for local projects, so a local project has higher memory requirements.

M

MBCS

Multi-byte character string.

method

Collects information from and takes action on objects managed and monitored by a TIBCO Hawk microagent. See also microagent.

microagent

Represents managed objects such as operating system, subsystems, agent components, log files, or event logs on a machine monitored by TIBCO Hawk.

O

One Way invocation protocol

One Way invocation protocol allows you to invoke the BAPI/RFC in the SAP system without waiting for a reply from the system.

One Way is for both directions. It is not just for inbound connection to the SAP system. It is also supported for outbound connection from the SAP system as well. One Way invocation protocol allows you to invoke the BAPI/RFC in the SAP system without waiting for a reply from the system.

If you want to have the operation invoked as tRFC or qRFC then the schema should be downloaded as One Way.

outbound instance

An adapter configuration listening for messages outbound from SAP. Outbound instances transfer messages from SAP to the TIBCO environment.

P

palette

Each adapter includes a palette that is used for configuration. The palette is automatically loaded into TIBCO Designer during adapter installation and available the next time Designer is started. The palette enables you to configure adapter specific options, such as its connection to the vendor application, logging options, and adapter services.

During the design phase, the palette connects to the vendor application and fetches information about connection options and data schemas. You can then graphically select the appropriate items.

process

A graphical representation of the business process model a user defines in TIBCO ActiveMatrix BusinessWorks.

project

A collection of configured adapter resources. It contains configuration information for one or more adapter instances.

A local project is typically used at design time for testing. For production, a project is typically managed by an administration server provided by the TIBCO Administrator for the standalone adapter and TIBCO ActiveMatrix Administrator for the adapter service engine.

Page 86: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

70 | Glossary

Publication Service

An adapter Publication Service recognizes when business events happen in a vendor application, and asynchronously sends out the event data in real time to interested systems in the TIBCO environment.

Q

qRFC

Queue RFC. Processes messages exactly once and in order.

R

Remote TIDManager

Remote Transaction Identifier Manager.

Request/Response invocation protocol

It allows you to invoke the BAPI/RFC in the SAP system or adapter while waiting for a reply.

If you want to have the operation invoked as tRFC or qRFC then the schema should be downloaded as One way.

One way is for both directions. It is not just for inbound connection to the SAP system. It is also supported for outbound connection from the SAP system as well. One way invocation protocol allows you to invoke the BAPI/RFC in the SAP system without waiting for a reply from the system.

Request-Response Service

In addition to asynchronously publishing and subscribing to events, an adapter can be used for synchronously retrieving data from or executing transactions within a vendor application. After the action is performed in the vendor

application, the adapter service sends a response back to the requester with either the results of the action or a confirmation that the action occurred. This entire process is called Request-Response, and it is useful for actions such as adding or deleting business objects.

Request-Response Invocation Service

An adapter Request-Response Invocation Service is similar to the Request-Response Service, except that the roles are reversed. The vendor application is now the requester or initiator of the service, instead of the provider of the service. The adapter service acts as a proxy, giving the vendor application the ability to synchronously invoke functionality on an external system.

RFC

The SAP Remote Function Call Interface.

RFC Client

A SAP term for any program that can post RFCs/BAPIs/IDocs from an external system into the SAP system.

RFC Server

A SAP term for any external program that can accept and process RFCs/BAPIs/IDocs from the SAP system.

rulebase

A collection of rules used by a TIBCO Hawk agent to monitor managed objects. See also rule and TIBCO Hawk agent.

rule

Contains the management logic for determining how monitoring and management will take place for a TIBCO Hawk agent. See also TIBCO Hawk agent.

Page 87: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

Glossary | 71

RV

TIBCO Rendezvous protocol; also in certain contexts refers to reliable message quality of service, as opposed to certified message.

RVCM

TIBCO Rendezvous certified message quality of service.

RVDQ

TIBCO Rendezvous distributed queue.

S

SAP native data

All SAP data that the adapter interacts with. It consists of RFC data types. This includes IDocs received as RFC tables in an RFC function call.

schema

Schema defines the data used by an adapter. Adapters use schema to describe data received from or sent to the TIBCO environment. For example, when you define a Publication Service, you need to define the schema to describe the data that will be published. When you save the project, both the adapter configuration and the corresponding schema are saved.

server repository

A project exported to a server repository is managed by a TIBCO administration server running in a separate process, typically elsewhere on the network. One or more adapters can communicate with a project managed by an administration server. Each can support multiple projects.

service

1. The abstraction that describes how an adapter work together with other applications.

2. A resource representation in a TIBCO administration server.

service instance

The instance of the service running on a particular machine.

SNC

Secure Network Communications. It allows for encryption of data to be exchanged between SAP and non-SAP systems, including the adapter.

SOA

Service-Oriented Architecture.

SSL

Secure Sockets Layer.

Subscription Service

An adapter Subscription Service asynchronously performs an action, such as updating business objects or invoking native APIs, on a vendor application. The adapter service listens to external business events, which trigger the appropriate action.

T

TIBCO Hawk agent

Performs the monitoring duties on a machine in a TIBCO administration domain and communicates with TIBCO Hawk console applications. See also administration domain.

Page 88: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

72 | Glossary

TID

Transaction ID. A globally unique identifier used by all RFCs where transaction management is required to ensure exactly-once execution of a transaction.

tRFC

Transaction RFC. It processes messages exactly once.

U

unit

The combination of one or more function module as one logical unit of work. This is used during bgRFC processing.

Z

ZIP archive

A project exported to a ZIP archive is written to the location you specify as a read-only ZIP file. A project exported as a ZIP archive can be imported into TIBCO Designer.

Page 89: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

| 73

Index

A

adapter interaction modes 3publish/subscribe 4request/response 6

adaptersand message transformation systems 39

advanced features 63

B

bgRFC 65business integration scenario 9

C

choosing a service 9

D

domain, TIBCO administration domain 31dynamic application server connection 65

E

ENV_NAME xiiievent driven inbound connection 63

L

logical process architecture 54

M

message transformation systems 39multiple application servers 64multithreading 64

P

Publication Service 4, 56typical flow 56

Q

qRFC 65

R

related documentation xRequest-Response Invocation Service 6, 58

typical flow 58Request-Response Service 8, 59

typical flow 59

Page 90: TIBCOActiveMatrix Adapterfor SAP Concepts · This website is the SAP Help Portal wh ere you can find documentation on all SAP products, including SAP ECC 6.0 re leases and SAP NetWeaver

TIBCO ActiveMatrix Adapter for SAP Concepts

74 | Index

S

SAP interfacesALE/IDoc 52, 61BAPI 52, 61

transactional support 63overview 52RFC 52, 61TIBCO ActiveMatrix Adapter for SAP 61

SAP overview 52SNC 65Subscription Service 5, 57

typical flow 57

T

TIB_ADR3_HOME xiiiTIBCO ActiveMatrix Adapter for SAP

components 55interaction with SAP interfaces 61offered services 56overview 53

TIBCO Adaptersoverview 2types 2

TIBCO Domain Utility 31TIBCO support

contacting xviTIBCO documentation xviTIBCOmmunity xvi

TIBCO_HOME xiiiTIDManager Service 53typographical conventions xiii

V

validation of destinations 65