Sunteți pe pagina 1din 18

11/6/2017 SAP Integration:System Configurations | SAP Blogs

Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner

About
About


Home / Community / Blogs + Actions

SAP Integration:System Configurations


March 24, 2017 | 1,363 Views |

Sreenu Reddy Yarramachu


more by this author

SAP Hybris Commerce


sap integration | synchronous and asynchronous

share share tweet share

Follow

Setting up connections from SAP ERP to SAP Hybris and vice versa. SAP
integrations provide a framework for connecting the Omni-commerce

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 1/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

capabilities of SAP Hybris Commerce with other SAP products.

According to Hybris, there are 3 possible scenarios of HYBRIS-SAP


integration.
1. Asynchronous
2. Synchronous and
3. Hybrid

Asynchronous Integration is through asynchronous communication(IDocs).


This method often preferred in B2C and simple B2B scenarios using price
lists.
Synchronous Integration is through synchronous communication (RFC).
Usually preferred for complex B2B scenarios as well as with clients who
heavily invested in backends
Hybrid Integration is through both asynchronous communication(IDocs) and
synchronous communication (RFC). Customer interaction happens through
Hybris with synchronous calls to SAP ERP.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 2/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

As you can see, many data point integrations can be either synchronous or
asynchronous. These decisions impact everything about our commerce
system, from application performance and scalability to customer satisfaction
and functionality, so it must be a strategic decision thats agreed to across all
affected parts of the organization.

Data Point Synchronous Asynchronous

Product Data X

Pricing Data X X

Inventory (Stock) X X

Customer Data X

Order Status Data X X

Order Submission X X

Leveraging real-time, or synchronous, connections require the SAP ERP


system to remain responsive to customers at any time they would need
access, including nights and weekends, which are typically prime maintenance
windows, as well as be able to handle the load caused by exposing ERP data
and capabilities to customers.

Data Hub is Hybris preferred approach to asynchronously transfer data from


one system into another. To simplify the integration between SAP and
Hybris, Hybris has built pre-integrated connectors, allowing the data to
flow from SAP directly through the Data Hub and into Hybris. These
connectors ease the integration between the systems, specifically for Product
Master Data and Customer Master Data. The Data Hub leverages the SAP
standard IDOC format to transfer data from SAP into Hybris.

Follow the below step by step procedure for setting up system configurations.

Step 1:
RFC Destination is one of the ways to connect from an ABAP system to an
external system.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 3/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

RFC Destination is defined using the t-code: SM59. Here we are using HTTP
connection to the external server (type G) to establish a connection from SAP
ERP to SAP Hybris system(for SAP ERP IDoc outbound messages).

Enter the following details and click on Connection test.

Here status 200 shows the connection from SAP ERP to SAP Hybris is
successful.

Step 2:
Create an HTTP Connection in SAP ERP for the flow from Hybris DataHub to

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 4/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

SAP ERP (for SAP ERP IDoc inbound messages).


Enter the following details and click on Connection test.

Step 3:
Ports in IDoc Processing. which specifies the way in which the IDocs are
transferred from sender to receiver system.

Port is defined using the t-code: WE21. Go to Ports in IDoc processing select
the XML HTTP folder in the Ports column and create a Port in SAP ERP for
the flow of data from SAP ERP to SAP Hybris.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 5/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Enter the following details and click on save.

Step 4:

Go to Ports (t-code: WE21) in IDoc processing select the XML HTTP folder in
the Ports column and create a Port in SAP ERP for the flow of data from SAP
ERP to SAP Hybris.

Step 5:

A logical system is used to identify an individual client in a system, for ALE


communication between SAP systems. Create a Logical System in SAP ERP.

Go to tcode SALE, choose IDoc Interface / Application Link Enabling (ALE)->


Basic Settings -> Logical Systems -> Define Logical System.Click on New
Entries tab.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 6/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 6:

Partner Profile is the very important configuration for establishing


communication settings between 2 business partners. With whom we are
exchanging information, their details maintained in Partner Profile (Partner
Number, Partner Type, Partner Function, Message Type, Process Code and
Reciever port)

Go to t-code WE20, Select partner type LS(logical system) and enter the
below details.

To create outbound parameters, click on create new outbound parameters


and we will enter different message types we need one by one. Click on save
and back button.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 7/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

To create inbound parameters, click on create new inbound parameters and


enter different message type we need and Click on save button.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 8/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Finally, It will be as follows once we click on the back button.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 9/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 7:

Create an HTTP Destination in Hybris Management Console (HMC) for the


flow from SAP Hybris to SAP ERP (for SAP ERP IDoc inbound messages).

URL: http://xyz.net:8001/sap/bc/srt/idoc?sap-client=800

Give Basic Authentication details (user id and password) and click on save.

Step 8:

Create a SAP Global configurations.Go to HMC->SAP Integration->SAP


Global configurations->Back-End Connectivity.

Enter the above-created HTTP destination and click on Save.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 10/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 9:

Create an RFC Destination in HMC, for the flow from Hybris DataHub to SAP
ERP, required for Synchronous Pricing retrieval.Go to HMC->SAP Integration-
>RFC Destination>

Enter the below details and click on Logon tab.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 11/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Give Basic Authentication details (user id and password) and click on save.

Now click on Ping Destination.We will get a pop-up screen with Connection is
successful.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 12/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 10:

Create a SAP Base Store Configuration , assigned above RFC


destination.Go to HMC -> SAP Integration -> SAP Base Store Configuration
> Create SAP Base Store Configuration.

Click RFC Destination search option, it opens the popup with the list of RFC,
we need to select one (click on use).and then click on save.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 13/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 11:

Synchronize Common Data between SAP ERP and SAP Hybris.In SAP ERP,
Go to SE38 t-code.
ZCUSTOMIZING_AS_IMPEX_VER6_1, it is reference by installing SAP note
1983231. We need to execute the file and show the path where the file need
to download and select the multiple languages (EN & DE).

Customizing.impex file will be automatically downloaded to the path specified


once we click on execute button.

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 14/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Step 12:

Go to HMC->user->titles and delete all the titles.

Step 13:

Go to Hybris Administration Console(HAC) -> Impex Import -> click on import


file

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 15/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Once the Impex import successfully then titles (HMC->user->titles) will come
based on the Impex file which we are uploading.

Thanks for reading

Alert Moderator

2 Comments
https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 16/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

You must be Logged on to comment or reply to a post.

Gerhard Senft

October 31, 2017 at 1:13 pm

Hello,

unfortunately, i dont have the SAP option in hmc or backoffice. What can i do?

Best regards,

Sreenu Reddy Yarramachu Post author

November 4, 2017 at 11:13 am

Hi,

Could you please check the Hybris Suite which you are using, contain SAP folder or
not in the below path.

Hybrsis->bin->ext-integration

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 17/18
11/6/2017 SAP Integration:System Configurations | SAP Blogs

Check in your local.extension file (hybris->config->local.extension) contains SAP


related extensions are not

Thanks,

Sreenivasula Reddy Y.

Share & Follow


Privacy Terms of Use Legal Disclosure Copyright Trademark Sitemap Newsletter

https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/ 18/18

S-ar putea să vă placă și