Http-to-rfc is it possible

A Source System will submit Material data as Http request to XI. XI submits data to the SAP System in synchronous and receive the response to the system in the required formatvia RFC. This is my scenario..

Hi
See this
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit     -HttpRFC
Reward Points if Helpful
Regards
Khanna

Similar Messages

  • Error occurs in HTTP to RFC

    HI,
    When doing the exercise in TBIT40, I meet with a problem in HTTP to RFC. It always returns me such error msg in the html client: <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.lang.NullPointerException</SAP:AdditionalText></SAP:Error>
    I don't know what's the exact reason for that, however, I am sure the BAPI program is not called. Using SXMB_MONI, we can see the response message  (from Service: HEDCLNT001  Namespace: urn:sap-com:document:sap:rfc:functions    Interface: ZBAPI_PO_CREATE) with above error and no XML payload at all. There's no error in the request message. I suspect if the communication channel is not created correctly as the document doesn't give a clear description on creation steps.
    My question:
    1. Is there any method to test if the RFC could be called properly from XI side using the communication channel I created?
    2. What is the possible reason for the error I just met with?  Any available solution?
    Thanks & Best Rgds,
    Jerry

    The error segment in the response message: 
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.lang.NullPointerException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Jerry

  • SIMPLE HTTP to RFC scenario.

    Hello Guru's,
           I want to perform simple HTTP to RFC scenario. Can any one tell me the steps for this scenario. Explain me with your example but is should be understandable for the beginners.( please don't ask my requirement ).
    If possible give me the link of blogs for this scenario.
    Thanks in advance.

    Hi,
    Refer these links:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    XI http-adapter; http-post test tool?
    /thread/26215 [original link is broken]
    Regards,
    Nithiyanandam

  • HTTP to RFC scenario with URL parameters

    Hi All,
    I am working on HTTP to RFC scenario using an interface in SAP PI.
    The data will be pushed from API link via 4 URL parameters viz. UID, mobno, phone1, phone2.
    My query is what will be the UDF code for the same.
    Also how to design & configure the same scenario in SAP PI, since I'm working on this scenario for the first time.
    on SAP end, what will be more comfortable to have RFC or Proxy?
    Thanks & Regards,
    Amit S Patil

    Hi All,
    In case of RFC to HTTP scenario wherein we have to pass URL parameters as the request instead of XML/xsd(at the receiver end), there is no need of .xsd file to be imported in SAP PI as target end in request message mapping.
    Similarly in reverse case(HTTP to RFC scenario), if some data will be pushed from external system through URL parameters instead of XML/xsd(at the sender end), how the design & configuration is done in SAP PI?
    Is this reverse scenario possible without any XML/xsd scema at the sender end?
    Please suggest me at the earliest?
    Thanks & Regards,
    Amit S Patil

  • HTTP and RFC related scenarios

    Hi
    Can you give HTTP and RFC related scenario links ?
    Urgent pls
    Thanks,
    Message was edited by:
            s s

    Hi s s,
    see the below links, they will help u.
    HTTP to RFC
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983752,00.html
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/e002416225f023e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    Is it possible to use the RFC sender adapter for asynchronous calls?    Async call
    <a href="http://File to RFC using BPM-Starter Kit: By Arpit Seth">File to RFC using BPM-Starter Kit: By Arpit Seth</a>
    regards
    sreeni

  • I can not find the messages in sxmb_moni in http to rfc scenarion

    hi i'm using http client tool when i send the message its working fine i'm getting the response, but i can not find that message in sxmb_moni in http to rfc scenario
    can anyone help me

    Hi lnaki vila
    I'm using pi 7.0 version
    i can see the other scenarios like SOAP to RFC, SOAP to IDOC,FILEto IDOC
    in sender side i'm not using any communication channel and adapter engine i'm just using http client tool for testing purpose
    i'm getting the response that's fine because its a synchronous communication
    i checked sxmb_adm in that -->integration configuration LOGGING parameter of category RUNTIME is set to  ENGINE_TYPE and current value is HUB(Integration server)
    thanks in advance
    regards
    Satish

  • Logon Error Message ( HTTP to RFC )

    Hi all,
    While  I am practicing HTTP to RFC Scenario..
    When I  SEND data from test client ..It is asking for SAP Web Application Server (SID)
    User ID and Password..
    When I am giving my XI ID and Password ( and also i tried BASIS ID ,J2ee_admin, Even i assinged ROLE SAP_XI_APPL_SERV_USER ) it is giving Error like this
    -->Logon Error Message
    -->Error Code: ICF-LE-http-c:001-l:E-T:1-C:3-U:35-P:35-L:3
    -->HTTP 401 - Unauthorized  Your SAP Internet Communication Framework Team
    -->Call of URL http://serverhost:8000/sap/xi/adapter_plain terminated due to error in logon data
    -->Logon performed in system OPD. </li><li> Logon performed for client 001, user xiappluser, and language EN.
    -->HTTP 407 Proxy Authentication Required - The ISA Server requires authorization to fulfill the request. -->Access to the Web Proxy service is denied. (12209)<BR>Internet Security and Acceleration Server
    -->The gateway could not retrieve the requested page
    These errors I am getting..
    please guide me to complete this scenario.
    Thanks in advance,
    Ramesh.
    ( I am unable to search SDN ,due to some upgradation is going on )

    Hi Sreeramoju,
    1. HTTP-401 :
            If the Integration Server is accessed by means of an HTTP proxy server,the  credentials must match those that you made in transaction SICF in the Integration Engine. If you do not specify a user and password combination, or the combination is invalid, the system will terminate each attempt to access the Integration Engine with the message Transport Exception:  http-Error 401 – Unauthorized.
    The user must have the authorizations of group SAP_XI_APPL_SERV_USER on the Integration Server.
    If you want to use a different client or language to the default setting in the Integration Engine when logging on, you can also set the following parameters:
    &#9675;     XI.Client=<client-no>
    &#9675;     XI.Language=<language-id>
    2.HTTP 407: Proxy Authentication Required" in SAP XI J2EE AE: check the SAP note: 992690
        Make sure that you have specified the proper host and port values, in the text box that appears when you check the configure proxy check box(in receiver adapter).
    Looks like the webservice requires a proxy authentication.
    Select the check box "configure proxy user authentication"(in receiver adapter) and provide the correct username and password.
    *Pls: Reward points if helpful*
    Regards,
    Jyoti

  • Issue in HTTP to RFC scenario

    Hi Experts,
    i am working on HTTP to RFC scenario.From Http client i am sending data to integration engine.
    i am unable to see any messages in SXMB_MONI.Means data from HTTP client not reached Integration engine.
    why the data is not reaching integration engine?
    This scenario needs any configuration settings in XI or any changes in HTTP client??
    Plz suggest me in this issue?
    Regards,
    Bhuvan.

    Hi Experts,
    thanks for giving replies.
    The response i am geting in HTTP client:
    Result:  
    <!   DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Error Report</title>
    <style>
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  404 &nbsp Not Found</b></font></td>
    </tr>
    <tr bgcolor="#3F73A3">
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
        <td height="23"><img width=1 height=1 border=0 alt=""></td>
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td>
    </tr>
    <tr bgcolor="#9DCDFD">
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
    </tr>
    </table>
    <br><br><br><br><br><br>
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  The requested resource does not exist.</b></font></td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td>
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  Go to <A HREF="/" target="_parent">main page</A> of this application!</pre></font></td>
    </tr>
    </body>
    </html>
    Regards,
    Bhuvan.

  • Error in scenario HTTP - XI - RFC SYN

    In the monitor this registering the following error
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: No response available.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    So that this can happen
    Thank's

    Hi,
    1. Look into the Receiver RFC adapter and check its status.
    2. Check the RFC request Message. Is it valid? Try to execute the RFC with the same data and check if it works fine.
    Also refer into this blog and cross check the steps,
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Regards
    Bhavesh

  • HTTP to RFC (Calling BAPI)

    Hi,
    I am working on creating a Purchase Order in SAP system by calling BAPI's from XI using RFC adapter.
    I defined the following in IR:
    1. Created data types for mapping with BAPI request and response.
    2. Created messsage types and assigned corresponding data types to the message types.
    3. Created one Message Interface (Outbound/Synchronous), Output message - request message type, Input message - response message type.
    4. Create request and response message mapping and one Inteface mapping (with request tab and response tab) properly assigned.
    Defined the following in ID:
    1. Created HTTP business system (no communication channel)
    2. Created communication channel for receiving system (SAP).
    3. Created receiving determination and interface determination, receiver agreement, no sender agreement.
    I sent XML message (required data to create purchase order) from HTTP client but I am getting the response as <b>Unable to determine name of mapping program</b>, my Interface Determination has proper Inbound Interface (ZBAPI_PO_CREATE) and Mapping program (PO_I_MAP). But Why am I getting the reposnse as I said above in my HTTP client?
    Appreciate your help,
    Thanks and Regards,
    Jagadish.

    Hi Jagadish,
    The error lies in Message Mapping .So please check it once again .You have mentioned your steps it seem there is problem in Message mapping..
    Please look at the following Steps..
    IR:
    1.Import Corresponding RFC(BAPI). No need to create Interface Objects( Data type, Message type,Message Interface ) for SAP( RFC ) system..
    2.Create Interface Objects For HTTP System.As you told it is synchronous.
    3.Perform Two Message Mappings
      (A).HTTP Request <--> RFC Req
      (B).RFC  Response<-->HTTP Res
    4.Perform one Interface Mapping which includes Request and Response Mappings ..
    5.Activate all objects..
    ID : what you have done is ok..
    URL: http://<hostname:port>/<path>?<query-string> Make sure your URL is correct or not for( sender HTTP )..
    I think it will hepl you , if it is solved please assign points . If you have any doubt you can call me...
    Thanks
    N.Prasad Babu
    iGATE Global Solutions Hyderabad : 98490 65377

  • HTTP to RFC scenario

    I have been trying to configure the XML to IDOC scenario given in the XI starter pack . Does anybody have the sample XML and XSD files mentioned in the scenario ?
    There are two messages in the XSD, purchase order request and purchase order response. It would be a great help if anybody could supply me these XSD and also the XML test documents involved in the workshop scenaro.
    Also could someone inform me what tool i can use to create custom XSD ?
    Thanks,
    Joe

    Thanks for your reply, Honey.
    I'll Try to explain my problem a little bit better :
    I have data coming in from a third party system , in XML (B2MML format). I need to create an XSD according to this incoming data , and then do data transformation in the message mapping level to put this data into a BAPI call, or maybe a proxy call.
    So as a beginning, i started with the starter pack scenario for HTTP to RFC . They have not provided the XSD in the PDF document that i have , so i was wondering if anybody would have the XML which i could then use.
    I have come across another problem here, which is how to put the XSD on the XI server. Whenever i try to import the XSD, the file-open browser points to the XI server to pick the file from, and i dont have access to that server. Any idea how i could get around this problem too ?
    Thanks ,
    Joe

  • HTTP to RFC synchronous scenario Issue

    Hi Folks,
        Currently I'm working on a HTTP to RFC synchronous scenario.  Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW
    Result:
    http-Status:  500 Internal Server Error
    Payload:
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>
    <SAP:P2>java.lang.NullPointerException</SAP:P2>
    <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>
    </SAP:Error>
    I also tried executting the message testing tool to see the trace and the below result I got
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <Top>
      <First>BeginTrace</First>
      <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping is determined</Trace>
      <Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 3</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      </Top>
    But still I'm not able resolve this issue kindly help.
    Regards,
      Santosh

    Looks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :
    http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem
    May be there is no value retrieved from the ECC system so it is saying null value.
    For proper configuration check you can refer the following blog:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    I am a beginner so not the full answer is there but may be this would help you.
    Regards
    Ravi Anand

  • Http to RFC

    Hi,
    I have done a simple http to RFC scenario.
    when i test the scenario, the message is sent but i am not able to see anything in sxmb_moni or message monitioring.
    Also, the RFC adapter is working fine.
    i could see the error message in the sxmb_moni earlier when there was an error in the rfc adapter.
    what can be the prob?

    Hi ,
    See this Also
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
    Note :::804124
    Note :::807000
    Reward Points If Helpful
    Regards
    Khanna

  • Http to RFC or SOAP to RFC (synchronous)

    Hi,
    I need to connect PHP with RFC via XI/PI
    Request will be send from php developed web pages to R/3 (RFC) to get data back to web page.
    I think to resolve this scenario 1u2019ve two options
    1: SOAP to RFC (synchronous)
    2: HTTP to RFC (synchronous)
    Can you please suggest me the scenario?
    Thanks for you time
    Regards,
    Farrukh Ghani

    Hi Ghani,
    The two options you mentioned we can use,but it depends on how PHP web site going to  send data,if it is going to send webserive then use SOAP adapter,you are expecting response ,the RFC wil work as synchronous.
    If it is not  Web Service other option is HTTP,receiver would be RFC only.
    How to configure SOAP->XI>RFC or HTTP->XI-->RFC scenarios,simple search in sdn will give many blogs,search in sdn,
    if you unable to find right one let me know..
    Regards,
    Raj

  • HTTP to RFC Interface Determination problem

    Hi experts,
    I am doing HTTP <-> RFC scenario mentioned in blog
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    almost everthing is done; but while configuring the interface determination, i am not able to see the inbound interface.
    your valuable help would be appreciated
    Regards
    Sumit Bhutani

    Hi Bhavesh,
    Thanks for your quick response; this problem has been resolved, but while testing my scenario using RWB i am getting this error.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">CANNOT_READ_PAYLOAD</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to read payload from the message object</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please suggest on this
    Thanks
    Sumit

Maybe you are looking for

  • Large blotch appears on display

    I have an iBook G4 which Apple replaced for my G3. The G3 was part of the extended logic board program; they tried to repair it three times but were unsuccessful. I've had the G4 for less than 12 months. I've never had a problem with it until today.

  • How to use the structure on my insert statement.

    I have a function and returning a structure: <CFSET stLoc_and_AttIDs=StructNew(1)> <CFSET stLoc_and_AttIDs["LocID"]="#getLocID.LocationID#"> <CFSET stLoc_and_AttIDs["AttID"]="#getLocID.AttachmentID#"> I call this function like this: <CFSET LocAndAttI

  • Facing problem in creating domain .

    Hi Friends,      I tried to create the domain for ADF Application.I entered into the Configuration wizard ,I select Oracle Enterprise Option in the Template Page. I have confused in database Configuration page.Which database i need to enter.I have lo

  • Sam's MC Question

    I see that Sams issues the cash back paid once a year to Sams's as the payee. Can a person just cash the check and be on their way or is it used as payment toward purchase in which you have to spend it all.

  • Read Out Loud in two languages

    Topic Read out loud in two languages stewart tower - 06:52am Feb 17, 2009 Pacific I work in an office that prepares many reports in both english and french. A common document will have the english and french running side by side; english in the left