Skip to Content
After repeated requests from XI beginners asking for a step by step procedure on HTTP to RFC scenario without using BPM, I found that most of the replies were referred to Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi which is bit advanced for starters. This had lead to a difficulty in them implementing such a scenario and keep on posting the same question again and again in our forum. So I came up with this small and simple blog which will show case the scenario. Here you go ……

Let’s assume that a Business System for R/3 is already active in SLD.

1. Create Data Types

image

image

2. Create Message Types

image

image

3. Create Outbound Message Interface

image

4. Import the BAPI –> BAPI_COMPANY_GETDETAIL using the Imported Objects node.

image

5. Create Message Mapping between Message Type and BAPI_COMPANY_GETDETAIL

image

6. Create Message Mapping between BAPI_COMPANY_GETDETAIL.Response and Message Type MT_Company_GetDetails

image

7. Create Interface Mapping for Outbound Message Interface and BAPI_COMPANY_GETDETAIL

image

8. In the same screen, Choose the Response Tab and define the response mapping program

image

9. Create Sender Business Service and Receiver Business System and create Communication Channels

image

10. Create Receiver Determination

image

11. Create Interface Determination

image

12. As the sender here is ‘HTTP’, a Sender Adapter and Sender Agreement is not required.

image

13. Activate the objects in the Standard Change List. The design and configuration are completed. From the Runtime Workbench -> Choose Integration Engine -> Choose the tab Test Message.

image

14. Now enter the Sender Service, Sender Interface, Interface Namespace and the username password of the XI system. Choose QoS as Best Effort and paste the message payload in the text area.

(To get the message payload, you can go to message mapping and choose the test tab. Enter the value for the company ID and choose SRC icon for the xml source code. Copy and paste the same in the message payload text area).

Now click Send Message. The Message Sent icon appears, if the message is sent.

image

15. Execute transaction SXMB_MONI and check the status of the message sent.

image

16. Open the XML Message. Double click the Response Message ID in the left panel to see the output message from the R/3 system.

image

We are now done with the scenario. I hope this is helpful.

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

    1. Anonymous
      hi mikhail,

      you need to create the data types and then assing the same to the message types.

      you can refer to forum for details on how to create basic data types.

      thanks.

      praveen

      (0) 
    2. Anonymous
      hi mikhail,

      after you have created the data type.  create a message type.  under the ‘Data Type Used’ section, click the ‘display input help’ icon or F4.  from the pop-up select the data type wich you have created. automatically the structure will get displayed at the bottom.  i hope this clarifies.

      regards.

      praveen

      (0) 
      1. Mikhail Koshkin
        thank you for quick answer.
        But you created data type with name CompanyID, and message type reffers to data type DT_CompanyID, so i was a little confuse.. and yet do not understant what is the field RECORD of type CompanyID.
        (0) 
      2. Samuel Melvin
        Hi Praveen,
        Thank you very much for sharing your knowledge. I am trying out this HTTP TO RFC scenario. but got stuck while sending a message from runtime workbench.

        I am getting HTTP 401 – UNAUTHORIZED. Please dont mind if it silly doubt. I am beginner to XI and badly stuck up here.

        Also to let you know –

        In Runtime Workbench > Integration Server > Integration Engine XI1. To the left there is yellow triangle  but all others (BPE XI1, Mapping Runtime xi01 and Adapter Engine XI01)
        were green. Is Integration Engine XI1 should also be green? is that causing a problem?

        Please give your valuable suggestions.

        Looking forward for your response.

        Thanks and Regards
        Sam

        (0) 

Leave a Reply