Professional Documents
Culture Documents
Topics
Introduction to SAP XI 3.0 System Landscape Directory Integration Repository Integration Directory Monitoring Adapter Framework Business Process Management Server Administration Security B2B and Industry Standards
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
Before starting an XI Integration project, a component view of the business process requirements must be established
SAP AG 2002, Title of Presentation, Speaker Name / 4
XI Integration is interface-driven. An interface represents: The transfer of data between two components Synchronous or asynchronous message exchange
Design Time
Integration Builder Integration Repository
Scenario Editor
Process Editor
Business Scenarios
Business Processes Mappings Context Objects Message Interfaces
BPEL XSLT Java XPath WSDL
J2EE/ABAP
Proxies
Interface Editor
XSD
Software Component
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
For each software component version, the following can be assigned: A connection to an existing SAP system
for
Namespaces
(Globally) unique identifier for related Integration Repository objects Usually vendor-based
Same concept as XML namespaces Several namespaces can be assigned to the same SWCV Naming convention:
URL URN
http://sap.com/xi/demo urn:sap-com:xi:demo
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
refers to one message type Synchronous refers to two message types (request and response)
References fault message types for exception handling WSDL representation available for export Starting point for proxy generation (ABAP and Java) Context objects can be assigned
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
Proxy
Proxy generation
Message interfaces are the basis for proxy generation Proxy will have the same attributes as the message interface:
Inbound, outbound
Synchronous, asynchronous
proxies are generated from the IR as .JAR files ABAP proxies are generated from the application client, based on the WSDL representation of the message interface
Some rules and restrictions are in effect for the conversion of XSD Data types into Java or ABAP types, respectively
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
Mapping concepts
Mapping
Transformation from one message structure to another Transformation rules defined by mapping program
<hh:book-flight xmlns:hh="..."> <hh:customer> <hh:first-name>Micheal</hh:first-name> <hh:surname>Moore</hh:surname> </hh:customer> <hh:booking-data> <hh:airline>Airline Kingdom</hh:airline> <hh:connection>AK087</hh:connection> <hh:date>2001-11-22</hh:date> <hh:class>business</hh:class> </hh:booking-data> </hh:book-flight>
Value Mapping
<ak:BookFlight xmlns:ak="..."> <ak:Date>22.11.2001</ak:Date> <ak:Flight>087</ak:Flight> <ak:Passenger>Micheal Moore</ak:Passenger> <ak:Class>2</ak:Class> <ak:Agency>Happy Holiday</ak:Agency> </ak:BookFlight>
Structure Mapping
Mapping techniques in XI
Message mapping
Graphical design and test environment Queue-based model allows handling of very large documents Extensible via Java user-defined functions
XSLT
Open standard Portable Extensible via Java user-defined functions
Java
Flexibility of Java programming language Java mapping program is responsible for parsing/rendering XML
ABAP
Leverage existing ABAP base ABAP mapping program is responsible for parsing/rendering XML
Structure Overview
Source Structure
Target Structure
Data-Flow Editor
Message mapping
XSLT mapping Custom Java mapping ABAP mapping
Mapping programs can be combined in a sequence N:M interface mapping possible (for use with BPM only!) For synchronous interfaces, a request and response mapping can be provided
All files to be imported must be archived (ZIP or JAR format) The archive is uploaded from user workstation. Integration Repository can serve as central maintenance location for imported objects
XSLT and text files can be edited directly from IR. Java CLASS files must be edited and recompiled locally, then reimported.
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
focus on the complete message exchange only the public part of the process
describes
An Action
describes a function (a process) within one component that is involved in the message exchange refers to the interfaces that can be used to perform that function may be used by one or more business scenarios
Travel Agency Web AS 6.20 Airline Web AS 6.20
Book Flight
Business Scenario driven modelling and visualization of integrated business processes Collects all XI objects of an integration scenario Enables single entry point and access to all objects Provides structured documentation
Products, Functions
Connections (Interfaces, Mapping)
Collect messages Multicast Serialization Process control elements such as switch, assign, fork, wait, block, loop, control Deadlines, exception handling, conditions
Process - Flow
Product Template
Send Receive
Process
Product A
Product B
IFabs1 IFabs2
IFabs1 IFabs2
Wait for response
[timeout]
Alert Alert
Send
[continue]
IFabs
IFabs
Integration Repository
Agenda
XI 3.0 Integration Repository Overview and concepts Software components and namespaces Interface objects Proxy generation Mapping objects Business Process objects Miscellaneous
BPEL
Business Processes
XSLT Java
The import function for WSDL, XSD and DTD files enables you to upload message definitions from external sources.
Mappings
Interfaces
After conversion to WSDL they can be used to define message mappings and message WSDL interfaces. XSD The object type External Definition is a container which is used to make external message definitions available in the Integration Repository.
IDocs, RFCs
SAP System
XSD and WSDL representation available for export Procedure: right-click on imported objects and follow the wizard
Miscellaneous
The Integration Repository supports versioning of all repository objects at software component level. Support Packages of a software component version are also supported. Message interfaces can be marked as abstract (instead of inbound or outbound). This applies to interfaces which are used in BPM or which are handled by adapters. Advantage: There is no need to define two interfaces (inbound and outbound) if their structure is identical.
It is possible to enhance data types shipped by SAP with customer-specific fields. These enhancements will not be lost in the event of a release upgrade.
The information modeled in business scenarios can be used to describe product release combinations. A separate component view can be defined for each release.