How To Use the iflow Eclipse Tool with the Integration Directory

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

Single Sign-on For SAP NetWeaver Mobile PDA Client

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider Microblog: Why Is There No Inbox?

Visual Composer Modeling: Data Validation in the UI

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

Configuring relay server in Sybase Control Center

How to Handle the System Message in SAP NetWeaver Mobile 7.1

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

How to Enable Single Sign-On for Mobile Devices?

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

How to Find Suitable Enhancements in SAP Standard Applications

Visual Composer for SAP NetWeaver Composition Environment - Connectors

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Enterprise Search Extension for SAP Master Data Governance

Testing Your New Generated SAP NetWeaver Gateway Service

How to Download Software and Address Directories in SAP Service Marketplace

Installing SAP NetWeaver Mobile Client (eswt) on a Storage Card

MDG100 Master Data Governance

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider: Understanding Quick View Configuration

BC430 ABAP Dictionary

SAP Afaria Post- Installation Part 1

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

DEV523 Customizing and Extending PowerDesigner

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

HA150 SQL Basics for SAP HANA

BC405 Programming ABAP Reports

ADM900 SAP System Security Fundamentals

Visual Composer Modeling: Migrating Models from 7.1.X to 7.2.0

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

TBIT44 PI Mapping and ccbpm

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

ADM100 AS ABAP - Administration

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

BC400 Introduction to the ABAP Workbench

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BW Text Variables of Type Replacement Path

BC480 PDF-Based Print Forms

AFA461 SAP Afaria 7.0 System Administration (SP03)

Using JournalEntries and JournalVouchers Objects in SAP Business One 6.5

How to Check or Derive an Attribute Value in MDG using BRFPlus

Message Alerting for SAP NetWeaver PI Advanced Adapter Engine Extended

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Visual Composer s Control Types

ADM920 SAP Identity Management

Quick View Insider: How Do I Set Quick View as SNC s Entry Screen?

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Manual Activities of SAP Note Globalization Services, 2012/06/05

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

BC490 ABAP Performance Tuning

Personalizing SAP BusinessObjects Explorer Information Spaces

How to Guide to create Sample Application in IOS using SUP ODP 2.2

EDB785 SAP IQ Administration

How to Access Images of SAP Netweaver Demo Model JAVA

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

TBW30 SAP BW Modeling & Implementation

Building a Real-time Dashboard using Xcelsius and Data Integrator

Using Default Values in Backend Adapter

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SMP521. SAP Mobile Platform - Native and Hybrid Application Development COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System

LO Extraction - Part 6 Implementation Methodology

TBIT40 SAP NetWeaver Process Integration

Working with Data Sources in the SAP Business One UI API

How to Work with Analytical Portal

OData Service in the SAP Backend System for CRUDQ Operations in Purchase Order Scenario

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Extending DME Transfer Files According to Spanish Banking Control Council to Support Non- Euro Payments

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

Remote Monitoring User for IBM DB2 for LUW

SAP BusinessObjects Dashboards 4.0 SAP Crystal Dashboard Design 2011 SAP Crystal Presentation Design 2011

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

SAP NetWeaver Identity Management Virtual Directory Server. Tutorial. Version 7.2 Rev 1. - Accessing databases

Web Dynpro: Column Coloring in ALV

Learning Series: SAP NetWeaver Process Orchestration, business to business add-on 2g Archiver Module and Archiver Mapping

Upgrading to CR 2008 V1 / SP1

The Dbmlsync API. A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 30 th, 2008

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

EDB377. Fast Track to SAP Replication Server Administration COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Architecture of the SAP NetWeaver Application Server

How can a Reference Query Be used?

SAP ME Build Tool 6.1

NET312. UI Development with Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

TBW60. BW: Operations and Performance COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Transcription:

How To Use the iflow Eclipse Tool with the Integration Directory Applies to: SAP NetWeaver Process Orchestration 7.31 SP2 SAP NetWeaver Process Integration PI 7.31 SP2 Summary With PI 7.31 SP2, an Eclipse tool was introduced to allow us to develop an end-to-end integration scenario. The Eclipse tool can be used instead of the classical Swing tool. Both tools will continue to exist, and can be used interchangeably. This article describes the ifow Eclipse tool for the creation of objects in the Integration Directory, which is second of the 2 articles for the development of an integration scenario. The first article consists of the tasks involved in the creation of interfaces and mapping using the ESR Eclipse tool, which is described separately. This article can be used independently by itself to get an overview of the iflow Eclipse tool, or can be used in conjunction with the ESR Eclipse tool to build a complete end-to-end integration. Author: William Li Company: SAP Labs LLC Created on: April 2012 Author Bio William Li is a member of the SAP NetWeaver Orchestration and Integration Team in SAP NetWeaver Solution Management. He has been with SAP since 1998 - originally as a SAP America consultant, as a developer at SAPLabs and then as a SAP NetWearver RIG member focused on Process Integration. He joined SAP NetWeaver Solution Management in April of 2010. 2012 SAP AG 1

Table of Contents Abstract... 3 Step-by-Step Instructions... 3 Create Business Components in iflow (Integration Flow)... 6 Assign Interfaces to be used during integration... 10 Assign Mapping... 12 Create Communication Channels... 14 Activate the iflow... 21 Running the Scenario... 22 Additional Information... 23 Copyright... 25 2012 SAP AG 2

Abstract This article goes through the step-by-step creation of objects in the Integration Directory using the Eclipse tool, iflow. This is the second of two articles outlining the end-to-end development of an integration scenario. The first article consists of the design portion of the integration scenario using the Eclipse ESR tool. With the two articles, a complete end-to-end integration can be developed using Eclipse. For the exercise, the scenario is as follow: Article 1: How To Use the ESR Eclipse Tool with the Enterprise Service Repository Article 2: How To Use the iflow Eclipse Tool with the Integration Directory Step-by-Step Instructions The tasks involved in the creation of integration objects are: Create iflow template. Create business components in the Integration Directory using iflow. Assign interfaces to the business components. Assign mappings during integration. Create communication channels in iflow. The NetWeaver Developer Studio 7.31 use in this guide can be downloaded from the SAP NetWeaver Developer Studio Update Site: https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/nw/731/ 2012 SAP AG 3

Step Description Screenshot 1 After launching NWDS, open the ESR perspective: Windows Open Perspective Other 2 Select SAP Process Integration Designer and click OK 2012 SAP AG 4

3 Enter location of the PI server: Menu: Process Integration Change Preferences Enter PI server URL. Click Test Connection to verify correct URL. Click OK. Enter PI Server Information: 4 Connect to the Integration Directory. 5 Enter logon info 2012 SAP AG 5

Create Business Components in iflow (Integration Flow) 6 Create a new iflow object: Menu: File New Integration Flow 7 Enter Demo1 for the name. Since there will be 2 receivers, select Recipient List. (Optionally, Point-to- Point Channel can also be selected. Additional receivers can be added during configuration.) Click Finish. (Note: Optionally, we can also click Next, which will allow selection of existing sender and receiver components and interfaces.) 8 A graphical view of the endto-end integration will be displayed. The graphical view is based on BPMN. It allows us to see the complete message flow during the integration process. 2012 SAP AG 6

9 Enter the sender component. Right-click Sender 1, and select New Business Component. (An existing Business System or Business Component can also be assigned.) 10 Enter BC_Sender for the sender business component name. Click Finish. 11 After the BC_Sender is displayed, on the right side of the window, in Sender Interfaces, click Add to add the sender interface from the ESR. 2012 SAP AG 7

12 Select SI_Request_Async_Out. Click OK. 13 Save BC_Sender. 14 Create 1 st receiver. Go back to the iflow Demo1 tab. On the right side of the window, right-click on Receiver 1 and select New Business Component. 2012 SAP AG 8

15 Enter name: BC_Receiver1 Click Finish. 16 Add receiver interface to the business component. On the newly create BC_Receiver1, scroll to the right side of the window, under Receiver Interfaces, click Add. 17 Select SI_InsertCustInfo_Async_In. Click OK. 18 Save BC_Receiver1. 2012 SAP AG 9

19 Repeat steps 14-18 for Sender_2 in iflow to create BC_Receiver2 and add interface SI_Request_Async_In. All sender (BC_Sender) and receiver components (BC_Receiver1, BC_Receiver2) are now created. Assign Interfaces to be used during integration 20 Assign sender interface. Within BC_Sender, rightclick on interface and select Assign Interface (F4). 21 Select SI_Request_Async_Out. Click OK. 22 Assign receiver interface for BC_Receiver1. Within BC_Receiver1, right-click on interface and select Assign Interface (F4). 2012 SAP AG 10

23 Select SI_InsertCustInfo_Async_In. Click OK. 24 Assign receiver interface for BC_Receiver2. Within BC_Receiver2, right-click on interface and select Assign Interface (F4). 25 Select SI_Request_Async_In. Click OK. 26 All the sender and receiver interfaces are assigned. 2012 SAP AG 11

Information: Additional receivers can be added by right-click on Recipient List and select Add Receiver. Information: A receiver can be deleted by right-click on the Condition line and select Remove Receiver. Assign Mapping 27 Add mapping program between BC_Sender and BC_Receiver1. Right-click on the condition line to BC_Receiver1, and select Add Mapping. 2012 SAP AG 12

28 Right-click on the newly created Mapping object. Select Assign Mapping (F4). 29 Select Request InsertCustInfo, which has already been created in the ESR. Click OK. 30 The result iflow is displayed. Note: No mapping will be used for BC_Receiver2. 2012 SAP AG 13

Create Communication Channels 31 Create a File sender communication channel. The file will be commadelimited, requiring structured conversion. In iflow, right-click on the Channel line and select Configure Channel. 32 Enter S_File for the channel name. Click on Browse to display and select the Adapter Type. 33 Select File and click OK. 2012 SAP AG 14

34 Select File Content Conversion for Message Protocol. 35 In the Channels tab, and under Adapter-Specific tab, in the Source tab, enter values: Source Directory: data/demo1/custinfo File Name: custinfo.txt 2012 SAP AG 15

36 In the Processing tab: Poll Interval: 3 Select Processing Mode: Delete 37 In the Content Conversion tab, enter the following values: Document Name: MT_Request Document Namespace: http://demo1.com/demo2 Recordset Name: record Recordset Structure: record,* Recordsets per Message: * 2012 SAP AG 16

38 Also, scroll toward the botton, enter the following key-values into the table (use the Add button to add rows to the table): record.fieldnames = cust_no,name,address,city,s tate,zip,phone record.fieldseparator =, ignorerecordsetname = true 39 Click on the Model Configurator tab to go back to iflow. File is now displayed for the Channel. 40 Create a JDBC receiver communication channel for BC_Receiver1 to insert rows into a SQL table. Right-click on the Channel line to BC_Receiver1. Select Configure Channel. 41 Enter R_JDBC_MSS for the Channel Name. Click Browse to select the Adapter Type. 2012 SAP AG 17

42 Select JDBC. Click OK. 43 In the Adapter Specific tab, enter the appropriate values for MSSQL configuration. JDBC Driver: com.microsoft.sqlserver.jdbc.sqlserverdriver Connection: jdbc:sqlserver://isawindows: 1433;database=Demo;integr atedsecurity=false User Name: your dbuser Password: your password 44 Click on the Model Configurator tab, the Channel should display JDBC. 2012 SAP AG 18

45 Create a JMS receiver communication channel for BC_Receiver2 to send a message to a JMS queue. Right-click on the Channel line to BC_Receiver2. Select Configure Channel. 46 Enter R_JMS_MQ for the Channel Name. Click Browse to select the Adapter Type. 47 Select JMS. Click OK. 2012 SAP AG 19

48 For the Transport Protocol, select WebSphereMQ. 49 In the Adapter-Specific tab, and Target tab, enter the appropriate values for the IBM MQ configuration. Server Name: isawindows Queue Manager Name: isawindows Channel Name: S_isawindows JMS Queue: demo1 50 In the Processing tab, enter the User and Password values as required. 2012 SAP AG 20

51 Click the Model Configurator tab to display the iflow. The Channel should display JMS. 52 Save the iflow. If there are missing configurations, it will be flagged in iflow. Activate the iflow 53 Activate the change list. Right-click the change list name Demo1, and select Activate. Note: This will save the iflow object in the Integration Directory. It is not the same as activating the object in the Integration Directory. 54 Click Yes to save the changes. Click OK to complete. 2012 SAP AG 21

55 Deploy the iflow Demo1. Right-click Demo1 and select Deploy. The Deploy is the same as activate in the Integration Directory. 56 During deployment the status will be displayed. During deployment: After deployment: Running the Scenario File Sender: Data file sent 001,Jane Smith,123 Main St.,St. Louis,MO,63101,314-555-1212 002,Ralph Samson,123 Madison Ave.,New York,NY,10012,202-555-1212 XML message after structure conversion by the file adapter <?xml version="1.0" encoding="utf-8"?> <ns:mt_request xmlns:ns="http://demo1.com/demo2"> <record> <cust_no>002</cust_no> <name>jane Smith</name> <address>123 Main St.</address> <city>new York</city> <state>ny</state> <zip>10012</zip> <phone>202-555-1212</phone> 2012 SAP AG 22

</record> <record> <cust_no>003</cust_no> <name>jane Smith</name> <address>123 Main St.</address> <city>new York</city> <state>ny</state> <zip>10012</zip> <phone>202-555-1212</phone> </record> </ns:mt_request> JDBC Receiver (SQL Server): Content of SQL table JMS Receiver (IBM MQ): Content of MQ queue <?xml version="1.0" encoding="utf-8"?> <ns:mt_request xmlns:ns="http://demo1.com/demo2"> <record> <cust_no>001</cust_no> <name>jane Smith</name> <address>123 Main St.</address> <city>st. Louis</city> <state>mo</state> <zip>63101</zip> <phone>314-555-1212</phone> </record> <record> <cust_no>002</cust_no> <name>ralph Samson</name> <address>123 Madison Ave.</address> <city>new York</city> <state>ny</state> <zip>10012</zip> <phone>202-555-1212</phone> </record> </ns:mt_request> Additional Information There are still some gaps between the Swing tool and the Eclipse tool in the initial release of PI 7.31 SP2: Dynamic Recipient List Value Mapping Configurable Parameters 2012 SAP AG 23

Party Virtual Receiver Header Mapping Access Control List Extended Receiver Determination CTS+ Support Re-use of Channels Except for the Re-use of Channels, the other gaps will be closed in the next update, PI 7.31 SP4. 2012 SAP AG 24

Copyright Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. 2012 SAP AG 25