Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Describes Software Components and namespace Describes the Integration Repository and Objects. Understand Various Interfaces Objects and roles . Describes types of message mapping. Use of Web Standards . Import of Various objects into Integration Repository.
Integration repository is now referred as ESR - Enterprise Service Repository. The global data types, interfaces and business processes maintained in Enterprise service repository are reusable WSDL-based editors for the specification of service interfaces, message types and data types. Fulfills UDDI 3.0 (UDDI: Universal Description, Discovery, and Integration). Enabling Application-to-Application Processes Enabling Business-to-Business Processes
2009 Deloitte Touche Tohmatsu
Primary container for all Integration Repository objects. Imported directly from the SLD. For each software component version, can be assigned a connection to an existing SAP system for the import of IDoc/RFC interfaces. Each software component version can be assigned one or more namespaces.
Import Steps In the Enterprise Services Repository menu bar, Choose Object New. In the create dialog, expand the Work Areas node. Select Software Component Version. Select the Import from SLD radio button. After List of Software Component Versions, choose Display. The system displays all software component versions from the SLD. Select one or more software component versions to import select the corresponding checkboxes. Choose Import
5
2009 Deloitte Touche Tohmatsu
Namespaces
Unique identifier for related Integration Repository objects. Development objects in the Integration Repository are organized by namespace. Several namespaces can be assigned to the same SWCV. Naming convention: http://sap.com/xi/demo -URI(Uniform Resource Indicator) urn:sap-com:xi:demo -URN(Uniform Resource Name )
Data types are the most basic entity to define the structure of XML elements
Equivalent to XML Schema (XSD) Data type editor provides all XSD basic data types. Nesting of data types possible Export of data type in XSD format possible Structures can be created in the Data Type editor and reused in other structures
Interface Object Message Interface The Message Interface is the highest-level representation of XML metadata. Inbound or outbound (respective to the application), or abstract (for BPM only) Synchronous or asynchronous o Asynchronous refers to one message type o 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
10
Connection information for the target system is maintained as part of the SWCV.
11
12
Message types in the Integration Repository translate to message elements in the WSDL standard. Data Types in the Integration Repository map to type elements in WSDL. Message/Service Interfaces are portType elements in WSDL .
13
Context Objects Context Object Pointer to a specific element (field) within the message, for future reference. Encapsulate access to data that is contained in the payload or in the header (technical context objects) of a message
14
Mapping Techniques In PI
Message mapping o o o Graphical design and test environment Queue-based model allows handling of very large documents Extensible via Java user-defined functions
XSLT
o o o o Open standard Portable Extensible via Java user-defined functions Memory overhead for very large documents
Java o o Flexibility of Java programming language Java mapping program is responsible for parsing/rendering XML
ABAP
o
o
15
Mapping Objects: Message Mapping Graphical mapping tool Graphically define mapping rules between source and target Message types Queue-based model allows for handling of extremely large documents Drag-and-drop Generates internal Java code Built-in and user-defined functions (in Java) Integrated testing tool N: M mapping possible for use with BPM only!
16
The source message appears on the left-hand side of the screen, and the target message appears on the right. Functional transformations can be made using a library of built-in functions.
The graphical editor includes a Test tab to load an instance of the source document and test the mapping.
17
Mapping Objects: Operational Mapping Representation of the mapping at the interface level Assign mapping program(s) between source and target message types: o Message mapping o XSLT mapping o Custom Java mapping o 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
18
19
Proxy Generation
Proxies separate Business Application Logic from the Integration logic of the PI Proxies are generated from the WSDL description of the interface objects SPROXY Transaction used for generating Proxies Proxy will have the same attributes as the message interface: o Inbound, outbound o Synchronous, asynchronous Outside-in development approach o Adapter-less, out-of-the-box integration o For applications based on SAP Web AS 6.20 or above (ABAP and Java)
20
The counterparts to outbound message interfaces in application systems are client proxies. The counterparts to inbound message interfaces in application systems are server proxies. In the case of synchronous interfaces, the method is called EXECUTE_SYNCHRONOUS. In the case of asynchronous interfaces, the method is called EXECUTE_ASYNCHRONOUS. Proxy generation saves a reusable data type in the ABAP Dictionary for global XSD data types, for example data elements or structures.
21