Skip to Content
avatar image
Former Member

Synchronous Interface


Does synchronous interface means I have to use BPM.Is it possible I can do without a BPM..

eg..HTTP -> RFC

i submit a form and expect a result from rfc

Kindly let me know your comments on how to go about such a scenario.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 20, 2006 at 04:41 PM


    a purely synchronous scenario can be done without the usage of BPM. BPM is only needed if you have to bridge between synchronous and asynchronous.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 20, 2006 at 06:14 PM

    I guess I found http -> rfc synchronous can be done without using bpm.

    But my problem is what is the url that the submit(form post) will be pointing to.will it be one i use to retrive the integration builder(sxmb_ifr) and the same port...or will be something else for the http client to capture it...(SICF stuffs)

    This is what I got from


    what should be the path...and query-string i guess i can pass what ever is required for the sender service etc...

    but for the payload what is the parameter name i should pass.i am planning to having now as a text box and enter the payload xml in it.

    when the rfc returns the values it would be xml format i guess i need to map it to an html do i do that...just transformation would still give me xml file again..

    Hope I am clear...



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Chinna,

      When u submit the form u should pass the following one

      function SendData() {

      var mycall = 'http://'

      + document.myform.myhost.value + ':'

      + document.myform.myport.value + '/sap/xi/adapter_plain?bs='

      + document.myform.mysystem.value + '&namespace=' + myescns + '&interface='

      + document.myform.myinterface.value + '&qos=' + document.myform.myqos.value + '&sap-client=' + document.myform.myclient.value +'&sap-user=' + document.myform.myuser.value +'&sap-password=' + document.myform.mypass.value +'&sap- language=E';

      AND finally

      <input type="hidden" name="myhost" value="xiserver">

      <input type="hidden" name="myport" value="8000">

      <input type="hidden" name="mysystem" value="PurchaseOrder_BSservice">

      <input type="hidden" name="myinterface" value="PurchaseOrder_out">

      <input type="hidden" name="mynamespace" value="urn:xi:hcl:powebapp">

      <input type="hidden" name="myqos" value="BE">

      <input type="hidden" name="myclient" value="300">

      <input type="hidden" name="myuser" value="XYZ">

      <input type="hidden" name="mypass" value="abxde">

      <input type="button" value="SUBMIT" onclick="return SendData()">

      Hope this can help u i have used this for Http --XI --RFC

      Check this once and try by installing Tomcat server or other tool...

      If any queries do reply...



  • avatar image
    Former Member
    Jun 21, 2006 at 03:46 PM

    when I submit to the url(xi url) with the plain_adapter as the path it is going for HTTP rc 500 internal server error....

    I am not using the code given in the course material since it is javascript submit which call my local page itself ( i have created a html in the desktop).



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      Is it because of URL somewhere-Also make sure that XI Service is up and running (Both J2EE and ABAP stack)

      Refer this SAP note-804124



  • avatar image
    Former Member
    Jun 21, 2006 at 09:31 PM


    Using the test code for html it worked fine.

    2 things.

    one The messages are not shown in the monitor(sxmb_monitor).only if it fails due to some reason it shows up.

    two, i tried to create a simple html page submitting to the url with the ?+all the name,value pair.but it would not work reason is i don't know how to pass the payload.the payload i pasted it in the textarea and the name of the textarea is payload.

    in the monitor i am seeing in the main document....


    I need the xml i put in the text area...

    Add comment
    10|10000 characters needed characters exceeded