Skip to main content

SAP ERP to SAP Cloud Platform Integration via Webdispatcher

There are many Blogs which talks about SAP ABAP System (ERP/Hybris ..) direct connectivity to Cloud Platform Integration.  This blogs will help you out how to setup ERP connectivity with HANA Cloud Platform Integration using Webdispatcher.
We have the below 3 options to integrate.  All are supported by SAP.
ERP -> Cloud Platform Integration (Direct)
ERP -> Webdispatcher -> Cloud Platform Integration
ERP -> PI -> Webdispatcher -> Cloud Platform Integration
Due to security concerns you may not wish to open the outbound port from your SAP ABAP system. Though its an outbound connection with secure port 443.  We haven’t discuss why the outbound is not allowed / safe to open (You can refer network security guide for more information)
In this blog we will learn how to Integrate SAP ERP with Cloud Platform Integration using Webdispatcher
Traffic Flow : ERP -> Webdispatcher -> Cloud Platform Integration
Section 1: Outbound Call from SAP Webdispatcher to Cloud Platform Integration
We all know The SAP Web dispatcher lies between the Internet and your SAP system. It is the entry point for HTTP(s) requests into your system.
But most of us are not aware that Webdispatcher can acts an outbound connection from your ERP to outside world (let it be HANA Cloud Platform Integration, Facebook, Gmail, (Vendor Mgment Ariba, Pool 4 tool and any consuming webservice)
Section 1.1: Pre-requisite 
  1. The required addons are installed on your SAP ABAP system based on the Cloud Platform Integration solution (Example: Successfactor addons, & C4C addons)
  2. SAP Web-dispatcher is installed and available
  3. Port opening from SAP ABAP to Webdispatcher (http port: 9060)
  4. SAP Webdispatcher has an CA signed certificate (CA should be supported by Cloud Platform Integration) – Example: SAPSSLS.PSE
  5. Configure the SAP web-dispatcher with a free port (9060), which will listen from ABAP.to Webdispatcher – Refer the Section 1.3
Section 1.2 ABAP Side Settings (ABAP to Webdispatcher Connectivity)
You have two options to connect
  1. RFC connectivity (SM59) : The program calls the created RFC
  2. SOAMANAGER Services : Creating the logical port which the program calls.
In both cases the config remains same.  You would be calling the webdispatcher instead of the Cloud Platform Integration iflow link
Create an SM59 type H connection
Target Host : Webdispatcher hostname (Instead of Cloud Platform Integration tenant :XXXXx-tmn.hci.eu1.hana.ondemand.com)
Target Port : Webdispatcher port (9066) (Instead of Cloud Platform Integration port :443)
Path Prefix : Cloud Platform Integration iflow path of the service you are calling (/cxf/……)
Note:
  1. You dont need any certificate to be imported to ABAP system in strust if you are using HTTP Port)
Section 1.3 : Webdispatcher Configuration
Steps Involved
  1. IP/Port opening from Webdispatcher to your Cloud Platform Integration tenant over 443 (Network Team)
  2. Configuration of SAP Webdispatcher profile
  3. Importing Cloud Platform Integration Certficate in SAP Webdispatcher & Configurring CA signed SAP webdispatcher Client Certificate
  4. Import the SAP Webdispatcher CA signed client certificate in to Cloud Platform Integration iflow

1) IP/Port opening from Webdispatcher to your Cloud Platform Integration tenant over 443
Contact your Network Team

2) Configuration of SAP webdispatcher Profile
Goto the below folder and create an text file like profile_HCI_TT1 (you can choose any name)

content of the file <profile_HCI_TT1> SetHeader Host <tenand url>
Edit the SAP Webdispatcher profile
icm/HTTP/mod_0 = PREFIX=/,FILE=E:\usr\sap\ADQ\SYS\profile\profile_HCI_TT1.txt (This will allow the webdispatcher to read the above file
wdisp/system_0 = SID=TT1, EXTSRV=https://XXXX-iflmap.hcisbp.eu1.hana.ondemand.com, SRCURL=/cxf/, SSL_ENCRYPT=2
wdisp/system_1 = SID=ERP, MSHOST=ERP_ABAP SYSTEM, MSPORT=8101, SSL_ENCRYPT=0, SRCURL= /, SRCSRV=*:9066
The above two parameters will accept the connection from ABAP system over 9066 and forwards it to TT1 SID.  We have set TT1 to  the host of Cloud Platform Integration it will forwards to HANA Cloud Platform Integration Cloud
wdisp/system_conflict_resolution = 1  (This will parameter will resolve the conflicts related to SIDs)

3) Importing Cloud Platform Integration Certficate in SAP Webdispatcher & Configuring CA signed SAP webdispatcher Client Certificate
3.1) Most of the customer will have CA signed server certificate (SAPSSLS.pse) But they wont be having an CA signed client certificate.  But SAP Cloud Platform Integration only accepts CA signed calls from Client.  We have two options
  1. Purchase a CA signed Client certificate for SAP Webdispatcher
  2. Work around yet supported by SAP -> Copy the SAPSSLS.pse to SAPSSLC.pse
SAPSSLC.pse looks like below
3.2) Login to your tenant link and download the certificate as below.  Make sure you download all the certificate include (root and intermediate).
Import the certificate in to your SAP webdispatcher http://<webdispatcher>:<port>/sap/wdisp/admin
Tab: PSE Management -> Under SAPSSLC.pse

Restart your Webdispatcher.

4) Import the SAP Webdispatcher CA signed client certificate in to Cloud Platform Integration Iflow 
change the authentication from user based to client certificate and import the SAP Webdispatcher CA signed client certificate in to each iflow.

Test your connection from SM59 -> Test connection  -> Result
Status HTTP Reponse : 500 is successfull
Note: Cloud Platform Integration doesn’t support ping operation and you will get message like below
An internal error occurred. For error details check MPL ID AFlk1QZuxZMx5Uve3JZ36zUjGH4p in message monitoring or use the URL https://XXX-tmn.hci.eu1.hana.ondemand.com:443/itspaces/#/shell/monitoring/MessageDetails/%7B%22messageGuid%22%3A%22AFlk1QZuxZMx5Uve3JZ36zUjGH4p%22%7D to directly access the error information

But when you execute the program which call the RFC connection the connection will be successfull.

Note: SAP recommends to use direct connectivity from ERP -> Cloud Platform Integration.  However they also support / recommend using webdispatcher / PI

Error you might faced during the above configuration.  The below are the areas to check
  1. Make sure all relevant ports are opened
  2. Certificate Import and Validity (Webdispatcher / Cloud Platform Integration Tenant LInk)
  3. ABAP to Webdispatcher connectivity / Port opening)
  4. Make sure the program is able to call RFC connection / SOA manager logical port
Troubleshooting
  1. Activate smicm trace to 3
  2. Activate webdispatcher trace to 3
  3. Rerun the program
Benefits: 
  1. You are not exposing your productive landscape.
  2. No need to purchase multiple CA signed client certificate for each landscape involved in integration (You can buy 1 CA signed client SAP webdispatcher certfiicate and all your backend system use the same webdispatcher to connect your Cloud Platform Integration)
Note: We are not covering the issues coming from Cloud Platform Integration -> (Successfactor cloud, C4C Cloud, etc)

Comments


  1. Well done! Thank you so much for sharing this with us, this is too much helpful for me to understand ERP integration. Keep sharing this type of valuable stuff for us.

    ReplyDelete
  2. Super wpis. Pozdrawiam i czekam na więcej.

    ReplyDelete
  3. Nice article. This article is very helpful for me . If you want to change your text into different fonts then visit our website https://www.savetube.cc/instagram-font-generator.

    ReplyDelete
  4. Hey
    Wow, Thanks for sharing.
    We have similar type of services on erp providers in hyderabad.

    ReplyDelete
  5. Thank you for sharing this informative information with us. Its very helpful. ERP Software for Import Export

    ReplyDelete
  6. Bardzo fajny artykuł. Jestem pod wrażeniem.

    ReplyDelete
  7. Thanks for sharing this informative information with us. ERP for Import Export

    ReplyDelete
  8. Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download Now

    >>>>> Download Full

    Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download LINK

    >>>>> Download Now

    Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download Full

    >>>>> Download LINK Jm

    ReplyDelete
  9. Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download Now

    >>>>> Download Full

    Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download LINK

    >>>>> Download Now

    Sap Erp To Sap Cloud Platform Integration Via Webdispatcher >>>>> Download Full

    >>>>> Download LINK dC

    ReplyDelete

Post a Comment

Popular posts from this blog

SAP ST-PI and ST-A/PI Patch Update Steps

SAP ST-PI and ST-A/PI patch update Summary :- This document will show you how to update the ST-/PI and ST-A/PI in SAP with help of service preparation check RTCCTOOL . Author: Brindavan Mookaiah Designation : SAP BASIS Consultant Tabls of content 1) EWA report 2) Run RTCCTOOL 3) Implement the ST-A/PI and ST-PI Step 1) Check the EWA report about the ST-PI and ST-A/PI patch to update. SAP will recommend upgrading the new version based on SAP Application. Steps 2) Once if you able to see that the ST-A/PI & ST-PI  need to update and SAP recommeded. Then login into SAP and go to T-code SE38 and then execute program  ‘RTCCTOOL ‘. Download the latest ST-PI and ST-A/PI from service market place http://www.service.sap.com Once you downloaded  the required file(ST-PI& ST-A/PI) from market place and copy the file into the server. Mostly this file will be SAR file. Login in to OS level with SIDadm and extract the file using SAPCAR. ,After  th

How to export RFC destinations prior Refresh

The best and easiest way... Goto SE01, create transport request (Transport of Copies) R3TR TABU RFCATTRIB * R3TR TABU RFCDES * R3TR TABU RFCDOC * R3TR TABU RFCSYSACL * If you take only RFCDES you will be missing the Documentation part of RFCs in order to take everything you need to have export of all the above mentioned tables.

SAPROUTER Installation

his blog intends to support all consultants who work with SAP ROUTER setup and maintenance. Introduction: The step by step configuration procedure is to install SAP ROUTER on Windows platform (The same procedure can be used in Unix environment) Importantly, if the system is in Domain, perform entire operation with domain admin user only. Not with local admin. Configurations steps: OSS message to SAP: Raise an OSS message to SAP for component XX-SER-NET-NEW with following information. “Request you to please register our Public IP & Host Name for SNC connection for SAP Router <saprouter box hostname> Details: Public ip:<public of your saprouter server> Hostname:<hostname of your saprouter server> Please contact <name> and <number > for more information on this“ Response from SAP would be: Dear customer, We’ve registered your data for the SNC connection to SAP Support. Please do the following: – Go to the http://service.sap.com/s