0% found this document useful (0 votes)
205 views

SAP PI - Quick Guide

The document provides an overview of SAP PI (Process Integration), which allows integration between SAP and non-SAP systems. It discusses what SAP PI is, why it is needed, its key features like connectivity, routing, and mapping, and its architecture. The architecture includes components like the integration server, integration builder, and central advanced adapter engine. It also covers SAP PI installation options and the types of messages it supports.

Uploaded by

Phan Vuong
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
205 views

SAP PI - Quick Guide

The document provides an overview of SAP PI (Process Integration), which allows integration between SAP and non-SAP systems. It discusses what SAP PI is, why it is needed, its key features like connectivity, routing, and mapping, and its architecture. The architecture includes components like the integration server, integration builder, and central advanced adapter engine. It also covers SAP PI installation options and the types of messages it supports.

Uploaded by

Phan Vuong
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 200

8/11/2021 SAP PI - Quick Guide

New Blockchain Computer science Movies

72 800,000 articles at your disposal...

SAP PI - Quick Guide



Sap pi tutorial
2020-11-19 02:43:54

SAP PI - Quick Guide

SAP PI - Introduction

Process Integration SAP is part of the SAP NetWeaver platform. It is called


SAP NetWeaver Exchange Infrastructure XI in NetWeaver 7.0 ehp2 and
earlier versions. SAP NetWeaver Process Integration is part of the NetWeaver
software component and is used for the exchange of information in the
internal company system or with external parties.

SAP PI / XI allows you to set up inter-system communication and integration


and allows you to connect SAP and non-SAP systems based on different
programming languages ​such as Java and SAP ABAP. It provides an open
source environment which is required in a complex system landscape for
systems integration and for communication.

SAP Process Integration is a middleware allowing seamless integration


between SAP and non-SAP applications in a company or withc systems
outside the company.

Example

An application that is run on different systems that are part of different


business units of a company or implemented in a distributed environment
between different companies that have a relationship business with each
other. In this environment, it is necessary to integrate and transfer
information transparently between different systems. SAP PI provides a
middleware platform that does not deal with how application components

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 1/200
8/11/2021 SAP PI - Quick Guide

are implemented with business logic and focuses more on exchanging data
between different components.

You can think of SAP PI as a central instance or middleware that


interconnects different systems. This middleware can be referred to as the
SAP PI runtime engine and this communication is referred to as mediated
communication. When you compare this communication with a scenario
panointed to the point, it's easy to manage systems and connections. In
addition to all of this, integration information is available at one central point.

The exchange of messages between the different systems using SAP PI


contains company data. The communication message protocol is based on
W3C standard SOAP messages.

Why do we need SAP PI?


In an organization, SAP ERP does not contain a single system but consists of
several integrated systems like SAP CRM, FICO, EWM, etc. SAP PI provides a
platform as a single point of integration for all systems without touching the
complex legacy system for all data and information exchanges.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 2/200
8/11/2021 SAP PI - Quick Guide

These are the key features provided by SAP Process Integration -

Connectivity

Using SAP PI, you can connect different applications and systems that have
different technical means of communication. SAP PI provides you with a
variety of adapters that allow you to connect applications based sfor
different protocols such as HTTPS or RFC (Remote Function Call).

Routing

Routing defines the rules for the flow of messages between different
systems at runtime.

Mapping

SAP PI is used to connect different applications or systems in a distributed


environment that can be set up between different companies, so it is possible
that the exchange structure data between two components differs from each
other.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 3/200
8/11/2021 SAP PI - Quick Guide

Mapping determines the structure of data in a source system to the structure


of data in a target system. It also determines the conversion rules that are
applied to the data between the source and target system.

SAP PI - Installation options

When you run a scenario in SAP PI, communication and processing


functionality is engine dependent runtimes installed with the SAP PI
installation. You can install one or more runtime engines on a host system.e.
SAP PI provides the following two installation options -

Type 1 - Dual purpose type


This installation is based on ABAP and Java and provides tools to design and
configure the integration content as well as these runtime engines -

1 Integration Engine

2 Business Process Engine

3 Advanced Adapter Engine

Type 2 - Advance Adapter Engine Extended AEX


https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 4/200
8/11/2021 SAP PI - Quick Guide

This installation is based on Java and provides tools to design and configure
the integration content and contains the engine Advance Adapter as the
execution engine.

SAP PI - Netweaver PI Architecture

The SAP PI architecture consists of several components that are used at


design, configuration, and runtime. In SAP PI the sending system is known as
the source and the receiver is called the target system and the architecture is
called the Hub and Spoke structure .Spoke is used to connect to external
systems and Hub is used to exchange messages.

A SAP PI system is -

1 Integration server

2 Integration Builder

3 SLD from System Landscape Directory

4 Configuration and Monitoring

Runtime Workbench
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 5/200
8/11/2021 SAP PI - Quick Guide

This is a tool used to provide centralized monitoring of PI components and


messages.

Integration Server
It is one of the key components of the SAP PI system and is used for
message processing.

It consists of the following three engines -

1 Business Process Engine

2 Integration engine

3 Central Advanced Adapter Engine AAE

Business Process Engine


This engine is used for message correlation and handles message processing
in ccBPM.

Integration engine
This engine is used for the routage and mapping and provides central
integration server services. If the source structure is different from the target
structure, the integration engine calls the mapping runtime as shown in the
illustration below where, the source structure is converted to the target
structure.

A mapping runtime is based on Java Stack as mentioned under SAP PI


platform topic.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 6/200
8/11/2021 SAP PI - Quick Guide

A message can be of the following two types -

1 Synchronous message is defined as message contains


both request-response part

2 The hrone message is defined as the message contains


either the request or the response part only

In SAP PI, a message is represented by an interface. An interface contains the


structure of the message in XML format and the direction.

Central Advanced Adapter Engine (AAE)


As the Integration Engine manages messages in XML and SOAP protocols,If
the enterprise system does not contain data in a specific format, adapters are
used to convert the specific protocol messages and the message format
required by the integration engine.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 7/200
8/11/2021 SAP PI - Quick Guide

In SAP PI architecture, you can think of Adapter Engine as Spoke and


Integration Engine as HUB to connect to external systems.

In the dual stack system of older versions of SAP PI, most adapters were part
of the Java stack and only two adapters were part of the ABAP stack.

Java stack adapters


The following adapters work on Java Stack -

RFC adapter, SAP Business Connector adapter, file / FTP adapter, JDBC
adapter, JMS adapter, SOAP adapter, Marketplace adapter, Mail adapter, RNIF
ter adap, adapter CIDX

ABAP Stack Adapters


The following adapters work on ABAP Stack -

r.
ABAP and deion stack adapter
N

1
IDOC and HTTP Adapter

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 8/200
8/11/2021 SAP PI - Quick Guide

In later versions when SAP PI switched to the single stack system, these
two adapters were also moved to the Java stack and the new engine thus
formed is known as the name of Advanced Adapter Engine AAE.

Service repository

2 The service registry is a UDDI complaint registry, listing available web


service definitions (based on WSDL), extended with a classification
system.

Enterprise Service Repository


3
This is used for store repository objects at design time such as mapping,
interfaces, and process definitions in the PI system.

System Landscape Directory (SLD)


4
It contains informationon landscape versions and software components.
An SAP system can be configured to register under SLD.

Integration repository
5
This is used to configure scenarios in PI system for exchanging messages
between different systems.

SAP PI - UI Tools

You can use different SAP PI user interface tools to access different
components of the SAP PI system architecture. The most common user
interface tools are -

1 ES Builder - This tool provides a Java user interface for


work in Enterprise Service Repository ESR.

2 SAP NW Developer Studio - This is a Java Eclipse based


tool for viewing and modifying certain types of objects in th
e business services repository.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 9/200
8/11/2021 SAP PI - Quick Guide

3 Integration Builder - This tool providedt a Java based u


ser interface to work in the integration directory.

SAP GUI
This is an SAP client tool for accessing the ABAP stack of the SAP PI system.

The following illustration shows the various SAP PI user interface tools and
components accessible using these tools -

SAP PI - Platform

Single Stack vs Dual Stack

In older versions of SAP PI, all components n 'were not based on a single
platform. Few components such as Integration Engine, Business Process
Engine and Integration Builder were based on ABAP stack and other
components such as Enterprise Service Repository ESR, Integration Directory
(SLD, Adapter Engine, etc.) were based on Java Stack. So these types of
systems were called dual stack systems because PI required both ABAP and
Java stack to run.

ABAP stack Java stack

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 10/200
8/11/2021 SAP PI - Quick Guide

Integration Engine Enterprise Service Repository ESR

Business Process Engine Integration Directory

(Runtime Workbench, System Landscap


Integration Builder
e, Adapter Engine, Mapping Runtime)

In latest versions of SAP PI, the components of the ABAP stack are changed
to run on the Java stack, therefore, SAP PI only needs the Java stack to run
and is called the single stack system.

SAP PI - Home Page

To open the SAP PI Tools home page, use the following URL -

http: // : "5 00 /dir/start/index.jsp

Example - http: // scmehp2: "50200 / dir / start / index.jsp

SAP PI home page contains the following four Java links -

1 Enterprise Services Repository (ESR)

2 Integration Directory (ID)

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 11/200
8/11/2021 SAP PI - Quick Guide

3 System Landscape (SL)

4 Configuration and Monitoring (CM)

Business Service Repository (ESR)


In SAP PI, the Business Service Repository is used to design and create
objects for use in the business scenario. 'integration. You can design interface
objects, mapping objects and different integration processes.

Interface objects

Here are the interface objects -

1 Service interface

2 Data type

3 Message type

Object mapping

Message mapping is done by sender and the structure of the receiver data

Integration process

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 12/200
8/11/2021 SAP PI - Quick Guide

Operation mapping is used to convert the source structure to the target


structure if the data structure is different. Complex operations can be
simplified using message mapping.

TheMessage mapping can be implemented in the following ways -

1 Graphical mapping

2 Java mapping

3 XSLT mapping

4 ABAP Mapping

Under Enterprise Service Repository, you can see different user interface
tools - Enterprise Service Builder and Web User Interface and Service
Registry.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 13/200
8/11/2021 SAP PI - Quick Guide

When you launch the Enterprise Service ES Builder application, you get an
option to run the application for the first time as shown in the screenshot.
'next screen. Click on Run.

Once the application is launched, you get the following options -

1 Main menu bar and standard toolbar at the top

2 Navigation area on the left side


https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 14/200
8/11/2021 SAP PI - Quick Guide

3 Work area on the right side

The object editors are displayed in the work area. These object editors
include functions that relate specifically to open objects.

When you run the web user interface, you will be prompted to enter the
username and passwordenough.

In the web interface, you can efperform the following tasks -


https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 15/200
8/11/2021 SAP PI - Quick Guide

1 Find - Find service interfaces, data types, etc.

2 Subscribe - Subscribe to notifications.

3 Manage - Manage the lifecycle state of service interfac


es, data types, etc.

Integration directory
The integration directory is used for the configuration of the objects created
in the enterprise services repository and the configuration is performed by
the engine of Runtime integration. To configure ESR objects you need to
import the object - Service and communication channel.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 16/200
8/11/2021 SAP PI - Quick Guide

The service allows you to address the sender or recipient of messages.


Depending on how you want to use the service, you can choose from the
following types of services -

1 Company system

2 Commercial service

3 Integration process service

The communication channel ofcompletes inbound and outbound processing


of messages by converting external native messages to SOAP XML format
using Adapter Engine. Two types of communication channel - Sender
Channel and Receiver Channel.

In the integration directory, you can perform four types of configuration -

1 Contract of the 'sender - This determines how the mess


age is processed by the integration server.

2 Recipient Determination - This is used to determine the


recipient information to which the message is to be sent.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 17/200
8/11/2021 SAP PI - Quick Guide

3 Interface determination - This is used to determine the


incoming interface to which the message is to be sent. It also
determines the interface mapping for message processing.

4 Recipient Agreement - This defines how a message is t


o be transformed and handled by the recipient.

Under Integration directory, you can see the integration builder. When you
click on Integration Builder, you can see the different options to configure the
objects created in ESR.

SAP PI - System landscape directory

The system landscape directory contains information about the versions of


the landscape and software components. A system SAP can be configured to
register in this directory. The System Landscape Directory (SLD) manages
information about all the installable and installed items in your system
landscape.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 18/200
8/11/2021 SAP PI - Quick Guide

You can find the following links in a web page -

Landscape

Under Landscape you can find the following options -

1 Technical systems - You can view and define systems a


nd servers.

2 Landscapes - You can view and configure a group of sys


tems.

3 Enterprise Systems - You can view and configure enter


prise systems for useread in the integration of processes.

Software Catalog

1 Products - This is for view products in the SAP Softwar


e Catalog.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 19/200
8/11/2021 SAP PI - Quick Guide

2 Software Components - This is to display software com


ponents in the SAP Software Catalog.

Development

1 Name Reserv ation - This is used for name reservation


and also for NW development.

2 CIM Instances - This is used to view and manage data a


t the CIM level.

Configuration etd Monitoring


The Configuration and monitoring option on the SAP PI tools home page
allows you to monitor the functions of the Integration engine, CCMS
integration and process monitoring infrastructure in the SAP system.

Using configuration and monitoring, you can monitor the following functions
-

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 20/200
8/11/2021 SAP PI - Quick Guide

1 Component monitoring - To monitor various Java and A


BAP components of SAP PI.

2 Monitoring messages - To monitor the status of messa


ge processing in a SAP PI component.

3 Performance monitoring - To the Using Runtime Workb


ench, you can monitor different performance metrics in a SA
P PI system. You can create

4 End monitoring end-to-end - To monitor the end-to-end


lifecycle in SAP PI System for a scenario.

5 Search the message index - You can perform index-bas


ed message search in message watchdog and you can also se
arch by specific adapter selection etc.

6 Alerts Inbox - The Alerts Inbox corresponds to the assig


ned roleto a business user and is used to display all alerts in
the SAP PI system as configured.

7 Configuring alerts - The alert framework in C&M allows


you to report any errors while processing messages in ABAP
and Java. Using the alert configuration, you can set a policy,
whether an alert should be flagged for error and whether to
perform a scan or not.

8 Runtime Cache Monitor - This is used to view objects in


the runtime cache.

Let's see where these options are located under Configuration and
Monitoring on the SAP PI Tools home page. Under Configuration and

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 21/200
8/11/2021 SAP PI - Quick Guide

Monitoring Home you see the three options as in the following screenshot -

Monitoring tab
Under the tab Monitoring, you get 4 options as shown in the following
screenshot -

1 Message preview - This isused to get an overview of m


essage processing for a specific period of time. Messages ar
e aggregated according to processing status.

2 Alert Inbox - This is used to process alerts based on pe


nding messages triggered by SAP NetWeaver Process Integr
ation. Alerts can provide you with runtime information and li
nks to troubleshooting tools to help identify problems faste
r.

3 Searching for messages with Trex - This is used to sear


ch for messages using the contents of the message payload.
You need the TREX search and classification engine for index

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 22/200
8/11/2021 SAP PI - Quick Guide

ing and searching for documents. Additionally, you have con


figured and enabled message indexing.

4 Component Monitor - This is used to get an overview of


the health of individual components of SAPNetWeaver Proce
ss Integration.

OConfiguration and Administration tab


Under Configuration and Administration tab, you get the 3 options as shown
in the following screenshot -

1 Message Indexing (Trex) - This is used to control and m


onitor indexing for index-based message search using searc
h and the Engine TREX classification.

2 Alert rules - To create and manage alert rules. In an ale


rt rule, you define the execution conditions under which the
system generates an alert.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 23/200
8/11/2021 SAP PI - Quick Guide

3 SLD Registration - This is used to check whether the co


mponents of SAP NetWeaver Process Integration have been
correctly registered during the technical configuration phas
e. You can apply corrections to the record and record other c
omponents.

Test tab
Under the Test tab you get the following two options -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 24/200
8/11/2021 SAP PI - Quick Guide

Send a test message

To simulate a flow of messages and verify that the SAP NetWeaver process
integration runtime is functioning correctly by sending a test message to the
Integration Engine or Advanced Adapter Engine.

Cache Connectivity Test

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 25/200
8/11/2021 SAP PI - Quick Guide

This is used to inspect the cache connectivity state of SAP NetWeaver


Process Integration infrastructure components and test their connectivity
with the caches of 'execution.

SAP PI - Communication

In SAP PI you can define two types of communication - Synchronous and


Asynchronous .

Synchronous communication
Synchronous communication is invoked by a request and response operation
and the process output is returned immediately after the In general terms,
you can say that a synchronous scenario occurs when a sender process
sends a request to the recipient and waits for a response. If an error occurs
on the recipient side, the sender application is responsible for resending the
message.

In this approach, it is possible thatthe sender may resend the message after
the timeout expires, and a duplicate message may exist. This IP approach is
known as BE (Best Effort) .

Consider two systems - A and B . And, you introduce an intermediate system


I between the two systems. Communication between system A and system I
is synchronous and systems A and B are synchronous.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 26/200
8/11/2021 SAP PI - Quick Guide

The following types of errors can occur in this communication scenario -

1 Application error - There is an error on the recipient's si


de while processing a message and the 'sender is not aware
of this error and continues to wait for the response.

2 Network level error - In this error, there is an error in th


e communication network between the sender and the recipi
ent. Sender is not aware of it and the message is stuck betw
een the two and the sender is waiting for the timeout of ope
ration.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 27/200
8/11/2021 SAP PI - Quick Guide

1 Error in reply message - In this scenario, an error occur


s and the reply message gets stuck in between and the send
er keeps waiting.

Advantages

Here are the key advantages of using synchronous communication -

1 It is not necessary to configure the routing of the reply


messages.

2 It is not necessary to correlate the response to a reque


st.

3 In this communication, the response is received immedi


ately.

Recommended Scenario

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 28/200
8/11/2021 SAP PI - Quick Guide

This is suitable for operations that involve read operations, for example,
displaying a command from purchase.

Disadvantages

Here are the main disadvantages of using the Communication hrone -

1 If this fails, the sender must resend a message.

2 The reception system must be configuredto check for d


uplicate messages.

3 In this scenario, the sending application is blocked until


a response is received or an error occurs.

4 You cannot configure multiple receivers.

Hrone communication
In hrone communication, you add an intermediary system or middleware
between two systems. When a sending application sends a request, it does
not wait for the receiving application to send the response. If this fails for
some reason, the middleware is responsible for resending the message. If
necessary, the receiving system can resend a response to the sender as a
separate hrone call.

This approach in SAP PI is called Exactly Once (EO) or Exactly Once in Order
(EOIO) .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 29/200
8/11/2021 SAP PI - Quick Guide

An intermediate system is a queue and the message from A is first added to


the queue and at the end of the receiver it is taken from the queue and sentto
the receiver. The response message from System B follows the

You can also maintain order in certain situations according to business needs
by using first in, first out (FIFO). This scenario is called Asynchronous with
Hold or Exactly Once in Order (EOIO).

Hronous communication ensures guaranteed delivery. If the receiving system


is not available for a period of time, the intermediate queue holds the
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 30/200
8/11/2021 SAP PI - Quick Guide

message and remains there until the receiving system is available and the
message is retrieved from the queue. 'waiting and sent to the receiving
system.

Recommended scenario

This is recommended for change operations like creating a purchase order or


modifying a purchase order

Advantages

Here are the main advantages of hrone communication -

1 In case of failure, the SAP PI system guarantees delive


ry and will resend the message.

2 Non configuration required for duplicate checks.

3 You can configure multiple recipients in this scenario.

4 The sending system and the receiving system do not ne


ed to be online at the same time.

5 PI logs all messages sent via hrone communication.

6 No waiting time because the intermediate system keep


s the message and the response request.

Disadvantages

Here are the main disadvantages of hrone communication -

1 In this scenario, the sender must correlate the respons


es to the request itself.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 31/200
8/11/2021 SAP PI - Quick Guide

2 The response message must be implemented and route


d separately.

3 It does not provide an immediate response.

SAP PI - Technologies
SAP provides a NetWeaver-based middleware called the SAP NetWeaver
Process Integration. SAP NetWeaver PI delivers a message in a specific
format called Simple Object Access Protocol (SOAP-HTTP) . This message
contains a header and a payload. The header contains general information
such as sender and receiver information and the payload contains the actual
data.

The system can communicate with SAP NetWeaver PI directly or using


adapters -

1 Communication using application adapters

2 Communication using technical adapters

3 Communication using standard adapters

4 Communication using transaction adapters

5 Direct communication using Proxies

SAP PI - Securing objects

To transfer information as objects from one enterprise service repository to


another, you can select from three modes of transport -

1 File System Based Transport

2 Change Management Service (CMS)

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 32/200
8/11/2021 SAP PI - Quick Guide

3 Change and Transport System (CTS)

The illustration shows two com ponents software - Version A and Version B
which have been transferred from ESRep_1 and ESRep_2 to d ' other ESRep.

Transport-level security
Transport-level security includes the security of design objects during
transfer over the network. When transferring objects, you perform transport-
level authentication and encryption and endpoint authorization. For internal
communication, you use Secure Socket Layer (SSL) for encryption and
decryption of data over a secure connection. For external communication
between SAP and a non-SAP system, the type of encryption depends on the
type of adapter used for the communication.

SAP PI adapters and security mechanism -

Adapter Protocol Security mechanism

HTTP-based adapter HTTP HTTPS

RFC based adapter RFC Secure network communication

Mail adapter SMTP, IMAP4, POP3 HTTPS

Adapters files FTP FTP over SSL

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 33/200
8/11/2021 SAP PI - Quick Guide

Transport level authorization


To obtain a transport level authorization, you can use HTTP with client
authentication. HTTP transport level authentication can use username and
password, X.509 certificates, or SAP login tickets.

Message level security


Message level security can be achieved using encryption techniques and
digital signatures. The message to be sent over the network is 'first encrypted
by an algorithmhme encryption that includes a session key and a public key
for encryption. The same session key and the same public key are used on
the recipient's side for message decryption in order to view the content.

HTTP transport level


You can use the following mechanisms for HTTP transport level -

1 User ID and password

2 X.509 certificates

3 SAP login tickets

4 Security message level

5 S / MIME

6 WS Security

7 XML Signature

8 XML Encryption

SAP PI - Creation of objects

SAP PI is a runtime environment that assigns incoming messages to


recipients and maps them to another structure or protocol. SAP NW PI
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 34/200
8/11/2021 SAP PI - Quick Guide

requires information on how messages should be handled. Information about


design objects can be found in PI Enterprise Service Repository ESR and ins
the integration directory.

Systems connected to SAP PI are kept in the System Landscape Directory


(SLD). SLD data can be

1 Software Component Information

2 System Landscape Deion

Software component information


It includes information on all available SAP software modules. It also includes
possible combinations of software modules as well as dependencies. For
example, software component, version, support packages, versions of
operating system and database, etc.

To verify this, navigate to the System Landscape Directory (SLD)

To view all technical systems, their type, versions and the latest update, go to
the Technical system tab.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 35/200
8/11/2021 SAP PI - Quick Guide

To view products and software components, navigate to the 'Software


Catalog option.

Once you have clicked on the Product tab, you can see all the products, along
with their version and the name of the supplier.eur.

You can also check thesoftware components, versions and vendor name.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 36/200
8/11/2021 SAP PI - Quick Guide

The system landscape deion defines the information of the individual system
landscape. Data Provision provides up-to-date system information on SLD at
regular times.

SAP PI - Modeling Scenarios

A model shows the exchange of messages between applications and its


design objects such as message types, data types, etc. The model is the basis
of an integration configuration scenario, and the input and output processing
defines the routing of messages. SAP PI modeling scenarios are used to
design an integration scenario in SAP PI.

You can use the following two integration scenario templates -

1 Process Component architecture template

2 Process integration scenario model

Process component architecture model


The process component architecture model is usedse for the SOA application
role. This model includes a process component model, an integration scenario
model, and a process component interaction model. The process component
model provides the detail of the internal structure of a process component.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 37/200
8/11/2021 SAP PI - Quick Guide

The integration scenario template defines the complete scenario on different


deployment units and process components. The process component model
defines how different components interact with each other.

Process integration scenario template


It is used for application role process integration scenarios. This is the design
object of Enterprise Service Builder and is uniquely identified by name and
namespace and you can create multiple versions.

You must define a scenario and a business process before creating a process
integration model.The process integration steps are performed in thes
applications. An application runs as a software component. You can also
create multiple versions of software components and the relationship
between application and software component is 1: 1.

SAP PI - Engineering Objects

A design object design is uniquely identified by name and namespace and is


assigned to a software component. You can create different design objects to
perform various functions and few are other optional mandate objects in an
integration scenario. more common designs include process integration
scenarios, message types, data, mappings, etc.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 38/200
8/11/2021 SAP PI - Quick Guide

The following table defines common design objects, their functions, and their
use in a scenario -

Design object Obligatoire Function

It is used to collect all the necessary des


Integration scenarios No
ign objects

Message types Yes It is used to encapsulate data types

It is used to describe the structure of da


Data types Yes
ta to be exchanged

It encapsulates message types and para


Service interfaces Yes
meters

Mapping No Message mapping

Integration process No Defines ccBPM workflows

These design objects are often represented as a hierarchy.

SAP PI - Show design objects

Consider a company that has many interfaces and each interface contains
middleware. You want to see the different types of middleware that are used.
To do this, log on to the SAP PI Tools start page.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 39/200
8/11/2021 SAP PI - Quick Guide

Step 1 - Use Integration Builder 's URL or T code - SXMB_IFR.

Step 2 - Navigate to the system landscape directory on the SAP PI 7.3 screen.

Step 3 - Click on Product as shown in the following screenshot. If you are


prompted for the username and password, enter the details.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 40/200
8/11/2021 SAP PI - Quick Guide

Step 4 - To see the technical system to which the software component is


assigned, enter the product name and click OK.

Step 5 - Click on the product name and go to the Installed System tab in the
details pane. You can check the assigned technical system name here.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 41/200
8/11/2021 SAP PI - Quick Guide

Step 6 - If you want to see which enterprise system is derived from this
technical system, select the technical system. You can then check it by going
to the page of SLD home → Business Systems.

Step 7 - Enter the name of the technical system and click OK.

Step 8 - Name it field that determines the name of the business system.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 42/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Scenarios integration

To create an integration scenario in SAP PI, you need to create a technical


and sales system in System Landscape Directory.

SLD is implemented as a Java software component (SAP _JTECHT) on SAP


NetWeaver Application Server Java. It is based on the open standard
Common Information Model (CIM), and is defined and published by the
Distributed Management task Force, Inc. at www.dmtf.org .

The SLD is the central listing tool for application component information,
software product and component information, and system landscape data
(technical and business systems).

In SLD, to switch from the business model to the technical model model you
use the relationship between the process step and the software component.

How to transfer software components to SLD?


When you install the system landscape directory, the initial catalog is
installed.

From SAP Market Place, you can import a more up-to-date catalog.

VoWe can also import your own software components and products
depending on the project and the integration scenario.
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 43/200
8/11/2021 SAP PI - Quick Guide

For A2A scenarios, business systems are used and they exist in SLD. For the
B2B scenario, you are using business objects and they reside in the
integration directory.

Technical system

Technical systems are part of the System Landscape Directory (SLD) and
contain information about the version, database and patch levels, system d
'exploitation, etc.

There are different modes on the technical system -

1 AS ABAP System

2 AS Java System

3 Standalone Java System

4 Third Party

There are various import tools that can be used to transfer data from the
system technical site to SLD. SAP NetWeaver Administrator is a common
import tool from SAP AS JAVA> 7.1.

Input systemsocket

The enterprise system acts as a sender and a receiver in SLD. They inherit
software components from technical systems as products. No new software
components can be added to enterprise systems in SLD.

With SAP AS ABAP, each customer is defined as an enterprise system. In


SAP AS Java, each technical system acts as a business system.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 44/200
8/11/2021 SAP PI - Quick Guide

SAP PI - File-to-file scenario

In the SAP PI file to the file scenario, we transfer a file from the source
system to the target system Once the components are integrated into SAP PI,
you can transfer a file to the SAP PI system by creating objects in Enterprise
Service Builder.

SAP PI - File Scenario Execution to file


https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 45/200
8/11/2021 SAP PI - Quick Guide

Step 1 - Navigate to the SAP PI Tools → Enterprise Service Builder page


under ESR.

Step 2 - To find the name of the component under which the objects are to be
created, expand the component to find the version of the software
component.

Step 3 - Select the component → Right click, click Newu to create an object
under this component.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 46/200
8/11/2021 SAP PI - Quick Guide

Step 4 - The first object we create is a namespace. Enter the namespace as


URL and click the Create button at the bottom.

Step 5 - Once the object is created under the software component, save and
activate the object.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 47/200
8/11/2021 SAP PI - Quick Guide

Step 6 - To activate, click Activate as shown in the following screenshot -

Step 7 - Once the namespace is saved and activated, create a data type. Go to
the software component → right click → New. In the next window, select
interface objects → data type .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 48/200
8/11/2021 SAP PI - Quick Guide

Step 8 - Enter the name of the data type and namespace and click Create as
above. Then insert a sub-element in the data type.

Step 9 - Enter the name of the element.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 49/200
8/11/2021 SAP PI - Quick Guide

Step 10 - Insert a sub-element to add a child identifier and name of the


'employee.

Step 11 - Set type and occurrence. Occurrence defines how many times this
element will appear in the file. You can select a minimum occurrence and a
maximum occurrence value.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 50/200
8/11/2021 SAP PI - Quick Guide

Step 12 - Click on the Save button.

Step 13 - Activate data type. Navigate to Data type → Activate.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 51/200
8/11/2021 SAP PI - Quick Guide

Creating a message type


Step 1 - ClickRight-click on Namespace → New

Step 2 - Under Interface Objects, select Message Type. Enter the fields.

Step 3 - Enter the name of the message type.

Step 4 - By default, this takes the name of the namespace and software
components. If not, you can select manually. Then click on Create.
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 52/200
8/11/2021 SAP PI - Quick Guide

Step 5 - Now set the Data type you will use for the message type. Drag the
data type from the left bar to the Data type option under Message type ().
Click the Save button.

Step 6 - Activate message type → Activate.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 53/200
8/11/2021 SAP PI - Quick Guide

Note - If the structure of your input file and your output file are the same, you
can only use one data type and one message type. is different, you need to
create two data types and message types for incoming and outgoing
messages. In this example, we are using the s core structure for input and
output files.

SAP PI - Creation of a service interface

Now let's see how to create a service interface. We need to create two service
interfaces - one for inbound and one for outbound .

Step 1 - Click namespace right → New → Interface objects → Service interface

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 54/200
8/11/2021 SAP PI - Quick Guide

Step 2 - Enter the name of the service interface (In - Inbound here) and by
default it takes the value of Namespace and the version of the software
component. Click on the Create

Step 3 - In the inbound service interface, enter the category as Inbound and
the communication mode as Synchronous or Asynchronous .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 55/200
8/11/2021 SAP PI - Quick Guide

Step 4 - Now set the Message Type it by dragging it from the left pane to
service interface incoming request message as below. Click save button at
top.

Step 5 - Go to the service interface and activate it after registering this


service interface.

Step 6 - Similarly, create a service interfacefor the outgoing process.

Step 7 - You can select service interface → Object → New.

Step 8 - Enter the name of the service interface (Out represents the outgoing
process).

Step 9 - Click on the Create button to create the interface.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 56/200
8/11/2021 SAP PI - Quick Guide

Step 10 - In the next window, set the category and communication mode for
Outbound Service Interface . As we have a message type for both service
interfaces, drag the type of message from the left pane to request the
message and click Save.

Step 11 - Once saved, click Activate under the Service Interface button.

SAP PI - Create Message Mapping

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 57/200
8/11/2021 SAP PI - Quick Guide

Now let's see how to create a message mapping to map the incoming process
to the outgoing process.

Step 1 - Go to Subject → New → Object Mapping → Message Mapping.

Step 2 - Enter the name of the mapping and click on Create as shown above.
Mnow, define the source and target message. Drag the message under
Message type to the source and target message under the mapping.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 58/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Now map these messages using the available mapping options.
Select the function from the drop down list and you can see different options
available under each tab.

Example - You have first and last name in source file and you want full name
in target file. Here you can use Concatenate under Text function.

Step 4 - We are now implementing the file-to-file scenario so we will just


select the source and target and will directly map if the name and structure
are the same.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 59/200
8/11/2021 SAP PI - Quick Guide

Step 5 - As the structure is the same we will use the above method. In the
next window, click Apply .

Step 6 - You can see all the icons turn green and the mapping is displayed.
Now save the mapping.

Step 7 - Activate message mapping. Navigate to Message Mapping →


Activate. Once this message mapping is activated, createdMake an operation
mapping in ESR.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 60/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Create Operation Mapping

Now let's understand how to create an operation mapping.

Step 1 - Go to Subject → New → Message objects → Mapping of operations.

Step 2 - Enter the name of the operation map and click on Create button .

Step 3 - In the next window you need to enter the source operation and the
target operation. Drag the service interface from the left pane to Source
Operation and Target Operation.The incoming service interface will be moved
to the target operation and the outgoing service interface will be moved to
the source operation.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 61/200
8/11/2021 SAP PI - Quick Guide

Step 4 - Drag the message mapping to the Mapping Program option as in the
following screenshot. Once these parameters are defined, click on the Save
button at the top.

Step 5 - Now go to Operation Mapping → Activate → Activate → Close.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 62/200
8/11/2021 SAP PI - Quick Guide

Step 6 - Navigate to Integration Builder under Integration Directory on the


SAP PI Tools home page to confirmigure a scenario.

Step 7 -Go to the Integration Builder configuration scenario view.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 63/200
8/11/2021 SAP PI - Quick Guide

Step 8 - To configure a scenario, go to Object → New → Under the


Administration tab → Configuration scenario.

Step 9 - Enter the name of the configuration scenario and click on the Create
button.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 64/200
8/11/2021 SAP PI - Quick Guide

Step 10 - Save and Activate the configuration scenario as shown in the


following screenshot.

SAP PI - Create a communication channel

Now lets us understand how to create a communication channel.

Step 1 - Click configuration Scenario right → New

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 65/200
8/11/2021 SAP PI - Quick Guide

Step 2 - You need to create two communication channels - one for the sender
and the 'other for the recipient. Select the communication component for the
sender and the receiver channel from the list of available components. Enter
the name of the communication channel and click on Create .

Step 3 - Select the settings under Communication channel. Go to Adapter and


click on the available adapter types. The adapter type depends on the type of
scenario. For the file-to-file scenario, you can selectOperate the file adapter.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 66/200
8/11/2021 SAP PI - Quick Guide

Step 4 - Here is a list of available adapters which can be selected for different
scenarios.

Step 5 - Adapter type can be selected as sender or receiver depending on the


type of communication channel.

Step 6 - Enter the directory path of the source file .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 67/200
8/11/2021 SAP PI - Quick Guide

Step 7 - Once you have entered the source file, click Save. Click the Activate
button once the sender communication channel is saved → Activate → Close.

Step 8 - Similarly, you need to create a common communication channel for


the receiver. Enter the communication channel component and the name of
the receiver communication channel and click Create .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 68/200
8/11/2021 SAP PI - Quick Guide

Step 9 - Select the adapter type as file, then select Receiver. Enter the target
directory and the filename scheme as in the following screenshot -

Step 10 - Save the file and Activate the receiver communication channel.
Once you have created the communication channel for the sender and
receiver, create a configuration integrated.

SAP PI - Creating an integrated configuration

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 69/200
8/11/2021 SAP PI - Quick Guide

Now let's see how to create an integrated configuration.

Perform the following steps -

Step 1 - Go to Subject → New → Under Collaboration agreement → Integrated


configuration

Step 2 - In the communication component, enter the sender component used


previously.

The interface will have the same service interface name as for the outgoing
process created in ESR in the previous steps.

The namespace will be the same namespace that was created in ESR in the
previous steps.

Click on the Create button.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 70/200
8/11/2021 SAP PI - Quick Guide

Step 3 - In the Incoming Processing tab, select t The communication channel


created for the sender.

Step 4 - In the Receiver tab, select the communication receiver as shown in


the following screenshot -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 71/200
8/11/2021 SAP PI - Quick Guide

Step 5 - Go to Receiver Interfaces tab, select Operation Mapping. Click Search


and select Operation Mapping as shown in the following screenshot.
Operation mapping will be created from the same mas in the previous steps.

Step 6 - Go to the Outbound Processing tab and select the receiver


communication channel.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 72/200
8/11/2021 SAP PI - Quick Guide

Step 7 - Once you are done with the mentioned parameter above, click Save
and Activate at the top.

Step 8 - Put the sample.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 73/200
8/11/2021 SAP PI - Quick Guide

Step 9 - This sample file contains no data. Create an abc.

Step 10 - Place this file in the Upload folder as mentioned in directory and
schema file during setup.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 74/200
8/11/2021 SAP PI - Quick Guide

Step 11 - Navigate to Receiver and you can see the file

Step 12 - To monitor Adapter Engine → Communication Channel Monitor, go


to the configuration and monitoring home page.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 75/200
8/11/2021 SAP PI - Quick Guide

Step 13 - Go to Adapter Engine → Communication Channel Monitor.

Step 14 - Copy the communication channel

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 76/200
8/11/2021 SAP PI - Quick Guide

Step 15 - You can check the status of the scenario file to file. If it is working
correctly you will see a green icon under statut.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 77/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Connectivity

Theconnectivity SAP PI deals with the connectivity of the source or target


system with the integration server. This connectivity deals with the exchange
of messages with the integration server. The message format to be
exchanged must be in the SAP PI protocol format or an adapter must be used
to convert an external format to a format specific to SAP PI.

SAP PI provides you with a wide range of adapters that allow you to connect
applications of different protocols. For the sender, the adapter converts the
incoming message encrypted in the sender's protocol into a PI-SOAP
message; in the case of the receiver, the PI-SOAP message is then converted
to the receiver's protocol.

Adapters available in SAP NetWemoy PI


SAP PI supports different adapters and some of them are processes in
Advance Adapter Engine or in Integration Engine. IDoc, HTTP and XI are a few
adapters which are traities in the integration engine.

Here are the adapters available in SAP NetWeaver PI -

S.Adapters in SAP NetWeaver PI & Uses

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 78/200
8/11/2021 SAP PI - Quick Guide

RFC Adapter
1
This is used to communicate with other SAP systems using the RFC
interface.

HTTP Adapter / HTTP Adapter AAE


2
This allows data exchange using the HTTP protocol. These adapters are
available in both Integration Engine and Advanced Adapter Engine.

JDBC Adapter
3
This allows you to access databases.

File / FTP adapter


4
This is used to perform data exchange with external systems using a file
interface or an F serverTP.

Mail adapter
5
This allows you to connect mail servers to the integration engine.

IDoc adapter
6
This allows the exchange of IDocs. These adapters are available in both the
Integration Engine and the Advanced Adapter Engine.

XI Adapter

This adapter allows you to communicate using a proxy. This adapter does
7
not run in Advanced Adapter Engine and does run in Integration Engine.
The XI adapter is only used to establish the HTTP connection with the
receiver.

8
WS adapter

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 79/200
8/11/2021 SAP PI - Quick Guide

This adapter is used for provide connectivity to WS providers and WS


consumers using the standard Web Services Reliable Messaging (WS-RM)
protocol. SAP has developed the WS-RM protocol with its owne inbox,
which is implemented in the ABAP stack on the integration engine.

JMS adapter
9
It allows communication with messaging systems using the JMS API.

SOAP adapter
1

0 It allows the integration of remote clients or web service providers using


SOAP.

How to check existing adapter motors?


You can check the list of existing adapter engines in the System Landscape
Directory (SLD) by following the steps -

Step 1 - Use the URL or the T-code of the integration generator - SXMB_IFR.

Step 2 - Navigate to the System Landscape directory on SAP PI 7.3 and click
Product as shown below If you are prompted to enter username and
password, enter the details.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 80/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Navigate to the Technical System area in the left pane of the system
landscape directory.

Step 4 - Select Integrateprocess ion as a type of technical system.

Step 5 - Check how many adapter motors are listed.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 81/200
8/11/2021 SAP PI - Quick Guide

Step 6 - It There is only one XIAdapterFramework adapter engine of type


that matches the core adapter engine on the integration server.

Step 7 - You can also check the list of existing adapters on Runtime
Workbench. Go to Configuration and Monitoring.

Step 8 - In the following window, go to the component monitor option.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 82/200
8/11/2021 SAP PI - Quick Guide

Step 9 - Select the components with 'All ' as the state.

SAP PI - Introducing ccBPM

Business process management deals with Inter-component BPM . This


includes SAP workflow in the SAP backend and message processing on
Integration Server.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 83/200
8/11/2021 SAP PI - Quick Guide

Cross Component Business Process Management provides SAP NetWeaver


Process Integration with stateful message processing functions, such as This
means that the status of an integration process is kept on the integration
server. This means that an integration process can, for exampleexample, wait
indefinitely for other messages to be received or until a particular deadline is
reached. In addition, it is possible to process messages further in an
integration process.

The illustration above shows that the message from system 1, 2, 3 has been
sent to the integration server and only when all messages are arrived, the
composite message has been sent to the enterprise system of target system
4. Using cross-component BPM, the message that is already on the
integration server is persisted. Any other message that arrives at the
integration server, a relationship is defined between messages to ensure that
all messages are sent correctly. Business Process Engine is responsible for
performing this task in ccBPM.

SAP PI - ccBPM Configuration

When using ccBPM, the onboarding process used in ccBPM receives an


inbound message but also sends messages to the corresponding receiving
business system.

ccBPM consists of a graphical process editor and a business process engine.


Business Process Editor opens when you select an onboarding process.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 84/200
8/11/2021 SAP PI - Quick Guide

To open the Business Process Editor, navigate to ESR → ES Builder → Design


Object Integration Directory on the SAP PI Tools page.

SAP PI - Integration process


The View Integration Process screen opens and the graphical definition of the
integration process is displayed.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 85/200
8/11/2021 SAP PI - Quick Guide

The Business Process Editor starts when you double-click on an integration


process. It consists of the following areas -

1 Area with header data

2 Graphic definition area

3 Properties pane

4 Edit display area

5 Processing log

6 Area object

Steps in an onboarding process

The steps configured in an onboarding process are either message stages or


steps linked to a process.

The following steps are relevant for messages -

1 Receive message

2 Send message

3 Determine the recipients for the subsequent sending st


eps of the process

4 Transform a message

The following steps are relevant for the process -

1 Change

2 Block

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 86/200
8/11/2021 SAP PI - Quick Guide

3 Control (raises exceptions or alerts)

4 Fork

5 Container operation (data processing)

6 While Loop

7 Wait

SAP PI - Process monitoring Integration

You can monitor message-level integration processes using the fun ction
message monitor.

Step 1 - Use T-Code - SXMB_MONI

This transaction can be used to display message processing during a


integration process or you can also switch to a viewprocess.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 87/200
8/11/2021 SAP PI - Quick Guide

Step 2 - You also have the option to basculer to the Process view in this
transaction. You can select the Process and execute check box.

Step 3 - In transaction SXMB_MONI, you can use different criteria to also


directly select processes.

Example

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 88/200
8/11/2021 SAP PI - Quick Guide

The T-code monitor process - SWF_XI_SWI1 expects the workflow number of


the integration process.

You can determine the runtime cache using code T - SXI_CACHE as shown in
the following screenshot -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 89/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web Services

A web service is an application function or a service and can be used through


the Internet standard. It is an independent, modular and self-deifing function
or application service.

It can be described, rendered available, localized and transformed or called


using standard Internet protocols.

Each website service encapsulates a function that is used to perform many


tasks. A service provider is used to provide the service. 'accessing a web
service. A service provider has a WSDL document.

A web service user ist called service requester which uses the web service
using a web browser. In a normal scenario, a service requester is an
application that accesses the web service. An application takes all the details
necessary to access a web service from the service deion and this
information is kept in the service registry.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 90/200
8/11/2021 SAP PI - Quick Guide

The following illustration shows a common web service scenario -

Web Service - Key Features


Here are the key features of 'a web service -

1 The web service allows programs to run on different pl


atforms, operating systems and different languages to com

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 91/200
8/11/2021 SAP PI - Quick Guide

municate with each other.

2 The web service is an application function or a service.

3 The web service can be used over the standard Interne


t.

4 Web services can be published and traced.

5 Web services are the basis of Enterprise Services Archi


tecture (ESA) which is knownas SAP's enhanced version of S
OA service oriented architecture.

How to analyze different web services?


Perform the following steps to scan different web services -

Step 1 - Log in to ECC system, use transaction code - SOAMANAGER

Step 2 - Check the box of the web service → Apply selection.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 92/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Check if the Overview tab contains the entry SERVICE → link is
displayed. If the SERVICE link is not displayed, it means that the link must be
terminated.

Step 4 - To view the web service and its binding, choose the Open WSDL
document for the binding or link selected service.

Step 5 - A web browser showing the WSDL opens → you can scroll down to
the end of the WSDL. You will find the point of termination under the WSDL
port of the node.
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 93/200
8/11/2021 SAP PI - Quick Guide

WhereSAP PI is not recommended?


SAP PI is not recommended for a synchronous request / response scenario.
synchronous communication, it is calledby a request and response operation
and the output of the process is returned immediately after the operation.
The load is more on the infrastructure in case of synchronous communication.

In a non-SAP backend like Java, DOT NET, SAP PI is not recommended as a


middleware tool in a user interface based scenario.

When a backend system is exposed as a UI service, SAP PI is not


recommended for UI based scenarios.

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 94/200
8/11/2021 SAP PI - Quick Guide

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial


https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 95/200
8/11/2021 SAP PI - Quick Guide

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

SAP PI - Securing Objects

2020-11-19 02:32:35 |Sap pi tutorial

SAP PI - Securing ObjectsTo transfer information


as objects from one enterprise service repository
to another, you can choose from three modes of
transport -File System Based Transport Change
Management Service (CMS) Change and Transport
System (CTS)The illustration shows two software
components - V...

SAP PI - Creating objects

2020-11-19 02:32:21 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 96/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Creating objectsSAP PI is a runtime


environment that assigns incoming messages to
recipients and maps them to another structure or
protocol. SAP NW PI requires information on how
messages should be handled. Information about
design objects can be found in PI Enterprise
Service Repository ES...

SAP PI - Modeling Scenarios

2020-11-19 02:32:08 |Sap pi tutorial

SAP PI - Modeling ScenariosA model shows the


exchange of messages between applications and
its design objects such as message types, data
types, etc. The model is the basis of an integration
configuration scenario and the input and output
processing defines the routing of messages. SAP
PI modeling s...

SAP PI - Design Objects

2020-11-19 02:31:57 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 97/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Design ObjectsA design object is uniquely


identified by its name and namespace and is
assigned to a software component. You can create
different design objects to perform The following
table defines common design objects, their
functions and their use in a scenario -Design object
Mandatory ...

SAP PI - Display Engineering Objects

2020-11-19 02:31:42 |Sap pi tutorial

SAP PI - Display Engineering ObjectsConsider a


business that has many interfaces and each
interface contains middleware. You want to see the
different types of middleware that are in use. To
do this, log on to the SAP PI Tools start page. Step
1 - Use Integration Builder URL or T code -
SXMB_IFR. St...

SAP PI - Integration Scenarios

2020-11-19 02:31:27 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 98/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Integration ScenariosTo create an


integration scenario in SAP PI, you need to create
and business system in System Landscape
Directory. SLD is implemented as a Java software
component (SAP _JTECHT) on the SAP NetWeaver
Java application server. It is based on the open
Common Information Mode...

SAP PI - File-to-File Scenario

2020-11-19 02:31:01 |Sap pi tutorial

SAP PI - File-to-File ScenarioIn the SAP PI file-to-


file scenario, we transfer a file from the source
system to the target system. After the components
are integrated into SAP PI, you can transfer a file
to the SAP PI system by creating objects in
Enterprise Service Builder. SAP PI - File-to-File Sc...

SAP PI - Creation of a service interface

2020-11-19 02:30:40 |Sap pi tutorial

SAP PI - Creation of a service interfaceNow let's


see how to create a service interface. We need to

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 99/200
8/11/2021 SAP PI - Quick Guide

create two service interfaces - one for inbound and


one for outbound. Step 1 - Right click on the
namespace → New → Interface objects → Service
interfaceStep 2 - Enter the name of the service
interfac...

SAP PI - Create Message Mapping Sap pi tutorial


2020-11-19 02:48:31

SAP PI - Create Message Mapping

Now let's see how to create a message mapping to map an inbound process
to the outbound process.

Step 1 - Go to Subject → New → Mapping Objects → Message Mapping.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 100/200
8/11/2021 SAP PI - Quick Guide

Step 2 - Enter the name of the mapping name and click on Create as shown
above. Now set the message source and target. Drag the message under
Message type to source and target message under mapping.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 101/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Now map these messages using the available mapping options.
Select the function from the drop-down list and you can see different options
available under each tab.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 102/200
8/11/2021 SAP PI - Quick Guide

Example - You have first and last name in the source file and you want the
full name in the target file. Here you can use Concatenate under Text
function.

Step 4 - We are now implementing the file-to-file scenario so we will just


select the source and the target and will directly map whether the name and
the structure are identical.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 103/200
8/11/2021 SAP PI - Quick Guide

Step 5 - As the structure is the same, we will use the above method. In the
next window, click on Apply .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 104/200
8/11/2021 SAP PI - Quick Guide

Step 6 - You can see all the icons turn green and the mapping is displayed.
Now save the mapping.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 105/200
8/11/2021 SAP PI - Quick Guide

Step 7 - Activate message mapping.à Message mapping → Activate. Once


this message mapping is enabled, create an operation mapping in ESR.

SAP PI - Creating an Operation Mapping

2020-11-19 02:48:13 |Sap pi tutorial

SAP PI - Creating an Operation MappingNow let's


see how to create an operation mapping. Step 1 -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 106/200
8/11/2021 SAP PI - Quick Guide

Go to Subject → New → Message Objects →


Operation Mapping. Step 2 - Enter the name of the
operation map and click on the Create button. Step
3 - In the next window, you need to enter the
source operation...

SAP PI - Creation of a communication channel

2020-11-19 02:47:54 |Sap pi tutorial

SAP PI - Creation of a communication channelNow


understands how to create a communication
channel. Step 1 - Right click on Configuration
Scenario → NewStep 2 - You need to create two
communication channels - one for the sender and
one for the receiver. Select the communication
component for the send...

SAP PI - Creating an Integrated Configuration

2020-11-19 02:47:30 |Sap pi tutorial

SAP PI - Creating an Integrated ConfigurationNow


let's see how to create an integrated configuration.
Perform the following steps -Step 1 - Go to Subject

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 107/200
8/11/2021 SAP PI - Quick Guide

→ New → Under Collaboration Agreement →


Integrated ConfigurationStep 2 - In the
communication component, enter the transmitter
component used prev...

SAP PI - ccBPM overview

2020-11-19 02:46:42 |Sap pi tutorial

SAP PI - ccBPM overviewBusiness process


management deals with cross-component BPM.
This includes the SAP workflow in the SAP
backend and the processing of messages on the
integration server. Cross-Component Business
Process Management provides SAP NetWeaver
process integration with stateful message ...

SAP PI - ccBPM configuration

2020-11-19 02:46:31 |Sap pi tutorial

SAP PI - ccBPM configurationWhen using ccBPM,


the integration process used in ccBPM receives an
inbound message but also sends messages to the
corresponding receiving business system. ccBPM

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 108/200
8/11/2021 SAP PI - Quick Guide

consists of a graphical process editor and a


business process engine. Business Process Editor
opens when you s...

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 109/200
8/11/2021 SAP PI - Quick Guide

located, and transformed or called up using


standard Interne...

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

SAP PI - Creating an Operation Mapping Sap pi tutorial


2020-11-19 02:48:13

SAP PI - Create an operation mapping

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 110/200
8/11/2021 SAP PI - Quick Guide

Now let's see how to create an operation mapping.

Step 1 - Go to Subject → New → Message objects → Mapping of operations.

Step 2 - Enter the name of the operation map and click on the Create button.

Step 3 - In the next window, you need to enter the source operation and the
target operation. Drag the service interface from the left pane to Source
operation and Target operation The inbound service interface will be moved
to the target operation and the outbound service interface will be moved to
the source operation.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 111/200
8/11/2021 SAP PI - Quick Guide

Step 4 - Drag the message mapping to the 'Mapping program option as in the
following screenshot. Once you have completed these settings, click on the
Save button at the top.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 112/200
8/11/2021 SAP PI - Quick Guide

Step 5 - Now , go to Operation Mapping → Activate → Activate → Close.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 113/200
8/11/2021 SAP PI - Quick Guide

Step 6 - Go to Integration Builder under Integration Directory on the SAP PI


Tools home page to configure a scenario.

Step 7 - Access the Integration Builder configuration scenario view.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 114/200
8/11/2021 SAP PI - Quick Guide

Step 8 - To configure a scenario, go to Object → New → Under the


Administration tab → Configuration scenario.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 115/200
8/11/2021 SAP PI - Quick Guide

Step 9 - Enter the name of the configuration scenario and click on the Create

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 116/200
8/11/2021 SAP PI - Quick Guide

Step 10 - Save and activate the Scenario configuration as shown in the


following screenshot.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 117/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Creation of a communication channel

2020-11-19 02:47:54 |Sap pi tutorial

SAP PI - Creation of a communication channelNow


understands how to create a communication
channel. Step 1 - Right click on Configuration
Scenario → NewStep 2 - You need to create two
communication channels - one for the sender and

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 118/200
8/11/2021 SAP PI - Quick Guide

one for the receiver. Select the communication


component for the send...

SAP PI - Creating an Integrated Configuration


2020-11-19 02:47:30 |Sap pi tutorial

SAP PI - Creating an Integrated ConfigurationNow


let's see how to create an integrated configuration.
Perform the following steps -Step 1 - Go to Subject
→ New → Under Collaboration Agreement →
Integrated ConfigurationStep 2 - In the
communication component, enter the transmitter
component used prev...

SAP PI - ccBPM overview

2020-11-19 02:46:42 |Sap pi tutorial

SAP PI - ccBPM overviewBusiness process


management deals with cross-component BPM.
This includes the SAP workflow in the SAP
backend and the processing of messages on the
integration server. Cross-Component Business
Process Management provides SAP NetWeaver
process integration with stateful message ...
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 119/200
8/11/2021 SAP PI - Quick Guide

SAP PI - ccBPM configuration

2020-11-19 02:46:31 |Sap pi tutorial

SAP PI - ccBPM configurationWhen using ccBPM,


the integration process used in ccBPM receives an
inbound message but also sends messages to the
corresponding receiving business system. ccBPM
consists of a graphical process editor and a
business process engine. Business Process Editor
opens when you s...

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 120/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,
located, and transformed or called up using
standard Interne...

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 121/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 122/200
8/11/2021 SAP PI - Quick Guide

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 123/200
8/11/2021 SAP PI - Quick Guide

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

SAP PI - Creation of a communication channel


Sap pi tutorial
2020-11-19 02:47:54

SAP PI - Creating a communication channel

Now understands how to create a communication channel.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 124/200
8/11/2021 SAP PI - Quick Guide

Step 1 - Right click on Configuration Scenario → New

Step 2 - You need to create two communication channels - one for the sender
and one for the receiver. Select the component of communication for the
sender and the receiver channel in the list of available components. Enter the
name of the communication channel and click on Create .

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 125/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Select settings under Communication channel. Go to Adapter and


click on adapter types The type of adapter depends on the type of
scenario.ier to file, you can select the file adapter.

Step 4 - Here is a list of available adapters which can be selected for different
scenarios.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 126/200
8/11/2021 SAP PI - Quick Guide

Step 5 - Adapter type can be selected as transmitter or receiver depending on


the type of communication channel.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 127/200
8/11/2021 SAP PI - Quick Guide

Step 6 - Enter the path to the source file directory.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 128/200
8/11/2021 SAP PI - Quick Guide

Step 7 - Once you have entered the source file, click on Save. Click on the
Activate button once the communication channel of the sender is registered
→ Activate → Close.

Step 8 - Similarly, you need to create a communication channel for the


receiver. Enter the communication channel component and the name of the
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 129/200
8/11/2021 SAP PI - Quick Guide

receiver communication channel and click on Create .

Step 9 - Select the type of 'adapter as file, then select Receiver. Enter target
directory and filename scheme as in the following screenshot -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 130/200
8/11/2021 SAP PI - Quick Guide

Step 10 - Save the file and Activate the communication channel receiver.
Once you have created the communication channel of the sender and
receiver, create a built-in configuration.

SAP PI - Creating an Integrated Configuration

2020-11-19 02:47:30 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 131/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Creating an Integrated ConfigurationNow


let's see how to create an integrated configuration.
Perform the following steps -Step 1 - Go to Subject
→ New → Under Collaboration Agreement →
Integrated ConfigurationStep 2 - In the
communication component, enter the transmitter
component used prev...

SAP PI - ccBPM overview

2020-11-19 02:46:42 |Sap pi tutorial

SAP PI - ccBPM overviewBusiness process


management deals with cross-component BPM.
This includes the SAP workflow in the SAP
backend and the processing of messages on the
integration server. Cross-Component Business
Process Management provides SAP NetWeaver
process integration with stateful message ...

SAP PI - ccBPM configuration

2020-11-19 02:46:31 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 132/200
8/11/2021 SAP PI - Quick Guide

SAP PI - ccBPM configurationWhen using ccBPM,


the integration process used in ccBPM receives an
inbound message but also sends messages to the
corresponding receiving business system. ccBPM
consists of a graphical process editor and a
business process engine. Business Process Editor
opens when you s...

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 133/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,
located, and transformed or called up using
standard Interne...

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 134/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 135/200
8/11/2021 SAP PI - Quick Guide

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 136/200
8/11/2021 SAP PI - Quick Guide

versions of the landscape and software


components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

SAP PI - Creating an Integrated Configuration


Sap pi tutorial
2020-11-19 02:47:30

SAP PI - Creating an integrated configuration

Now let's see how to create an integrated configuration.

Perform the following steps -

Step 1 - Go to Subject → New → Under Collaboration agreement → Integrated


configuration

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 137/200
8/11/2021 SAP PI - Quick Guide

Step 2 - In the communication component, enter the emitter component used


previously.

The interface will have the same service interface name as for the outbound
process created in ESR in the previous steps.

The namespace will be the same namespace that was created in ESR in the
previous steps.

Click on the Create button.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 138/200
8/11/2021 SAP PI - Quick Guide

Step 3 - DaOn the Inbound Processing tab, select the communication channel
as created for the sender.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 139/200
8/11/2021 SAP PI - Quick Guide

Step 4 - In the tab Receiver, select the communication receiver as shown in


the following screenshot -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 140/200
8/11/2021 SAP PI - Quick Guide

Step 5 - Go on the Receiver Interfaces tab, select Operations Mapping. Click


Find and select the operation mapping as shown in the following screenshot.
The Mapping Operation will be created from therein the same way as in the
previous steps.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 141/200
8/11/2021 SAP PI - Quick Guide

Step 6 - Go to the Outbound Processing tab and select the communication


channel of the receiver.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 142/200
8/11/2021 SAP PI - Quick Guide

Step 7 - Once you are done with the setting mentioned above, click Save and
Activate at the top.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 143/200
8/11/2021 SAP PI - Quick Guide

Step 8 - Place sample file.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 144/200
8/11/2021 SAP PI - Quick Guide

Step 9 - This example of file contains no data. Create abc.

Step 10 - Place this file in the Send Folder as mentioned in the file directory
and schema during setup.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 145/200
8/11/2021 SAP PI - Quick Guide

Step 11 - Go to Receiver folder and you can see the file

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 146/200
8/11/2021 SAP PI - Quick Guide

Step 12 - To monitor Adapter Engine → Communication Channel Monitor, go


to the page d 'home configuration and monitoring.

Step 13 - Go to Adapter Engine → Communication channel monitor.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 147/200
8/11/2021 SAP PI - Quick Guide

Step 14 - Copy the communication channel

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 148/200
8/11/2021 SAP PI - Quick Guide

Step 15 - You can check the state of the scenefile-to-file scenario. If it is


working correctly you will see a green icon under status.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 149/200
8/11/2021 SAP PI - Quick Guide

SAP PI - ccBPM overview

2020-11-19 02:46:42 |Sap pi tutorial

SAP PI - ccBPM overviewBusiness process


management deals with cross-component BPM.
This includes the SAP workflow in the SAP
backend and the processing of messages on the
integration server. Cross-Component Business

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 150/200
8/11/2021 SAP PI - Quick Guide

Process Management provides SAP NetWeaver


process integration with stateful message ...

SAP PI - ccBPM configuration


2020-11-19 02:46:31 |Sap pi tutorial

SAP PI - ccBPM configurationWhen using ccBPM,


the integration process used in ccBPM receives an
inbound message but also sends messages to the
corresponding receiving business system. ccBPM
consists of a graphical process editor and a
business process engine. Business Process Editor
opens when you s...

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 151/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,
located, and transformed or called up using
standard Interne...

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 152/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 153/200
8/11/2021 SAP PI - Quick Guide

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 154/200
8/11/2021 SAP PI - Quick Guide

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

SAP PI - Securing Objects

2020-11-19 02:32:35 |Sap pi tutorial

SAP PI - Securing ObjectsTo transfer information


as objects from one enterprise service repository
to another, you can choose from three modes of
transport -File System Based Transport Change
Management Service (CMS) Change and Transport
System (CTS)The illustration shows two software
components - V...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 155/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Creating objects

2020-11-19 02:32:21 |Sap pi tutorial

SAP PI - Creating objectsSAP PI is a runtime


environment that assigns incoming messages to
recipients and maps them to another structure or
protocol. SAP NW PI requires information on how
messages should be handled. Information about
design objects can be found in PI Enterprise
Service Repository ES...

SAP PI - Modeling Scenarios

2020-11-19 02:32:08 |Sap pi tutorial

SAP PI - Modeling ScenariosA model shows the


exchange of messages between applications and
its design objects such as message types, data
types, etc. The model is the basis of an integration
configuration scenario and the input and output
processing defines the routing of messages. SAP
PI modeling s...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 156/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Design Objects

2020-11-19 02:31:57 |Sap pi tutorial

SAP PI - Design ObjectsA design object is uniquely


identified by its name and namespace and is
assigned to a software component. You can create
different design objects to perform The following
table defines common design objects, their
functions and their use in a scenario -Design object
Mandatory ...

SAP PI - Display Engineering Objects

2020-11-19 02:31:42 |Sap pi tutorial

SAP PI - Display Engineering ObjectsConsider a


business that has many interfaces and each
interface contains middleware. You want to see the
different types of middleware that are in use. To
do this, log on to the SAP PI Tools start page. Step
1 - Use Integration Builder URL or T code -
SXMB_IFR. St...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 157/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Integration Scenarios

2020-11-19 02:31:27 |Sap pi tutorial

SAP PI - Integration ScenariosTo create an


integration scenario in SAP PI, you need to create
and business system in System Landscape
Directory. SLD is implemented as a Java software
component (SAP _JTECHT) on the SAP NetWeaver
Java application server. It is based on the open
Common Information Mode...

SAP PI - File-to-File Scenario

2020-11-19 02:31:01 |Sap pi tutorial

SAP PI - File-to-File ScenarioIn the SAP PI file-to-


file scenario, we transfer a file from the source
system to the target system. After the components
are integrated into SAP PI, you can transfer a file
to the SAP PI system by creating objects in
Enterprise Service Builder. SAP PI - File-to-File Sc...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 158/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Creation of a service interface

2020-11-19 02:30:40 |Sap pi tutorial

SAP PI - Creation of a service interfaceNow let's


see how to create a service interface. We need to
create two service interfaces - one for inbound and
one for outbound. Step 1 - Right click on the
namespace → New → Interface objects → Service
interfaceStep 2 - Enter the name of the service
interfac...

SAP PI - ccBPM overview Sap pi tutorial


2020-11-19 02:46:42

SAP PI - Introducing ccBPM

Business process management deals with inter-component BPM . This


includes the SAP workflow in the SAP backend and the processing of
messages on the integration server.

Cross-Component Business Process Management provides the integration of


SAP NetWeaver processes with stateful message handling functions, that is,
the status of a process. integration is kept on the integration server. This
means that an onboarding process can, for example, wait indefinitely until

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 159/200
8/11/2021 SAP PI - Quick Guide

other messages are received or until a particular deadline is reached. In


addition, it is possible to process messages further in an integration process.

The illustration above shows that the system message 1, 2 , 3 was sent to the
integration server and when all the messages arrived the message composite
has been sent to the enterprise system of target system 4. Using cross-
component BPM, the message that is already on the integration server is
persisted. Any other message that reaches the Integration Server, a
relationship is defined between the messages to ensure that all messages
are sent correctly. Business Process Engine is responsible for performing this
task in ccBPM.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 160/200
8/11/2021 SAP PI - Quick Guide

SAP PI - ccBPM configuration

2020-11-19 02:46:31 |Sap pi tutorial

SAP PI - ccBPM configurationWhen using ccBPM,


the integration process used in ccBPM receives an
inbound message but also sends messages to the
corresponding receiving business system. ccBPM
consists of a graphical process editor and a
business process engine. Business Process Editor
opens when you s...

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...

SAP PI - ccBPM configuration Sap pi tutorial


2020-11-19 02:46:31

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 161/200
8/11/2021 SAP PI - Quick Guide

SAP PI - ccBPM Configuration

When using ccBPM, the integration process used in ccBPM receives an


incoming message but also sends messages to the corresponding receiving
business system.

ccBPM consists of a graphical process editor and a business process engine.


Business Process Editor opens when you select an onboarding process.

To open the Business Process Editor, navigate to the ESR → ES Builder →


Design Objects Integration directory on the SAP PI tools page.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 162/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Integration process


The Show onboarding process screen opens and the graphical definition of
the onboarding process is displayed.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 163/200
8/11/2021 SAP PI - Quick Guide

The Business Process Editor starts when you double-click on an integration


process. It consists of the following areas -

1 Area with header data

2 Graphic definition area

3 Property panes

4 Process display area

5 Processing log

6 Object area

Steps in a integration process

The steps configured in an integration process are either message steps or


process-related steps.

The following steps are relevant for the message -

1 Receive a message

2 Send a message

3 Determine the recipients for the subsequent send steps


of the process

4 Transform a message

The following steps are relevant to the process -

1 Change

2 Block

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 164/200
8/11/2021 SAP PI - Quick Guide

3 Check (raises exceptions or alerts)

4 Fork

5 Container operation (data processing)

6 While loop

7 Wait

SAP PI - Monitoring of integration processes

2020-11-19 02:46:17 |Sap pi tutorial

SAP PI - Monitoring of integration processesYou


can monitor the onboarding processes at the
message level using the message monitorStep 1 -
Use T-Code - SXMB_MONIThis transaction can be
used to display message processing during an
onboarding process or you can also switch to a
process view. Step 2 -...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 165/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,
located, and transformed or called up using
standard Interne...

SAP PI Questions and Answers


2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

SAP PI - Quick Guide

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 166/200
8/11/2021 SAP PI - Quick Guide
2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 167/200
8/11/2021 SAP PI - Quick Guide

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - Monitoring of integration processes


Sap pi tutorial
2020-11-19 02:46:17

SAP PI - Monitoring Integration Processes

You can monitor integration processes at the message level by using the
message monitor

Step 1 - Use T-Code - SXMB_MONI

This transaction can be used to display message handling during a process or


you can also switch to a process view.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 168/200
8/11/2021 SAP PI - Quick Guide

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 169/200
8/11/2021 SAP PI - Quick Guide

Step 2 - You also have the option to switch to the view of process in this
transaction. You can check the Process and Run box.

Step 3 - In transaction SXMB_MONI, you can use different criteria to also


directly select processes.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 170/200
8/11/2021 SAP PI - Quick Guide

Example
Process monitor T code - SWF_XI_SWI1 expects workflow number from
onboarding process.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 171/200
8/11/2021 SAP PI - Quick Guide

You can determine the runtime cache using T-code - SXI_CACHE as shown in
the following screenshot -

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 172/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Web Services

2020-11-19 02:46:01 |Sap pi tutorial

SAP PI - Web ServicesA web service is an


application function or a service and can be used
through the Internet standard. It is an independent,
modular and self-deifying function or application
service. It can be described, made available,

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 173/200
8/11/2021 SAP PI - Quick Guide

located, and transformed or called up using


standard Interne...

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 174/200
8/11/2021 SAP PI - Quick Guide

part of the NetWeaver software component and is


used for the ...

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 175/200
8/11/2021 SAP PI - Quick Guide

Enterprise Service Repository ESR. SAP NW


Developer Studio -...

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 176/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Securing Objects

2020-11-19 02:32:35 |Sap pi tutorial

SAP PI - Securing ObjectsTo transfer information


as objects from one enterprise service repository
to another, you can choose from three modes of
transport -File System Based Transport Change
Management Service (CMS) Change and Transport
System (CTS)The illustration shows two software
components - V...

SAP PI - Web Services Sap pi tutorial


2020-11-19 02:46:01

SAP PI - Web Services

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 177/200
8/11/2021 SAP PI - Quick Guide

A web service is an application function or a service and can be used through


the Internet standard. It is an independent, modular and self-deifing function
or application service.

It can be described, made available, located and transformed or called using


standard Internet protocols.

Each website service encapsulates a function that is used to perform many


tasks. A service provider is used to provide access to a web service. A service
provider has a WSDL document.

A web service user is called a service requester who uses the web service
using a web browser. In a normal scenario, a service requester is an
application that accesses the web service. An application takes all the details
necessary to access a web service from the service deion and this
information is stored.vees in the service register.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 178/200
8/11/2021 SAP PI - Quick Guide

The illustration following shows a common web service scenario -

Web Service - Key Features


These are the key features of a web service -

1 The web service allows programs to run on different plat


forms, systems and different languages ​to communicate with
each other.

2 Web service is an application function or a service.

3 Web service can be used via standard Internet.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 179/200
8/11/2021 SAP PI - Quick Guide

4 Web services can be published and traced.

5 Web services are the foundation for Enterprise Servic es


Architecture (ESA) which is known as SAP's enhanced version
of SOA service oriented architecture.

How to analyze different web services?


Perform the following steps to scan different web services -

Step 1 - Log in to ECC system, use transaction code - SOAMANAGER

Step 2 - Check the box of the web service → Apply selection.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 180/200
8/11/2021 SAP PI - Quick Guide

Step 3 - Check if the preview Tab contains the entSERVICE → the link is
displayed. If the SERVICE link is not displayed, it means that the link must be
terminated.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 181/200
8/11/2021 SAP PI - Quick Guide

Step 4 - To display the web service and its binding, choose the Open WSDL
document for the selected binding or service link.

Step 5 - A web browser displaying the WSDL opens → you can scroll to the
bottom at the end of the WSDL. You will find the endpoint under the WSDL
port of the node.

Where SAP PI is not recommended?


SAP PI n ' is not recommended for a synchronous request / response
scenario. In synchronous communication, it is invoked by a request and
response operation and the output of the process is returned immediately
after the operation. The load is more on the operation. infrastructure in case
of synchronous communication.

In a non-SAP backend like Java, DOT NET, SAP PI is not recommended as a


middleware tool in a user interface based scenario.
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 182/200
8/11/2021 SAP PI - Quick Guide

When a backend system is exInstalled as a user interface service, SAP PI is


not recommended for user interface based scenarios.

SAP PI Questions and Answers

2020-11-19 02:45:48 |Sap pi tutorial

SAP PI Questions and AnswersSAP PI Questions


and Answers has been designed with special
intention to help students and professionals
prepare for certification exams and job interviews.
This section provides a useful collection of sample
interview and multiple choice questions (MCQs)
and their an...

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 183/200
8/11/2021 SAP PI - Quick Guide

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 184/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 185/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Securing Objects

2020-11-19 02:32:35 |Sap pi tutorial

SAP PI - Securing ObjectsTo transfer information


as objects from one enterprise service repository
to another, you can choose from three modes of
transport -File System Based Transport Change
Management Service (CMS) Change and Transport
System (CTS)The illustration shows two software
components - V...

SAP PI - Creating objects

2020-11-19 02:32:21 |Sap pi tutorial

SAP PI - Creating objectsSAP PI is a runtime


environment that assigns incoming messages to
recipients and maps them to another structure or
protocol. SAP NW PI requires information on how
messages should be handled. Information about
design objects can be found in PI Enterprise
Service Repository ES...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 186/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Modeling Scenarios

2020-11-19 02:32:08 |Sap pi tutorial

SAP PI - Modeling ScenariosA model shows the


exchange of messages between applications and
its design objects such as message types, data
types, etc. The model is the basis of an integration
configuration scenario and the input and output
processing defines the routing of messages. SAP
PI modeling s...

SAP PI Questions and Answers Sap pi tutorial


2020-11-19 02:45:48

SAP PI Questions and Answers

SAP PI Questions and Answers has been designed with particular intent to
help students and professionals to prepare for certification exams and job
interviews . This section provides a useful collection of sample interview and

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 187/200
8/11/2021 SAP PI - Quick Guide

multiple choice questions (MCQs) and their answers with appropriate


explanations.

S
Type of question / answer
N

SAP PI Interview Questions

1
This section provides a large collection of questions for 'SAP PI interview
with their answers hidden in a box to challenge you to try them out before
you discover the correct answer.

2 SAP PI Online Quiz

This section provides a large collection of SAP PI multiple choice (MCQ)


questions on a singlepage with their correct answers and explanations. If
you select the correct option, it turns green; otherwise red.
https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 188/200
8/11/2021 SAP PI - Quick Guide

SAP PI Online Test

If you are preparing to take a certification exam related to Java and SAP PI,
this section is essential for you. This section simulates a real online test
3 with a given timer that challenges you to complete the test within a given
amount of time. Finally, you can check your overall test score and your
result among the millions of other test takers who have taken this test
online.

SAP PI Mock Test


4
This section offers

SAP PI - Quick Guide

2020-11-19 02:43:54 |Sap pi tutorial

SAP PI - Quick GuideSAP PI - IntroductionSAP


process integration is part of the SAP NetWeaver
platform. It is called SAP NetWeaver Exchange
Infrastructure XI in NetWeaver 7.0 ehp2 and earlier
versions. SAP NetWeaver Process Integration is
part of the NetWeaver software component and is
used for the ...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 189/200
8/11/2021 SAP PI - Quick Guide

SAP PI - PI Netweaver Architecture

2020-11-19 02:33:48 |Sap pi tutorial

SAP PI - Netweaver PI ArchitectureThe SAP PI


architecture consists of several components that
are used at design time, setup time and run time.
In SAP PI, the sending system is known as the
source and the receiver is called the target system
and the architecture is called the Hub and Spoke
structure...

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

SAP PI - PI Netweaver Architecture Sap pi tutorial


2020-11-19 02:33:48

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 190/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Netweaver PI Architecture

The SAP PI architecture consists of several components that are used at


design time, configuration time and the execution time. In SAP PI the sending
system is known as the source and the receiver is called the target system
and the architecture is called the Hub and Spoke structure . Spoke is used to
connect to external systems and Hub is used to exchange messages.

A SAP PI system is -

1 Integration server

2 Integration Builder

3 SLD from System Landscape Directory

4 Configuration and Monitoring

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 191/200
8/11/2021 SAP PI - Quick Guide

Runtime Workbench
This is a tool used to provide centralized monitoring of PI components and
messages.

Integration server
This is one of the key components of the systemth SAP PI and is used for
message processing.

It consists of the following three engines -

1 Business Process Engine

2 Integration engine

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 192/200
8/11/2021 SAP PI - Quick Guide

3 Central Advanced Adapter Engine AAE

Business Process Engine


This engine is used for message correlation and handles message processing
in ccBPM.

Integration Engine
This engine is used for routing and mapping and provides central integration
server services. If the source structure is different from the target structure,
the integration engine calls the mapping runtime as shown in the illustration
below where, the source structure is converted to the target structure.

A mapping runtime is based on Java Stack as mentioned under SAP PI


platform topic.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 193/200
8/11/2021 SAP PI - Quick Guide

A message can be of the following two types -

1 Synmessage chronic is defined as the message contain


s both request-response part

2 The hrone message is defined as the message contains


either the request or the response part only

In SAP PI, a message is represented by an interface. An interface contains the


structure of the message in XML format and the direction.

Central Advanced Adapter Engine (AAE)


As Integration Engine manages messages in XML and SOAP protocols, if the
company the system does not contain data in a specific format , adapters are
used to convert specific message protocol and message format required by
the integration engine.

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 194/200
8/11/2021 SAP PI - Quick Guide

In SAP PI architecture, you can think of Adapter Engine as Spoke and


Integration Engine as HUB to which external systems connect.

In the double stack system of ancieIn versions of SAP PI, most adapters were
part of the Java stack and only two adapters were part of the ABAP stack.

Java Stack Adapters


The following adapters run on Java Stack -

RFC Adapter, SAP Business Connector Adapter, File / FTP Adapter, JDBC
Adapter, Adapter JMS, SOAP adapter, Marketplace adapter, Mail adapter,
RNIF ter adap, CIDX adapter

ABAP Stack adapters


The following adapters work on ABAP Stack -

r.
ABAP stack adapter and deion
N

IDOC and HTTP adapter

1 In later versions, when SAP PI switched to the single-stack system, these


two adapters were also moved to the Java stack and the new engine thus
formed is known as the Advanced Adapter Engine AAE.

2
Service Repository

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 195/200
8/11/2021 SAP PI - Quick Guide

The Service Registry is a UDDI complaints register, listing the Available


web service definitions (based on WSDL), extended with a classification
system.

CompanyService repository
3
It is used for store design-time repository objects such as mapping,
interfaces, and process definitions in the PI system.

System Landscape Directory (SLD)


4
It contains information about landscape versions and software
components. An SAP system can be configured to register under SLD.

Integration repository
5
This is used to configure scenarios in PI system for exchanging messages
between different systems.

SAP PI - User Interface Tools

2020-11-19 02:33:34 |Sap pi tutorial

SAP PI - UI ToolsYou can use different SAP PI user


interface tools to access different components of
SAP PI System Architecture. The most common
user interface tools are -ES Builder - This tool
provides a Java user interface for working in
Enterprise Service Repository ESR. SAP NW
Developer Studio -...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 196/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Home Page

2020-11-19 02:33:18 |Sap pi tutorial

SAP PI - Home PageTo open the SAP PI Tools


home page, use the following URL -http: : 5 00 dir
start index. jsp Example - http: scmehp2: 50200
dir start index. jspThe SAP PI home page contains
the following four Java links -Enterprise Services
Repository (ESR) Integration Directory (ID) Sy...

SAP PI - System Landscape Directory

2020-11-19 02:32:55 |Sap pi tutorial

SAP PI - System Landscape DirectoryThe system


landscape directory contains information about
versions of the landscape and software
components. An SAP system can be configured to
register in this directory. The System Landscape
Directory (SLD) manages information about all of
the installable and ins...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 197/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Securing Objects

2020-11-19 02:32:35 |Sap pi tutorial

SAP PI - Securing ObjectsTo transfer information


as objects from one enterprise service repository
to another, you can choose from three modes of
transport -File System Based Transport Change
Management Service (CMS) Change and Transport
System (CTS)The illustration shows two software
components - V...

SAP PI - Creating objects

2020-11-19 02:32:21 |Sap pi tutorial

SAP PI - Creating objectsSAP PI is a runtime


environment that assigns incoming messages to
recipients and maps them to another structure or
protocol. SAP NW PI requires information on how
messages should be handled. Information about
design objects can be found in PI Enterprise
Service Repository ES...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 198/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Modeling Scenarios

2020-11-19 02:32:08 |Sap pi tutorial

SAP PI - Modeling ScenariosA model shows the


exchange of messages between applications and
its design objects such as message types, data
types, etc. The model is the basis of an integration
configuration scenario and the input and output
processing defines the routing of messages. SAP
PI modeling s...

SAP PI - Design Objects

2020-11-19 02:31:57 |Sap pi tutorial

SAP PI - Design ObjectsA design object is uniquely


identified by its name and namespace and is
assigned to a software component. You can create
different design objects to perform The following
table defines common design objects, their
functions and their use in a scenario -Design object
Mandatory ...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 199/200
8/11/2021 SAP PI - Quick Guide

SAP PI - Display Engineering Objects

2020-11-19 02:31:42 |Sap pi tutorial

SAP PI - Display Engineering ObjectsConsider a


business that has many interfaces and each
interface contains middleware. You want to see the
different types of middleware that are in use. To
do this, log on to the SAP PI Tools start page. Step
1 - Use Integration Builder URL or T code -
SXMB_IFR. St...

SAP PI - Integration Scenarios

2020-11-19 02:31:27 |Sap pi tutorial

SAP PI - Integration ScenariosTo create an


integration scenario in SAP PI, you need to create
and business system in System Landscape
Directory. SLD is implemented as a Java software
component (SAP _JTECHT) on the SAP NetWeaver
Java application server. It is based on the open
Common Information Mode...

https://www.hebergementwebs.com/sap-pi-tutorial/sap-pi-quick-guide 200/200

You might also like