To proceed with this part of the configuration, the logical system definition in SAP and port definition for iDoc processing in SAP must have been previously defined since next steps are configuring the different types of messages as shown in Figure-13.
The first partition made to the messages to be created is related to its Inbound or Outbound type. In addition, which type of information is queried should be considered: 1) Master data, or 2) Transactional data, such as document flows. In case of master data, it is not necessary to configure the message type part as shown in Figures 18 through 21. But for document flows such as SALES ORDERS, DELIVERIES, INVOICES, a message type that makes sense with the application area must be configured: V1  for INQUIRIES or SALES ORDERS; V2  for documents related to Dispatch activities such as DELIVERIES, PICKING LIST; or, V3  for documents involved with billing, such as INVOICES, CREDIT MEMO REQUEST, OR CREDIT MEMO.
When entering the WE20 Partner Profiles Transaction, this screen will be displayed:
Figure-13   WE20 T-Code Initial Screen: "Creation of Partner Profiles".
 
The next step in creating a first message is to go to the folder called “Partner Type LS LOGICAL SYSTEM” and, place the cursor on that option, then click the white sheet icon to generate a new entry. The following data is fill in the fields for the new entry in Figure-14:
Figure-14 Partner Profile Configurations for the Logical System.
Note: It is very important that within the Classification tab, the Patner Status field has the letter "A" (Active), otherwise, there may be problems when receiving iDOCs.
Figure-15 WE20 T-Code to activate the Partner Profile.
To start adding messages, we need to consider the parameters that are defined in the table in Figure-16:
Figure-16 Agreement messages in SAP for an LS logical system with the ECOMMERCE partner that are configured through the WE20, BD64, and NACE transactions, if applicable.
These are the main messages that are exchanged through iDOCs documents. As per the table  in Figure-16, each message type has its own configuration parameters, even when filling the same sections in the same SAP formats, as it is the same "Partner profile", "Distribution model" and "Condition Record", among others.
In the following subsections, we will see how to add each message from Figure-16. As well as how to configure the corresponding formats in SAP for integration to the e-commerce system through iDOCs.
Another section will describe other type of communication between SAP and the E-Commerce portal, this through Web Services. Web Services are used by activating the Internet Communication Framework (ICF) Service for two tasks: 1) Inventory and Pricing, and 2) ensuring that iDOCs are created and executed immediately.
Finally, a complete list summarizes SAP Objects used to integrate processes and with the E-Commerce system.