5. SAP Partner profile definition idocs

5. SAP Partner profile definition idocs

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.

  1. Partner NO.-   Type the ID to the target system: ECOMMERCE.
  2. Partner Type. – Type the LS type that corresponds to Logical System.
  3. Ty. –Type US which corresponds to an SAP User ID.
  4. Agent. – Fill in with the SAP user ID being used.
  5. Lang. Fill in the initials for the current language: EN for English, or ES for Spanish.


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.




    • Related Articles

    • 4. Port definition for iDoc processing in SAP

      Along with the previous two sections of Logical Distribution Model and RFC Destination Definition, a recipient port must be configured for iDOC processing. iDOCs are standardized documents like EDI (Electronic Data Interchange) documents that SAP ...
    • 2. Logical system definition in SAP

      ALE ensures a distributed but integrated SAP installation. To implement the distribution of business application processes, one needs to build a complete Logical Distribution Model of the system. Within the framework of this configuration, it is ...
    • 9. Setting up the iDOC to confirm zQuote creation

      For the E-Commerce portal to find out about the quote number created in SAP, a new custom message called ZQEC needs to be included. An SAP configuration for this new message type "ZQEC" to be activated and generated at the same time a QT quote is ...
    • 15. Complete SAP Object List Specification

      In the previous sections of this systems integration series, iDOCs were already defined in a more non-limiting explanatory manner. This article defines the lists of messages, programs, functions, web services, and in general all improvements to the ...
    • 3. Defining the RFC Destination in SAP

      For the e-commerce system to be able to write data in SAP, the RFC destination must be defined. This is a proprietary SAP interface for communications between SAP systems and external programs, such as ONIBEX's E-Commerce system. That is, data ...