Technology

45017167 sap-pi-handbook

Description
1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 1Process Integration HandbookApplies to:SAP NetWeaver Process Integration…
Categories
Published
of 111
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 1Process Integration HandbookApplies to:SAP NetWeaver Process Integration 7.1 including SAP enhancement package 1SummaryThis document provides both an introduction to the key concepts of SAP NetWeaver Process Integration andan overview of the tasks and tools that come into play in integration projects. It is targeted at beginnerswanting to get involved in the topic and experts already involved in real-life integration projects and who needa handbook to help them stay ahead.Author: Peter GutscheCompany: SAP AGCreated on: 30 June 2009
  • 2. Process Integration HandbookSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 2Table of Contents1 Introduction...........................................................................................................................................................41.1 What You can Expect from this Document...................................................................................................42 Basic Concepts.....................................................................................................................................................42.1 Integration of Processes .............................................................................................................................42.2 Mediation...................................................................................................................................................52.3 Decoupling Business Semantics from Implementation Details......................................................................62.4 Phases of an Integration Project .................................................................................................................62.5 Overview of Tasks and Tools....................................................................................................................102.6 Mediation Capabilities of SAP NetWeaver PI.............................................................................................113 Installing and Configuring the Software................................................................................................................154 Designing Integration Content .............................................................................................................................184.1 Introduction..............................................................................................................................................184.2 Defining Software Component Versions ....................................................................................................194.3 Defining a Process Model.........................................................................................................................234.4 Defining Interface Objects.........................................................................................................................294.5 Proxy Generation .....................................................................................................................................334.6 Defining Mappings....................................................................................................................................344.7 Using Predefined Integration Content........................................................................................................345 Configuring Integration Content...........................................................................................................................375.1 Introduction..............................................................................................................................................375.2 Overview of Tasks and Tools....................................................................................................................405.3 Describing the System Landscape in the System Landscape Directory ......................................................435.4 Defining the Communication Components and Channels (Adapters)..........................................................445.5 Configuring Integration Server-based Communication ...............................................................................455.6 Configuring Local Message Processing on the Advanced Adapter Engine..................................................515.7 Model-based Configuration.......................................................................................................................525.8 Integration Directory Programming Interface..............................................................................................556 Operating SAP NetWeaver PI .............................................................................................................................556.1 Overview of Administrative Tasks .............................................................................................................556.2 Overview of Administrative Tools ..............................................................................................................556.3 Software Logistics ....................................................................................................................................586.4 System Management................................................................................................................................596.5 Troubleshooting .......................................................................................................................................597 Mapping .............................................................................................................................................................597.1 Mapping Programs...................................................................................................................................607.2 Overview of Mapping Objects in the ES Repository ...................................................................................617.3 Operation Mapping...................................................................................................................................627.4 Message Mapping (Graphical Mapping Editor) ..........................................................................................637.5 Advanced Mapping Techniques................................................................................................................657.6 Mapping Examples...................................................................................................................................698 Integration Processes (ccBPM) ...........................................................................................................................698.1 Introduction..............................................................................................................................................698.2 Designing Integration Processes...............................................................................................................708.3 Configuring Integration Processes ............................................................................................................74
  • 3. Process Integration HandbookSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 38.4 Best Practices and Examples ...................................................................................................................759 Routing...............................................................................................................................................................769.1 Content-Based Routing ............................................................................................................................769.2 Dynamic Routing......................................................................................................................................799.3 Message Split ..........................................................................................................................................7910 B2B Integration ...............................................................................................................................................8210.1 B2B Integration Design.............................................................................................................................8310.2 B2B Configuration....................................................................................................................................8410.3 B2B Integration Based on Industry Standards ...........................................................................................8711 Security ..........................................................................................................................................................9011.1 Secure and Reliable Technical Landscape of SAP NetWeaver PI ..............................................................9011.2 Secure and Reliable Messaging................................................................................................................9011.3 Security Standards for Web Services ........................................................................................................9111.4 Restricting Access to Runtime Environment to Specific (Service) Users .....................................................9211.5 Configuration Examples for Back-End Settings..........................................................................................9312 Services Registry............................................................................................................................................9312.1 Introduction..............................................................................................................................................9312.2 Publishing Service Definitions into the Services Registry ...........................................................................9412.3 Discovering Services in the Services Registry ...........................................................................................9612.4 Additional Tasks.......................................................................................................................................9712.5 SAP Enterprise Services Explorer tool for Microsoft .NET..........................................................................9713 Web Services Reliable Messaging...................................................................................................................9713.1 Connecting the Integration Server to WSRM-Enabled Systems.................................................................. 9813.2 Setting Up Direct Communication between WSRM-Enabled Systems ........................................................9814 Appendix ...................................................................................................................................................... 10014.1 SAP NetWeaver PI Architecture and Tools.............................................................................................. 10014.2 Service Provisioning............................................................................................................................... 10014.3 Setting Up High-Volume Scenarios ......................................................................................................... 10114.4 Additional Connectivity Options............................................................................................................... 10214.5 Glossary ................................................................................................................................................ 10314.6 Further Reading and Training ................................................................................................................. 109
  • 4. Process Integration HandbookSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 41 Introduction1.1 What You can Expect from this DocumentThis document provides both an introduction to the key concepts of SAP NetWeaver Process Integration(SAP NetWeaver PI) and an overview of the tasks and tools that come into play in integration projects. It istargeted at both beginners wanting to get involved in the topic and see their first example scenario running,and experts already involved in real-life integration projects and who need a handbook to help them keeptheir orientation not lose the central theme.The document is organized in such a way that, if printed out, it can be used as a self-contained reference forgetting a basic understanding of SAP NetWeaver PI.In addition to this, when used online the handbook serves as the first point of entry to those parts of the SAPLibrary documentation that cover the key concepts in detail, as well as the procedures for performing thenecessary tasks end-to-end. Links to key documentation chapters in each section point you to those parts ofthe documentation where you can dig deeper into the topic touched on in the section.In detail:Chapter 2 covers the basic concepts in short.Chapters 3 – 6 cover the basic concepts in detail and provide a description of the most importanttasks that come into play in an integration project.Chapters 7 - 13 cover specific concepts in more detail than in the preceding chapters.Note: The concepts and tasks described in this document correspond to release SAP NetWeaver PI 7.1 including SAPenhancement package 1. It is stated explicitly if a specific feature is not available before SAP enhancementpackage 1 for SAP NetWeaver PI 7.1.Corresponding notes are added in blue boxes to give an impression of customer scenarios that use a specific concept ofSAP NetWeaver PI.2 Basic ConceptsThis chapter introduces the key principles and basic concepts that form the three main phases of SAPNetWeaver PI. These phases constitute the main framework along which all concepts are explained in moredetail throughout this document.2.1 Integration of ProcessesSAP NetWeaver PI is SAP’s implementation of Service-oriented Architecture (SOA) middleware andfacilitates the integration of business processes that span different departments, organizations, orcompanies. We will start by introducing the term process component which will accompany us throughoutthis handbook. A process component is part of the value chain of a business application or a businessprocess. If we assume that a business application ranges over different departments of one company, then aprocess component usually represents one part of the process that is performed in one department. Thefollowing figure displays an integration scenario and shows the separation of a business application into itsprocess components (blue icons), as well as the connections between the process components. In theexample outlined in the figure, the process components run in three different departments of a company: A,B, and C. Process components can run on different systems, can be hosted in different departments of acompany, or can be implemented in completely different companies that have a business relationship toeach other. The process components exchange data with each other and thereby ensure that the valuechain of the business process as a whole is maintained.
  • 5. Process Integration HandbookSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 5Department A Department B Department C1 2Figure 1: Integration scenario showing the interaction of process componentsThe focus of SAP NetWeaver PI is not on the inner life of the individual process components or how thebusiness logic is implemented within a process component but rather on how the process componentsexchange data with each other. Process integration is all about the choreography of data exchange betweenprocess components.2.2 MediationTechnically, the business logic of different process components in an integration scenario is implemented ondifferent systems. Let us assume that the systems involved in an integration scenario communicate directlywith each other. For example, if the process components run on different SAP systems, one SAP systemcalls another using a remote function call. We call this kind of communication “point-to-point” or directcommunication. However an upgrade to one part of the system landscape would, for example, entail that allindividual connections that are affected also have to be adapted as part of the upgrade. In the case of largesystem landscapes, this approach could easily get out of control since the number of connections grows tothe square of the number of systems.However, consider a situation where a central instance interconnects the systems as a communication hubor data hub. We call this type of communication mediated communication and refer to the data hub as theintegration broker. With a central instance interconnecting the systems you then have the option to have allintegration-relevant information accessible at one central location. In contrast to the point-to-point scenariowhere there is a “spaghetti-like” arrangement of connections, in a mediated scenario the number andarrangement of connections remains manageable.The following figure illustrates the difference between mediated and point-to-point communication:IntegrationBrokerFigure 2: Point-to-point communication (left) compared to mediated communication (right)
  • 6. Process Integration HandbookSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com© 2009 SAP AG 6Mediated communication based on an integration broker is executed by exchanging XML messages.Accordingly, in the context of SAP NetWeaver PI we usually speak of message-based integration. Themessages contain the business data exchanged between the systems involved in a cross-componentprocess. The message protocol of SAP NetWeaver PI (which the integration broker can process) is based onthe W3C standard SOAP Messages with Attachments (see also Messages).Note: While we do cover direct or point-to-point communication (see Setting Up Direct Communication between WSRM-Enabled Systems), the main focus of this handbook is on mediated communication.2.3 Decoupling Business Semantics from Implementation DetailsThe preceding sections have already set out the basic concept. If we assume the different parts of a cross-system business application and their interactions to be “hard-coded” on the individual systems the processspans, then every change at the technical implementation level (such as changing a server address) wouldentail a change of the whole business process. This is time-consuming, error prone, and does not scale forcomplex business processes and large system landscapes. Therefore, one basic principle is to decouple thebusiness semantics from the technical details of the concrete system landscape. Business semantics are, forexample, the business flow of a process and its separation into individual process components, as well asthe structure of exchanged data. These aspects of a business process are merely determined by businessconsiderations rather than by details of the implementation or of the concrete system landscape.2.4 Phases of an Integration ProjectBased on this decoupling, it is possible to describe the integration-relevant aspects of a business process atan abstract level first – irrespective of the details of a particular system landscape. We call the correspondingphase of an integration project the design time. At design time, those parts of a business process can bespecified that are independent from any technical details which are implementation-
  • We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks