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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Click on continue button.

Step 2:

Fill the address tab details.
Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Step 5:

Click on Billing documents tab and enter tax details.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Step 6:

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Enter the person details and click on the Business address.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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”.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

⦁ 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.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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:

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Enter the details.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Click on execute button.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Step 11:

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Step 12:

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Click on execute button.

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Step 13:

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

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

Replicating Customer and Contact Person From SAP ERP To SAP Hybris Commerce

Note:

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:

SAP HYBRIS Commerce SAP ERP
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 SAP.com

Very Helpfull

User Rating: Be the first one !