0% found this document useful (0 votes)
720 views18 pages

Complete Proxy Configuration Guide For SAP PI - PO and ECC - SAP Integration Hub

SAP Integration

Uploaded by

Sujith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
720 views18 pages

Complete Proxy Configuration Guide For SAP PI - PO and ECC - SAP Integration Hub

SAP Integration

Uploaded by

Sujith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Home ABAP  PI/PO  BASIS  Interview Preparation Tips About Author

Proxy
Search this site... Search

Home  PI/PO  Proxy 


Complete Proxy Configuration Guide for SAP PI/PO and ECC
Tag Cloud

Complete Proxy Configuration ABAP ALE/iDoc

ASMA B2B Base64


Guide for SAP PI/PO and ECC Business System DDIC
 By Isuru Fernando  Proxy   5 Comments
EDI Error Example
Setting up and configuring SAP Proxy connectivity is a complex task
with multiple steps to consider. This article looks at the Proxy File Adapter FTP
Configuration steps in detail. We will discuss the prerequisites for setting
up Proxy connectivity and how to test and validate Proxy settings. Function Module Guide

How To HTTP iDoc


Proxy configuration is done in several systems: SAP System, Net-weaver
Administrator (NWA) and Process Integration/Orchestration. iFlow Java Mapping

Connectivity between SAP PI/PO and SAP back-end is established by Message Mapping
configuring SAP ABAP Proxy framework with PI/PO SOAP adapter. To
NWDS Overview
setup the communication between SAP ABAP Proxy with AEX SOAP
adapter we use the message protocol XI 3.0. In this illustration, we will PI/PO Proxy
be connecting an SAP ERP 6.0 version (Netweaver 7.5) with Process
Orchestration PO 7.5. RBDMIDOC RFC

SE11 SE37 SE38


Prerequisites for Setting Up Proxy Service Interface SFTP
Connectivity. SLD Smartforms
Before starting Proxy configuration in ECC back-end system and PI/PO,
SOAP sproxy SQ01
you need to make sure these prerequisites are fulfilled. First, check if the
SAP ECC system is registered in SLD. Then, make sure the SLD RFC Step by Step
Privacy & Cookies Policy
https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 1/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

destinations are maintained correctly in the SAP back-end system. Last Troubleshoot UDF
but not least, SICF settings should be completed.
Variable Substitution
1. SAP System Registered in System Landscape Directory (SLD).
we02 we20 WSDL
2. SLD RFC Destinations are Created.
XML XPath
3. SICF Configuration Is Completed by BASIS Team.

Prerequisite 1: SAP System Registered in Explore by Category


System Landscape Directory (SLD). ABAP
ALE/iDoc
Make sure you have registered the SAP back-end ECC system in System
Landscape Directory (SLD). Business System of SAP system should be ALV
created and imported to Integration Directory. The name of SAP Application Log
Business System in this example is SADCLNT900. base64
BDC
Prerequisite 2: SLD RFC Destinations are DDIC
Created. Function Module
When you register the SAP Technical System in System Landscape LSMW
Directory (SLD), RFC Destinations to SLD are automatically created. SAP Query
Automatically generated RFC destinations names are SLD_NUC and
Search Help
SLD_UC. Make sure these two RFC Destinations are available in the SAP
back-end system and are working. Smartforms
Spool
Both of them are TCP/IP connections of type T. If they are not working Table Maintenance
you need to contact your BASIS team.
Transformation
BASIS
Batch Jobs
Automatically generated SLD_UNC and SLD_UC TCP/IP RFC destinations How To
PI/PO

Prerequisite 3: SICF Configuration Is Alerts

Completed by BASIS Team. ASMA


B2B
Make sure Services are registered in SICF by BASIS team.
Context Objects
Data Type Enhancements

Proxy Configuration Illustration Example. File Adapter


iDoc
As I cannot expose the actual system details, they are replaced in screen
iDoc_AAE
shots as follows,
iFlow
PI/PO System ID is POD. Java
Privacy & Cookies Mapping
Policy
https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 2/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

SAP back-end system ID is SAD. Mapping


Node Functions
The SAP Client we are trying to connect is 900.
NWDS

POD server URL is <host>. You access Process Orchestration homepage Proxy
via http://<host>:<port>/dir. Receiver Determination
RFC
SAP Business System name in SLD is SADCLNT900.
Service Registry
sFTP Adapter
Summary of Steps to Setup Proxy
SLD
Communication between SAP ECC SOAP

back-end and PI/PO UDF

1. Create HTTP Destination for Advanced Adapter Engine (AAE) in SAP


ABAP back-end system. – HTTP_POD
2. Create HTTP Destination to Enterprise Resource Repository (ESR) in
Get the latest tips
SAP ABAP back-end system. – SAP_SPROXY_ESR and tricks on SAP!
3. Setup HTTP RFC Destination to SLD. – SLD_POD
4. Configure Integration Engine Administration using Subscribe
transaction SXMB_ADM.
5. Configure SLDAPICUST.
6. Create HTTP Destination in PI/PO for Inbound Proxy processing.
Prerequisites: HTTP services are active in SICF.
7. Create Proxy Sender and Receiver Communication Channels in
PI/PO. Sender Channel: SOAP_Sender, Receiver Channel:
SOAP_Receiver.

Step 1 – Create Destination for Advanced


Adapter Engine (AAE) in SM59.
This destination of type G (HTTP Connection to External Server) is
directed to Advance Adapter Engine (AAE) of Process Integration (PI) or
Process Orchestration (PO).

You can name the destination HTTP_<PI/PO System ID>. Let’s assume
the System ID of the development server is POD. HTTP Destination
name will be HTTP_POD.

Parameters used for AAE HTTP destination.

Connection Type = G (HTTP Connection to External Server) Privacy & Cookies Policy
https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 3/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Target Host = <Host Name of AAE or AEX>


Port (Service No) = <HTTP Port Number of AAE or AEX host server>
: Default 50000

Port for HTTP is ‘5<system number>00’ and for HTTPS — ‘5<system


number>01’. Default port for J2EE server is ‘50000’.

Path Prefix= /XISOAPAdapter/MessageServlet?ximessage=true


Logon and Security.

HTTP RFC Destination to AAE or AEX of Process Orchestration

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 4/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Maintain PI/PO system username and password under ‘Basic


Authorization’ logon procedure.

Step 2 – Create HTTP Destination to


Enterprise Resource Repository (ESR).
This RFC destination is used by transaction SPROXY to import Enterprise
Repository objects and generate Proxy objects.  You can name the RFC
destination SAP_PROXY_ESR.

Parameters used for HTTP Connection to ESR.


Technical settings of this HTTP RFC destination are similar to HTTP
destination to ABAP back-end.

Connection Type = G (HTTP Connection to External Server)


Target Host = <Host Name of AAE or AEX>

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 5/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Port (Service No) = <HTTP Port Number of AAE or AEX host server>
: Default 50000
Path Prefix = /rep
Logon and Security = Same as HTTP destination to ABAP back-end
in Step 1.

HTTP Destination to ESR in SAP back-end system in sm59.

Step 3 – Setup HTTP RFC Destination to


System Landscape Directory (SLD).
Create another HTTP RFC Destination to SLD from sm59. We will reuse
this HTTP destination in Step 5 to setup SLD Access Data in SLDPICUST
transaction.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 6/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

HTTP RFC Destination to System Landscape Directory (SLD)

Step 4 – Configure Integration Engine Using


Transaction SXMB_ADM.
Go to SXMB_ADM and select the node ‘Integration Engine
Configuration’.

Select Integration Engine Configuration node of SXMB_ADM administrator

Then choose ‘Configuration’ option. Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 7/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Choose ‘Configuration’ option.

Add new entries to the configuration and define parameters ‘IS_URL‘,


‘HTTP_TIMEOUT‘ and ‘ENGINE_TYPE‘.

Add new entries to SXMB_ADM Integration Engine Configuration

Settings for IS_URL’, ‘HTTP_TIMEOUT’ and ‘ENGINE_TYPE’ parameters of


Integration Engine.

Destination name after characters dest:// is the RFC destination we


created in Step 1.

Step 5 – Setup SLD Access Data via


SLDAPICUST.
Go to transaction SLDAPICUST and add the SLD HTTP Destination
name as Alias Name SAP_CONFIG. Make sure to select the options
Access to SLD Server Using HTTP and Connect Using HTTP Destination.

These are the recommended settings. But you can directly configure
the SLD URL without HTTP destination also. Privacy & Cookies Policy
https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 8/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

SLDAPICUST Settings for alias SAP_CONFIG.

Step 6 – Create HTTP Destination in Net-


weaver Administrator (NWA).
In this step we will create an HTTP Destination to SAP back-end
integration server from PI/PO NWA.

Go to NWA > Configuration > Infrastructure > Destinations and create


HTTP destination to Netweaver Integration Engine.

NWA > Configuration > Infrastructure > Destinations

Create a new Destination using New Destination creation wizard.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 9/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Choose Create New Destination in NWA.

Usually, Destination Name is defined as <SAP System ID>CLNT<Client


Number>_HTTP. In this example, the destination name is
SADCLNT100_HTTP. Destination type is HTTP.

Configure Destination via Wizard.

In the next screen define the Connection and Transport details. URL,
System ID, Client and Language parameters are mandatory.

System ID is the SAP System ID (SAD in this example). And client is 900.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 10/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Connection and Transport detail. URL, System ID, Client and Language
parameters.

To find the URL, go to transaction SICF (SAP back-end) and choose


‘Execute’. Service tree will be displayed in the result. Expand the Service
tree’s Default host and navigate to
default_host > sap > iwbep or default_host > sap > xi > engine.

Next Step is to define the logon data. In this example I will use Basic
Authentication method with Username and Password.

HTTP destination Authentication Data.

This HTTP destination will be reused in SOAP Receiver Communication


Channel in step 7.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 11/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Step 7 – Create Sender and Receiver SOAP


(HTTP) Communication Channel.
Finally, create the Sender and Receiver Proxy Communication Channels
in SAP PI/PO under the SAP Business System.

SOAP Sender Communication Channel.

Proxy (SOAP) Sender Communication Channel Configuration

SOAP Receiver Communication Channel.

Proxy (SOAP) Receiver Communication Channel.

Use Address Type “HTTP Destination” and assign the HTTP Destination
name we created in Step 6.

How to Test Proxy Connectivity.


There are several ways to check if the Proxy settings are configured in
SAP back-end system and Process Orchestration system.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 12/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Check if RFC and HTTP Destinations Are


Working Fine.
Using transaction sm59 and Connection Test, check if the RFC
Destinations are functioning as expected. Repeat this step for all RFC
destinations we created in previous steps.

Test the RFC Destinations using transaction sm59.

Connection Test Successful with HTTP return code 200

Test SLD Status Using Transaction


SLDCHECK.
Execute Transaction SLDCHECK to make sure SLD configuration steps
were performed correctly. Choose Allow in the pop-up window.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 13/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Simply execute transaction SLDCHECK.

You should receive a positive response from SLDCHECK if necessary


configuration is correctly executed.

Test ESR Connection Using


SPROX_CHECK_IFR_RESPONSE.
Execute the program via transaction se38 to test the status of ESR
Connection.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 14/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Test ESR connectivity using program SPROX_CHECK_IFR_RESPONSE

ESR Connection Successful.

Check Proxy Objects via Transaction


SPROXY.
Check if SPROXY shows the Software Components (SWCVs) and Proxy
Objects included in the Namespaces.

Check if you can view the SWCVs from ESR in SPROXY transaction.

Test Communication Channels via Runtime


Monitor.
Go to Configuration Monitoring Home > Adapter Engine >
Communication Channel Monitor and ping the Sender and Receiver
Communication Channels.

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 15/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Ping Communication Channels via Adapter Monitor.

I hope you will set up connectivity between SAP PI/PO and SAP ABAP
back-end system easily with the help of this guide. If you have any
questions on the configuration steps or settings, please leave a
comment below.

Tags: HTTP, HTTP Destination, Proxy, RFC, RFC Destination,


SAP_SPROXY_ESR, SICF, SLD, SLD_UC, SLD_UNC, SLDAPICUST,
sm59, SOAP, SOAP Communication Channel, SOAP Receiver
Adapter, SOAP Sender Adapter, SPROX_CHECK_IFR_RESPONSE,
sproxy, SXMB_ADM, XI 3.0

Get the latest tips and tricks on SAP!

Subscribe

Related Posts

File to Inbound Proxy


Scenario SAP PI/PO
Single Stack

About Author
Isuru Fernando
Senior SAP Technical Consultant

5 Comments

Nagamalleswara Rao
Privacy & Cookies Policy
https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 16/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

It’s great document to help the newbies .Its wonderful and very clear
doc to configure the proxy settings.Moreover I requesting you to
expose one article regarding java mapping in a clear manner as you had
explained above article to the newbie
April 21, 2019 Reply

Isuru Fernando
Hello Rao,
Thank you! I have already written few articles on java mapping
in SAP PI.
1. How to edit and create java mapping using eclipse NWDS.
2. How to convert base64 using java mapping.
Check them out.
Cheers!
Isuru
April 22, 2019 Reply

Add a Comment
Comment:

Name:

Email Address:

Website:

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 17/18
6/27/2019 Complete Proxy Configuration Guide for SAP PI/PO and ECC - SAP Integration Hub

Save my name, email, and website in this browser for the next time I
comment.

Add Comment

  

SAP Integration Hub Copyright © 2019. Theme by MyThemeShop. Back to Top ↑

Privacy & Cookies Policy


https://sapintegrationhub.com/pi-po/proxy-pi-po/complete-proxy-configuration-guide-sap-pi-po-ecc/ 18/18

You might also like