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

Similar Messages

  • Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent

    Hi All,
    I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
    The data will be coming in the url parameters.
    Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
    So how do I do mapping? Also what UDF code will contain?
    Since I'm working on this kind of scenario for the first time, I need every help from you guys.
    Thanks & Regards,
    Amit Patil

    Hi All,
    I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
    But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
    What kind of UDF will be useful here?
    I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
    Please guys help me! Give me some inputs.
    Thanks,
    Amit Patil

  • HTTP to File Scenario using URL parameters.

    Hi,
    I am working on a HTTP to file scenario where POST method is hirring the XI server with authentication parameters.
    CAD application is trying to hot our XI server using POST Method and the application does not have ability to send XML payload to XI server directly.
    So we are simply receiving parameters in plain text in inbound payload.
    I need to convert this payload to XML format and am tring to work this out using dynamic configuration.
    But It is throwing parser error.
    BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 73, 75, 62(:main:, row:1, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:770)
    Here I have to use HTTP sender adapter.
    Please suggest how can I acheive this.??
    Regards,
    Sachi

    Hi Mark and Maciej,
    The Inbpound payload we are reciving is of the kind:
    sap-user=<UserID>&sap-password=<Pwd>&Param1=Sachi&submit=submit
    As in HTML we ar using hidden parameters to given authentication details and submmit button to hit XI serrver.
    Can you please help me to out how can I add prolog and epilog.
    How can I change my payload to XML format.
    Regards,
    Sachi

  • HTTP to RFC scenario - unable to consume URL link

    Hi All,
    I'm working on a HTTP to RFC scenario.
    Below is the URL link PI QAS Server to push XML data.
    http://Server IP:Port/sap/xi/adapter_plain?
    namespace=http%3A//rediff/ProjectSTAR/SME&interface=SI_OUT_ASYN_DIALER_CRM&
    service=BS_SME&party=&agency=&scheme=&QOS=EO&sap-user=xxxxx&sap-password=XXXXXX&
    sap-client=210&sap-language=EN
    But the 3rd party system says that they are unable to push XML data because of may be below reasons.
    1. Ports are not open from SAP end.
    2. Firewalls may be there from SAP end.
    3rd party is unable to consume the above link.
    But if they push it on PI PRD Server's URL link, it shows ports are open and they are able to consume the link.
    Please guide me on this to receive data on SAP PI QAS server also.
    Regards,
    Amit P

    Did you checked your URL, I can see there are "//" in the string which might have caused the problem.
    Please let me know if the url which you are using and the one you have pasted are different
    http://Server IP:Port/sap/xi/adapter_plain?
    namespace=http%3A//rediff/ProjectSTAR/SME&interface=SI_OUT_ASYN_DIALER_CRM&
    service=BS_SME&party=&agency=&scheme=&QOS=EO&sap-user=xxxxx&sap-password=XXXXXX&
    sap-client=210&sap-language=EN
    Moreover, I believe you have shared this URL to the sender system to push the XML via HTTP
    Can you clarify if the understanding is correct
    Sourabh

  • To configure a HTTP to RFC scenario

    HI all,
    I am trying to configure a HTTP to RFC scenario.
    I have to get the data from a URL - http://supplierportal.com/.
    I know that the design and configuration part is gonna be the same as any other scenario.
    Can anyone tell me what are the extra configurations that needs to be done for this scenario. I am wondering where do we give the URL from which the data is fetched and how do we get only certain fields from the portal
    Regards
    Arun

    Hi Danus,
    Thank u so much for the informaion.
    The scenario that i am working on is as below.
    There is a customer who raises PO in their own portal. We have been provided a login to their portal for accessing the PO that they raise and we will supply the material to them.Now, we are implementing SAP in our company, our agenda is to get the PO that is created in their portal and create a sales order against that PO and then send them a ASN (anyway this ASN will be separate interface).
    The below are the configuration that i have done...
    Design part:
    1 ) Created the neccessary datatypes and message types for the information that we get from the portal.
    2) Cretaed the message interface :
                          outbound interface - message type (of type with info from portal)
                          inbound interface   - RFC function module.
    3) Done the message mapping and interface mapping.
    Configuration part :
    1) Configured the receiver comm channel.
    2) since there is no need for a sender comm channel and sender agreement (am not sure abt this yet). am stuck with the receiver agreement b'coz we will have to fill the sender details in this part..
    3) As I understand it is the responsibility of the Portal ppl to deliver the PO to the XI link.Right?
    Plz help me to proceed further...
    Thanks and regards
    Arun Kumar
    Message was edited by:
            Arunkumar sukumar

  • Cannot create HTTP client Exception in Http -- XI -- RFC scenario

    Hi,
    We are testing Http --> XI --> RFC scenario
    While testing this scenario from RWB we are getting following error message in the SXMB_MONI logs:
      <?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>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_CREATE_FAILED</SAP:Code>
      <SAP:P1>1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Cannot create HTTP client (exception 1)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Following is the info from the Trace:
      <Trace level="1" type="System_Error">cl_http_client exc = argument_not_found</Trace>
    We have tried following things:
    1. In SICF we made sure the /default_host/sap/xi/adapter_plain is active
    2. Applied SAP Note: 716739
    Any response will be greatly appreciated.
    Thanks,
    Paresh

    Hi UDO,
    Thanks for your reply. The error was gone when I tested again this morning. I am guessing it must be the SAP Note 716739 that we applied and might not have refreshed the cache.
    I am still intereseted in confirming what exacly fixed this issue.
    As per your suggestion, I looked at the left Nav bar and the error was at the "Call Adapter" step. Even in the log message it says the same. The reciever/interface determination and mapping were successfull. I could successfully test the scenario in the integration directory.
    Here is what the 716739 Note said:
    Symptom
    If you call the Integration Server from a sending Integration Engine (proxy), the following error message occurs:
    Category = XIServer
    Area = INTERNAL
    Id = CLIENT_CREATE_FAILED.
    In transaction SXMB_ADM, you used the Configure Integration Engine function to enter a URL of the type http://<host>:<port>/sap/xi/engine?type=entry instead of a URL of the type dest://<name>.
    Other terms
    SICF, SXMB_MONI, SXMB_ADM, XI
    Reason and Prerequisites
    You have configured the communication route from the sending proxy (Integration Engine) to the Integration Server using the URL of the type
    http://<host>:<port>/sap/xi/engine?type=entry and have saved the logon data on the Integration Server in the Service
    /sap/xi/engine (transaction SICF).
    A program error has occurred: the communication log is not correctly set when the HTTP client is set up.
    Solution
    The problem is eliminated with SAP_BASIS Support Package 2. To eliminate the problem, you can use an URL of the type dest://<name>, where <name>  refers to the name of a HTTP destination that you have maintained with transaction SM59.
    Now, I was not using the proxies but Http post to XI. Do you guys also think this might have fixed my issue?
    Thanks,
    Paresh

  • 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 401 - UNAUTHORIZED. in HTTP TO RFC scenario

    Hi Friends,
    I am beginner of XI and trying out HTTP TO RFC scenario referring the blog:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    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

    Samuel,
    Check out your RFC adapter parameters / user id and password.
    Also check whether userid used in RFC adapter has Authorization to run RFC on Remote system.
    Nilesh

  • Can anyone plz send HTTP to RFC scenario

    Hi everyone,
              can u guys send me the HTTP to RFC scenario? plz send the detail scenario for HTTP-XI-RFC.
    thank u in advance
           xilearner

    1.Created data types for mapping with HTTP request and response.
    2. Created messsage types and assigned corresponding data types to the message types.
    3. Created one Message Interface (Outbound/Synchronous) for HTTP type and no need to create interface for RFC. You ca use the one which you have imported from R/3.
    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.
    Check this link on how to configure RFC channel.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Send XML message  from HTTP client and you will see the response in the same.
    Regards,
    Sudheer.

  • Transport of HTTP - XI - RFC scenario

    Hi all,
    I have tested a HTTP - XI - RFC scenario on one XI server (say 'source'). Now I wish to transport it to another XI system (say 'target') using CMS and separate SLD's exist for source and target systems.
    For RFC, a technical system (TS) and business system (BS) have been created on source as well as target.
    Now for CMS I need to replicate the TS & BS of target on source, and specify transport target for source BS.
    However the TS is basically an R/3 app server where RFC resides. So at source, when I create the TS corresponding to target, the system gives error that TS with same client already exists. In turn, I am also not able to create target's BS on source.
    Pls suggest a way out...
    Thanks,
    - Shankar.

    Hi Siddarth,
    Well, my development is complete in the sense that I have tested the scenario on source. It is a simple application where I send 2 no.s from HTTP client which through XI, calls an RFC, which in turn returns the sum of the 2 no.s This reply can be seen in HTTP client, thus verifying the process.
    I haven't considered the business service option. I will try out that also...
    R/3 server is same for DEV as well as Test systems.
    Thanks,
    - Shankar.

  • File to RFC scenario with no BPM

    I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
    Thanks,
    Deepesh

    Hi,
    I need to have BPM if want to see the response back from RFC? ... yes
    The BPM will help you find the response very comfortable.
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
    Regards
    Agasthuri Doss

  • 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.

  • Start IC WebClient with URL Parameters

    Hi,
    we are currently implementing IC WebClient 5.0. One of the customer needs is it, to start the IC WebClient with a service order ID, so that the order is displayed immediately without searching and confirming an account. Is it possible to start the IC WebClient with URL parameters to solve that issue?
    Thank you for you help in advance!
    Marcus Walena

    Hallo Marcus,
    This is currently not possible.
    However, you don't need to always confirm the customer. You can use the agent inbox to do the search and navigate directly to the service order. However, if you want to do any processing after that, then you will need to identify the customer. The other option is to implement this yourself.
    BTW: It is possible to navigate via a URL to the service order directly using PC UI.
    Regards,
    Shiv

  • Still Can't Figure Out Returning to Page with URL Parameters

    Hi,
    I am trying to figuring out how after submitting a form to
    return to a previous webpage with URL parameters in it.
    Any ideas?
    Thanks,
    Craig

    I am using dreamweaver and coldfusion. I have been searching
    everywhere for the answer so if you can shed some light on this
    that would be great.
    Thanks,
    Craig

  • HTTP to RFC scenario (Message not coming to PI)

    Hi PI Gurus,
    I got one HTTP to RFC scenario. Its working fine in production. where as it is not working in QA sys.
    Messages are not coming to PI (SXMB_MONI). Is anything is missed in SICF or SMICM.
    Thanks,
    Krishna

    Hi,
    How you are testing the interface.........if you are sending the message from HTTP client web page then check the error message in same web page.
    for reference check below link.
    http://www.****************/Tutorials/XI/HTTP/RFC.htm
    HTTP client code.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Regards,
    Phani

Maybe you are looking for

  • Workspace Customization

    I want to costumize the Workspace Add/Modify Form and the Workspace View for the Project Management Workspace. I already successfully added a new select box to the form and the view. I also added a text form element named "Auftragsnummer" ("Project N

  • Screen shots and full list of 2.0 features

    I just learned on internal board that you can now do screen shots of your window (hit power and home button at the same time - clip is saved in camera roll). Is there a full list somewhere of all new features? This was news to me and is a very cool f

  • Fedora Core 7 vs Oracle 11G

    when I install Oracle11G on Fedora Core 7 an error occur : UnsatisfiedLinkError exception loading native library. njni11 did I lost any component or need to install other package ?

  • Monitor worked on 10.4.5, then updated 10.4.8 now doesnt

    Basiclly the subject tells it all. I just bought my MB Pro today and my external Viewsonic monitor worked before I did the updates. Now it won't. Also, now one of my Lacie USB 2 hard drives, that worked before the update, doesnt work. the light just

  • Steps for sales order to MRP Run

    Dear all, Could you please explain what are the steps to process after creating sale order to run MRP and delivery? Regards Rajasekaran