Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce: Replicate B2B customers and contact persons from the SAP ERP to SAP Hybris Commerce using Application Link Enabling (ALE) and the IDoc Interface technology.

Before following below steps please check whether SAP Integration system configurations are done.

Step 1:

Create a new customer in XD01 t-code and Enter the below details:

⦁ In the Account group field, select the “Treasury customer” value. It must be a “Sold-to-party”             account type.
⦁ In the Customer field, enter a value that was not used before, like 80013(for example).
⦁ Company code will be 0001 for SAP AG
⦁ Sales organization will be 0001
⦁ Distribution channel will be 01                    and
⦁ Division we have to select 01 for pumps

2017 03 23 15 00 43 Customer Create  Initial Screen 5433736

Click on continue button.

Step 2:

Fill the address tab details.

Step 3:

Click company code data it will take to the Account Management tab. Here Just fill “Recon.account” filed only and click on save button.

2017 03 23 15 09 23 Reconciliation Acct 1 22 Entries Found 6530522

Step 4:

It will take to sales area data..else click on sales area data. Enter sales district, price group and customer price process in sales tab then click on save button.

Step 5:

Click on Billing documents tab and enter tax details.

2017 03 23 15 15 05 Tax Classification For Customer 1 2 Entries Found 8020177

Step 6:

Create a Contact Person for the above Customer.Click on general data and in that contact person tab.

Enter the name, details, and details andTelephone1 and double click on the name. A new screen will appear.

2017 03 23 15 54 03 Customer Change  Contact Person Details 1409771

Enter the person details and click on the Business address.

Enter contact person business address and click on continue and then save button.

Step 7:

Now Set the CP (Contact Person) Partner Function for the newly created Customer. Click on sales area data, Partner Functions tab add a new field in partner function.

2017 03 23 16 04 20 Restrict Value Range 1 31 Entries Found 3758600

Click on continue and then save button to save new partner function.

Step 8:

Go to BD64 t-Code to create Distribution Model. Switch to “Edit Mode”.

2017 03 23 16 10 42 Display Distribution Model 5540904

⦁ Click on “Create Model View” to create a new Distribution Model.
⦁ Enter in the Short text field: “SAP ERP TO HYBRIS CUSTOMERS”
⦁ Enter in the Technical name field: “HY_CUST_SY”
Save the model.

Step 9:

Go to Customizing for IDoc Interface / Application Link Enabling (ALE) (transaction SALE).

You can enhance the distribution model under Modelling and Implementing Business Processes -> Configure Predefined ALE Business Processes -> Logistics -> Master Data Distribution.Choose Proposal for distribution model:

2017 03 23 16 21 00 Display Img 2346383

Enter the details.

Click on execute button.

2017 03 23 16 30 11 Generate Distribution Model For Customer Vendor And Relevant Addresses 6157514

Step 10:

Now go to Maintenance of Distribution model (t-code BD64), choose Edit mode and open your distribution model. Click SAP ERP to Hybris Customers Distribution Model.

Step 11:

Data Replication Framework (transaction DRFIMG) and choose Data Replication -> Define Custom Settings for Data Replication -> Define Technical Settings for Business Systems.

2017 03 23 16 53 37 Display Img 4775294

Click on new entries and enter the data for new Business System.

Now double click on “Define Bus, systems..” and click on new entries then select supplier and customer.

2017 03 23 16 57 44 Change View  Define Bus. Systems Bos   Overview 3180030

Now by selecting customer/supplier click on Define Bus system. Enter the details and click on save button.

Step 12:

Go to transaction BD12 to send Customers, and enter the following values.

2017 03 23 17 00 53 Send Customers 5363681

Click on execute button.

2017 03 24 17 24 05 7461260

Step 13:

Now at HMC->B2B COMMERCE->B2B unit.Here we will observe the replicated Customer.

Go to B2B Commerce->B2B Customer >Here we will see the contact person.

2017 03 24 18 23 01 Sap Integration Wordpad 4987525


Understanding how data is mapped for customers, contact persons, and related sales-area-dependent information can help us understand how replicated data is organized in the receiving system.

The following table shows the mapping of entities between systems:

B2B Unit Customer
B2B Customer Contact person
Address type-Ship To Ship-to party partner function
Address type-Bill To Bill-to party partner function

Thanks for reading ????

New NetWeaver Information at

Very Helpfull



User Rating: Be the first one !