SAP Hybris Commerce, SAP ERP

Product replication from SAP ERP to SAP Hybris Commerce

Replicate B2B product data from the SAP ERP to SAP Hybris Commerce using Application Link Enabling (ALE) and the IDOC Interface technology.

Step1: Creating a sample product (material master).

Go to TCODE MM01 used for the creation of material master record

which consists of few fields that contain the basic information on our material.

1. Enter Industry sector

2. Enter Material type.

We can click on Select View(s) to choose which views we need to create for the material

SAP Hybris Commerce, SAP ERP

Step 2: Select the Check Mark,You can see an option button on the screen below for selecting all views (rarely used in a productive environment).

SAP Hybris Commerce, SAP ERP

Step 3: Enter Organizational levels for the views we selected in the previous step.For example, those could be Plant, Storage Location, Sales Organization and Distribution Channel etc.

Click the Check Button.

SAP Hybris Commerce, SAP ERP

Step 4: It will create material, give the description,base unit of measure and material group.

Now click on save, material 2951 is created.

SAP Hybris Commerce, SAP ERP

Step 5: Settings for Product Master Data Replication in HMC.

In HMC go to SAP Integration -> SAP Global Configuration -> Product Replication

In the Product Settings for Data Hub section,right click in the Mapping Sales Areas To Catalogs table and choose “Create Mapping Sales Areas to Catalog”.

SAP Hybris Commerce, SAP ERP

Enter the following values:

Sales Organization 0001

Distribution Channel 01

Catalog Version ERP_CLASSIFICATION_300-ERP_IMPORT (Simple materials)

SAP Hybris Commerce, SAP ERP

Step 6: Check if the ”Start Upload” button is inactive. If the button is inactive you have to generate an instance of the SAPAdministration type first.

Go to HMC SAP Integration -> SAP Administration -> Data Hub tab.

SAP Hybris Commerce, SAP ERP

Step7: Go to HMC System -> Types section and search for the SAPAdministration type.

Click the identifier field,click on search.

SAP Hybris Commerce, SAP ERP

Step 8: Now double click on the SAPAdministration type and click on the “Create instance” button.

Click on save.

SAP Hybris Commerce, SAP ERP

now we can see the start upload is in active condition.after click on save button.

SAP Hybris Commerce, SAP ERP

Click on start upload button to transfer the SAP Global Configuration to Data Hub.

SAP Hybris Commerce, SAP ERP

Step 9: Go to ERP system and Display Distribution Model (transaction BD64), Click on edit mode, choose create model view.

SAP Hybris Commerce, SAP ERP

enter the following values:Short text=SAP ERP to hybris Technical name=HYB_PRO_KR Validity dates=Leave the default values.

SAP Hybris Commerce, SAP ERP

Step 10: We will define which systems we are communicating with, and what data (Message Type) we are sending or receiving from/to them.

SAP Hybris Commerce, SAP ERP

Click on SAVE button and now we will able to see the details we have created.

SAP Hybris Commerce, SAP ERP

Step 11: Replicate Initial Product Master Data from SAP ERP to hybris and Go to TCODE BD10 enter the following values to send the SAPHYB_PROD Material to hybris: Material=2951 Message type=MATMAS Logical system=HYBRIS_KR Send Material in Full=unchecked,click execute.

SAP Hybris Commerce, SAP ERP

Click on continue.

SAP Hybris Commerce, SAP ERP SAP Hybris Commerce, SAP ERP

Step 12: To check the IDOC status go to TCODE WE05/02.

SAP Hybris Commerce, SAP ERP

Step 13: Check the hybris Server log to see if the resulting Impex was successfully imported,Check the console that the type Base Product and Sales Product is successfully imported.

SAP Hybris Commerce, SAP ERP

Step 14: Go to the HMC in Catalog -> Products and then click on the Search button to see all the Base Products available. You should see the 2951 material(Product) as it was replicated from SAP ERP as a Base Product.

SAP Hybris Commerce, SAP ERP

Step 15: Double click on that product and change catalog version as ERP_CLASSIFICATION_300_ERP_IMPORT, Click on save.

SAP Hybris Commerce, SAP ERP

We completed product replication from SAP ERP to Hybirs system.

Leave a Reply

Your email address will not be published. Required fields are marked *