You are on page 1of 19

Unicode Conversion using ABAP code Rajiv Pandey 04 October 2011 SAP Global Delivery

SAP Problems and resolutions Solutions for Cross-Industry Name/ Industry Solution Name (optional)/

2Problems and resolutions v1.0

Document Details Name Proxy Configuration for PI 7.3 Java only

Objective Used for reference

Audience All Users

Version 1.0

Description Proxy configuration for PI and Backend SAP system for PI7.3 Java only installation

Change Log Version 1.0

Date Aug 16, 2011

Author Satish Chauhan

Description

Approved By

For any info on this document please contact: Name Email ID Satish Chauhan s.chauhan@sap.com

Contact No Extn: 2056

2008 by SAP AG. All rights reserved. SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

Problems and resolutions v1.03

CONTENT PURPOSE..............................................................................................................................................4 PROBLEM..............................................................................................................................................5 SITUATIONS APPLICABLE...........................................................................................................................5 RESOLUTION..........................................................................................................................................5 STEPS TO BE FOLLOWED IN PI SYSTEM........................................................................................................5 STEPS TO BE FOLLOWED IN PI SYSTEM......................................................................................................10

SAP Global Delivery 2008

4Problems and resolutions v1.0

Purpose The purpose of this document to highlight new changes and steps required to configure proxy communication between SAP PI 7.3 (Java only installation) and backend SAP systems like ECC, CRM etc. In case of PI7.3 dual stack implementation the proxy configuration will remain same as of PI earlier versions.

Problems and resolutions v1.05

Problem PI7.3 is coming with 2 installation options- Java only installation and Dual stack (ABAP + Java) installation. In Java only installation i.e AEX we do not have ABAP stack on PI system hence the configuration changes are required in PI as well as Backend systems to enable proxy communication between systems. Situations Applicable The steps described in this document is only applicable when you have PI7.3 java only installation.

Resolution

Steps to be followed in PI system

1. Go to PI NWA using Http://<Hostname>:port/nwa 2. Go to Configuration->JCo RFC Provider

SAP Global Delivery 2008

6Problems and resolutions v1.0

Problems and resolutions v1.07

3. Create 2 RFC JCO providers

SAPSLDAPI_<PI SID> LCRSAPRFC_<PI SID>

SAPSLDAPI_PEX Note the Application Server host and Gateway Service. Here Application system is used to register the program id SAPSLDAPI_PEX. Reason: In Dual stack we generally give PI ABAP stack details, however for Java only installation we need any ABAP stack details to register the Program ID.

SAP Global Delivery 2008

8Problems and resolutions v1.0

Perform the similar steps for LCRSAPRFC_PEX

Problems and resolutions v1.09

SAP Global Delivery 2008

10Problems and resolutions v1.0

Steps to be followed in PI system

a) Create 3 RFC destinations (SM59) SAPSLDAPI (Application system to SLD connection) LCRSAPRFC (Application system to Exchange profile connection) SAP_PROXY_ESR (Application system to ESR connection)

b) Configure SLDAPICUST and test connections through TA: SLD Check c) Test SPROXY transaction d) Configure SXMB_ADM transaction for runtime proxy message exchange
a) Create RFC destinations - Create RFC destination SAPSLDAPI through SM59 of type T (Start External Program Using TCP/IP)

Problems and resolutions v1.011

The gateway Host and service are blank as in PI NWA (JCo RFC) we have registered the program ID in same application system gateway. Note: In dual stack generally we give SAP PI ABAP stack details, same details we used while creating JCo RFC Provider.

SAP Global Delivery 2008

12Problems and resolutions v1.0

Create RFC destination LCRSAPRFCI through SM59 of type T (Start External Program Using TCP/IP)

Note: In dual stack generally we give SAP PI ABAP stack details, same details we used while creating JCo RFC Provider.

Create RFC destination SAP_PROXY_ESR through SM59 of type G (HTTP Connection to External Serv) Target Host: PI host name Port: Http port (50XX00) where X X- System number

Problems and resolutions v1.013

Long Details: with PIAPPL<SID> user authorizations

Note : In case we have more application system connected to PI using SPROXY than we need to create above RFC destinations in another application system and will pass Gateway host and Gateway service as provided in JCo RFC provider.

SAP Global Delivery 2008

14Problems and resolutions v1.0

b) Configure SLDAPICUST and test connections through TA: SLD Check


The user should have SAP_SLD_CONFIGURATOR role. Generally we use SLD_CL_<SID> user.

Transaction SLDCHECK

Problems and resolutions v1.015

a) Test proxy connection with ESR for transaction: SPROXY

SAP Global Delivery 2008

16Problems and resolutions v1.0

b) Configure SXMB_ADM transaction for runtime proxy message exchange


Create RFC destination <any name> of type G (HTTP Connections to External Server) Target Host: PI host name Port: Http port (50XX00) where XX- System number

Problems and resolutions v1.017

Path Prefix: /XISOAPAdapter/MessageServlet?ximessage=true Long Details:

Go to Transaction: SXMB_ADM->Integration Engine configuration

SAP Global Delivery 2008

18Problems and resolutions v1.0

Edit->Change Global Configuration Data and enter the RFC destination in Corresponding Integration server for the application system.

Problems and resolutions v1.019

Note: For dual stack we generally give ABAP stack RFC destination, since we want to use ICO object we need to connection using SOAP adapter hence the path prefic used for RFC destination is ( /XISOAPAdapter/MessageServlet?ximessage=true)

SAP Global Delivery 2008