Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
shailesh_mane
Participant
0 Kudos

Now that we have created the Integration Scenario (as described in B2B Configuration (Part I) - Creating an "Integration Scenario" of the weblog) we are ready to create the configuration in the Integration Repository. So the next step is to first login to the Integration Repository.

  1. Create Parties, Communication Channels and Business System Service: Before we can use the automated tool for generating the configuration, we have to create parties for the Buyer and Seller in XI and also create the necessary communication channels. Let us first create the following parties:

    1. Parties
      • Party Buyer_R3 for the Buyer who has the R/3 backend system.
      • Party Seller for the Seller party.
      The figure below shows the Buyer_R3 party that is created.

    2. Communication Channels
      • A Communication Channel needs to be setup in order to be able to send messages to external parties. The type of the channel may vary according to the partners and also depending on the Industry Standard being used for communication. Thus I cannot cover the communication channel setup in detail here in this weblog.
      • Many Industry Standards provide guidelines for setting up Communication Channel templates. If such a template has been defined then it could be defined in the Integration Scenario definition in the Integration Repository. The channel template could then be used by the automatic configuration tool to generate a basic communication channel.
      • There is no need for setting up a communication channel in order to send messages from an SAP system to SAP XI. Note: However, in case your scenario is sending messages from SAP XI to a SAP backend system then an appropriate communication channel is needed e.g. IDoc channel, RFC channel etc.
    3. For my scenario I am using File Adapter to receive the messages. Thus I created a communication channel File Receiver which will receive my XML messages in a folder on the server where the File Adapter is running.
    4. Business System Service
      • Business Service needs to be created for your backend system. E.g. For my backend system QW8 client 100 I have a Business System Service created QW8_100.
      The figure below shows the Business services for the parties and the communication channels. The Business Services do not exist yet and we will be creating them. However, the communication channels should exists, and during the configuration we will create the association between the Business Service (for the corresponding Parties) and the Communication Channels.

  2. The next step is to use the automated tool to create the configuration. Execute the automated tool using the menu path: Tools -> Transfer Integration Scenario from Integration Repository as shown below.

  3. Select the Integration Scenario that you had created in the Integration Repository. The Integration Scenario Configurator window displays your Integration Scenario. Now we have to assign the corresponding parties and the communication channels in order to generate the configuration. Let us start by assigning the parties.

  4. Services for Buyer: Double click on the Buyer R/3 in order to display the Assign Services to Application Component popup window. As we can see from the tabs on this popup window, we have to create :
    • Business System Services for A2A, and
    • Business Services for B2B.
    Create Business System Service for A2A: By selecting the Create button you could create the Business System Service for A2A service for the party Buyer_R3 and the backend Business System (in my case QW8_100). Please note that if such a service already exists then you could just reuse the service. The figure below shows the sample values on the A2A tab.



    Create Business Service for B2B: By selecting the Create button you could create the Business Service for B2B service for the party Buyer_R3 the Service as Buyer_Service and the corresponding Business System as defined in the A2A tab. Please note that if such a service already exists then you could just reuse the service. The figure below shows the sample values for the B2B tab

  5. Services for the Seller: Similarly create the Business Service for the Seller. Note that the seller only has Business Service for B2B. The figure below shows the sample values.

  6. Next step is to add the Communication Channel. Double-click on Configure Connections or on the line connecting the two actions. Here you need to assign the communication channel that will be used to send the message to the partner. For my scenario I am using File Adapter.

    image
  7. The final step in the automated tool is the Generate step. You could generate the configuration in the Generation Simulation mode if you want to see if any possible errors that may arise during actual generation. If everything seems ok in the simulation mode then you could proceed with the Generation mode in order to generate the configuration.

  8. You are now done with the Configuration. Review the generated configuration and Activate your changes. You can now send messages from the R/3 backend to your partners. A simple way to test the scenario is as below:
    • Send the IDoc from the backend system (using transaction WE19) to SAP XI.
    • In XI you could use the monitoring transaction (SXMB_MONI) to see if any errors occurred in routing the message or during mapping.
    • If everything is ok in XI then you could then verify if the message was sent successfully sent to your partner. For my case since I am using File Adapter as my partner system and thus I can check in the receiving folder if the XML payload is received.
I hope this weblog has successfully shown how simple it is to use the automated tool to generate a B2B Configuration. This tool becomes more valuable when generating a complex configuration spanning multiple systems.


3 Comments