As per table in Figure 16, DEBMAS iDOCs contain the customers’ master data. Initially, this iDOC is also configured within transaction WE20, Partner Profiles, by adding a new message type as illustrated in Figure-31.
Figure-31    Adding the Message Type DEBMAS for Partner Type LS Logical System
To add this message just press the   icon, and a screen like the one in Figure-32 appears.
On the screen from Figure-32, add the message type DEBMAS and add ECOMMERCE as Receiver port; for the field Basic type, type DEBMAS05.
Figure-32 Creating the iDOC for Customer Master through transaction WE20.
The other screens in this iDOC should remain empty.
Following the standard procedure, go to transaction BD6 and place an entry in the Distribution Model; in this section, one might or might not consider setting up some filters for customers that will be uploaded to the E-Commerce portal database:
 
Figure-33 Entry in transaction BD64 for the Distribution Model
In order to process the customers and send them to the target system, enter transaction BD12 as shown in the following figure:
Figure-34 BD12 transaction screen for customer information routing to the target Ecommerce system.
Once the information is sent, enter WE02 transaction to verify if messages were processed, as shown in Figure-35.
Figure-35 WE02 transaction screen where one can find out if the iDOCs were successfully processed.
If any message is marked yellow, go to transaction BD87 in order to reprocess the iDOC. Below is the screen for such transaction:
Figure-36 Transaction selection screen BD87 for processing iDOCs in yellow.