Rfc fm  vs . webservice

Hi Experts,
what is the advantage and disadvantage of Rfc vs. Webservice.
Regards

Hi mattew ,
thanks but maybe u can give me an e.g. what is Web service?
i little bit confused becouse i work a lot on building fm (rfc) and i now that i can turn them to webservice ,
there is a way to build in abap web service without use Fm ?
Regards

Similar Messages

  • R3 (rfc-sender) - XI - Webservice ( soap-receiver)

    Hi,
    I am getting below error whenever webservice(target system) is unavailable.
    HTTP 404 Not Found
    Then RFC got failed in R3, due to this error in XI
    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available), RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response, XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice.
    I am getting this error to my mail box as i have configured ALERTS. i do not want to change existing RFC.
    is there any chance to send response to R3 even webservice is down, please can any one suggest.
    Thanks,
    SIva
    Edited by: Siva Grandhi on Jun 18, 2008 1:12 PM

    Hi siva,
    check this blog on HTTP errors.
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    May be the URL you have given in SOAP at receiver adapter is wrong.Check that once.
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Thanks,
    Vijaya.

  • R3 (rfc-sender) - XI - Webservice ( soap-recever) Synch : error handlng

    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available),  RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response,  XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice down.
    Pleae help me out on this.
    Thanks,
    Dhanush.

    Hi,
    Normally, the Web service should provide a fault message back to XI and the RFC should also have an exception defined that will trigger a fault message mapping and that way the application error is sent back to R3.
    But if the web service does not provide u with a fault message then XI will trigger the System Error back to R3.
    The functionality of checking the DB status and propagating meaningful errors to XI as fault messages should lie with the web service.
    Thanks
    Vikranth

  • RFC using as Webservice

    Hi All:
    I am implementing this Blog  /people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro    but have dought on this..where we have to use this scenario?
    It is using RFC as a webservice. but when and why we have to use it??
    As I understand..any sender (say HTTP sender) can send the message to XI and XI will call this webservice(that will call RFC)..currect me I am wrong.?
    if it is then why cannot direcly call to RFC using RFC adapter?? why RFC is using as webservice..?
    Thanks
    Farooq.

    Hi Farooq,
    the blog is about easy creating a webservice from RFC (BAPI). So, others can connect via http and use the webservice. An RFC call is only possible by SAP systems, webservice can be called by nearly everybody. At background your RFC is working, but the interface is a webservice.
    Regards,
    Udo

  • RFC-to-SOAP webservice using HTTPS

    Hi experts,
    I have a RFC-to-SOAP (sync) and the URL of the webservice is using HTTPS. I'm not the owner of the webservice.
    Encountered these errors
    - for sender comm :
    com.sap.aii.af.ra.ms.api.DeliveryException: Peer sent alert: Alert Fatal: illegal parameter
    - receiver comm :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Peer sent alert: Alert Fatal: illegal parameter: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: illegal parameter
    We are not using certificate authentication so I don't think that's the cause.
    Have checked that the https is running ok for ABAP but I don't think that got anything to do with the errors. Is there something wrong with SSL setting for J2EE? If yes, how may I check?
    Are there some parameters to be set up? In the RFC sender comm & SOAP receiver comm, I do not find any special settings for https.
    I have read this link : http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm. Is it necessary to set the Exchange Profile Parameters? My BASIS colleague is now checking it.
    Thanks for reading and will appreciate any advice!

    Thanks Prateek for the quick reply!
    Re HTTPS certificate, do you mean the cert for my XI server or the cert from the web service?
    I have tested calling the web service using SOAPUI and it works fine without using the cert given by the web service (which is expired anyway)...

  • Rfc to soap (webservice)

    Hi,
    I have a RFC in R3 sending out employee# in TABLES parameter to XI. XI needs to call an external webservice, for each of these employees and get their name.
    RFC will collect the names in the TABLES parameter(second column) and send response back to R3. (This way i can keep R3 -XI- R3 traffic to single message).
    Appreciate help to develop this scenario. Would BPM be useful in this scenario....i would like to use it too.
    Thanks,
    Ram

    Hi,
    If you alredy BAPI with you then you no need to go for Proxy,you can build customized BAPI to pull the data from tables,then use RFC adapter to retrive the data from tables and send it to web service using SOAP adapter use synchronous mode,Webserice send the response and update the same in R/3.(i never use RFC sender as sync)
    else use ABAP proxy in sender side,it will work for you.
    no need to go for BPM.
    Regards,
    raj

  • How to run RFC code in webservice.

    Hello Experts,
    I am new to webservices but I have done lot of work in Java Webdynpro with RFC.
    I have created a model using webservice and I am trying to use this application. I have written following code in wdInit() of my application -
    <b>Request_ZAccessoryModel_zhressStationRequisition input = new Request_ZAccessoryModel_zhressStationRequisition();</b>
    wdContext.nodeRequest_ZAccessoryModel_zhressStationRequisition().bind(input);
    try{
         wdContext.currentParametersElement().setServiceid("12");
         wdContext.currentParametersElement().setYusertype("EMP");
         wdContext.currentParametersElement().setYymod("DIS");
       wdContext.currentRequest_ZAccessoryModel_zhressStationRequisitionElement().modelObject().execute();
        catch(Exception e)
    but this is showing me error at that line where I am initializing the Request Node with "New" keyword (line in bold).
    Please correct me if I am missing something or If I am going to wrong way.
    Thanx in Advance
    Roshan Gupta

    Dear All,
    I am getting following error while deploying the webservice based webdynpro application -
    The initial exception that caused the request to fail, was:
       java.lang.Error: Unresolved compilation problems: Syntax error on keyword "return"; "Identifier" expected Syntax error on keyword "return"; "Identifier", "new" expected Syntax error on keyword "return"; "Identifier", "new" expected Syntax error on keyword "return"; "Identifier", "new" expected
        at com.test.webdervice.model.p1.ComplexType_ZhressStationRequisitionResponse.<init>(ComplexType_ZhressStationRequisitionResponse.java:361)
        at com.test.webdervice.model.Response_ZAccessoryModel_zhressStationRequisition.<init>(Response_ZAccessoryModel_zhressStationRequisition.java:56)
        at com.test.webdervice.model.Request_ZAccessoryModel_zhressStationRequisition.<init>(Request_ZAccessoryModel_zhressStationRequisition.java:106)
        at com.test.webdervice.TestWebServiceAppComponentView.wdDoInit(TestWebServiceAppComponentView.java:99)
        at com.test.webdervice.wdp.InternalTestWebServiceAppComponentView.wdDoInit(InternalTestWebServiceAppComponentView.java:1260)
    Please help me to sortout this error.
    Thanks in advance,
    Roshan Gupta

  • Function module(RFC en) as webservice

    Hi
    I created a webservice from a functionmodule.
    Now while creating a proxy of this webservice i need to specify URL of the same.Can anybody suggest what should be specified,as we already have VI and WSD ...but confused about the actual url for this WS.
    Thanks in advance
    DhanyaR Nair

    i think it is
    http://server:port/sap/bc/srt/rfc/<webservicename>
    you can check this path in txn SICF
    Raja

  • RFC(Bapi) to Webservice using BPM

    Hi,
    Can anybody explain me how to do RFC TO Webservice (whole scenario is synchronous) using BPM.My scenario is I have a sender RFC where I need to call two webservices in sequence.Appreciate any help guys.
    Thanks
    Points will be awarded

    Hi,
    Yesterday itself I asked u in the other thread, but u didn't reply to my question. Since you are calling two webservices which Webservice response do u want to send back to RFC? Do u want to combine both the responses and send back together?
    raj.

  • Help to do RFC Sender -- XI -- WebService escenario using XSL mapping

    Hello Guys!.
    We have a WSDL definition that requires use header fields. For do this, in other forums, we see that is good, use an XSL mapping without the estandar message mapping.
    The objective is:
    1 - Interface begins when RFC is called in R/3 system then..
    2 - Parameters TELEFONO and BODY of the RFC are passed to wsdl message called Sendmessage. We need  pass header parameters too, user, account and password. This parameters not appear in this message.
    Someone can help us, how can implement this using XSLT message.
    Whe have now this one but, i don´t know if it´s good.
    Best regards.

    <<<<In your Receiver SOAP adapter, select option "Do Not use SOAP Enevelope".
    Selecting this option implies that SOAP adapter will not add its own SOAP Envelope and the output of mapping will be passed to the target system / webservice.<<<<<
    I have done exactly what has been suggested but XI is still generating the SOAP document along with the payload(my payload has SOAP envelop, header and body).
    I want to supress/remove SOAP document and send only my payload to the webservice.
    Does any one has any idea where it needs to be set?
    Thanks in advance for your help.
    Venkat
    [email protected]

  • R3 (rfc-sender) - XI - Webservice ( soap-receiver) Alert monitoring

    Hi,
        I am getting multple(two times) alerts for same message id when interface got failed, i am getting total 4 e-mails to my Inbox mail. Any one can plese suggest me to get single message for entire interface when it gets failed.
    Thanks,
    Siva

    hI,
    Check the fix receipient tab in ALRTCATDEF transaction for the receipient.
    refer this thread,
    Bunch of problems with ALERTING in SP14!
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Thanks
    Virkanth

  • Difference between Webservice and RFC

    Dear Experts,
    We have an application to implement where the application will be called from other NON SAP technology. We got two solutions one is developing RFC's and calling it from other NON SAP Technology OR developing Webservice. Could any one please suggest us to which way do we need to choose?
    Regards,
    Gopinath A.

    That's more or less up to you. In a nutshell: RFC is a known SAP technology for communication between SAP and (NON) SAP systems (both ways, inbound and outbound). Communication is set up quite easily (check SCN for that, work for Basis Administrator).
    From an RFC, you can get to a WebService within a few clicks. RFC is basis of a webservice, which is based on known (internet) standards.
    You decide, together with NON-SAP system (can it consume or provide RFC requests, or webservices for that matter) and basis administrators.
    You can find a lot of info in SCN on both methods about architecture etc. This should help you decide.

  • Project with RFC to WebService..

    Requirement : Solutions for RFC to WebService..
    Data Flow :
    1. RFC call to WebService
    2. WebService will serach concern record and will reply back to RFC
    <RFC> <Synch Outbound Interface> <RFC Adapter> <PI 7.1> <SOAP Adapter> <Synch Inbound Interface> <WebService>
    Suggest me complete roadmap for the scenario, as i m bit confused to use wether workout on java function for searching concern record from multiple webservices or anything else is possible.
    Thanks and Regards,

    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    those are based on PI 7.0 but that is quite similar to what you will do in 7.1
    Are you looking for something other than that?

  • Direct  RFC And webservice in Adobe Forms

    Dear All,
                Does adobe Lifecycle designer intregate RFC as a webservice ?
    Or we need to write a Java/Adap Dynpro and call the adobe Form?
    Regards,
    Anirban.

    Hello,
    You can call a web service directly from an interactive form. To access RFCs, you need an application (typically webdynpro Java or ABAP).
    Keep in mind that your form is interactive (meaning data storage and exchange capable) only if it has been generated by the ADS.
    Regards,
    Francois

  • R3 (RFC Asynch) -- XI --- SOAP (webservice Synch)

    Hi Experts,
               My scenario is :R3 (RFC Asynch) > XI <-> SOAP(webservice is synch)
    Step1:-   R3 sends the data webservie(SOAP) via XI.
    Step2:-   Webservice returns the response to XI, But R3(RFC) does not need the resoponse.
    how to handle the webservice response in XI.
    do i need to use BPM as this scenario is R3(RFC synch) > XI <--> Webservice(soap, synch). Can anybody help me out how to design this scenario.
    Thanks,
    Siva

    So then all u need is to create a async inbound MI. Also the WS should be configured in a way that it sends a HTTP 200 with a SOAP envelope with an empty content for successful delivery.
    Refer the below from the SOAP adapter FAQ;
    Receiver Asynchronous Calls
    Q: What are the correct receiver options for asynchronous calls?
               A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID.
    Q: What should my web service return to the adapter for asynchronous calls?
               A: Currently, the receiver adapter expects an HTTP 200 with a SOAP envelope with an empty content for successful delivery. Any other response will result in a XI system error and triggers retries of the message. When you want to check duplicates, you should configure your receiver channel to pass the XI message header information to the server.
               Prior to SP11, a SOAP fault resulted in the application or system error, depending on whether the SOAP fault contained a detail child element or not. This behavior contradicted the communication model. Therefore, it has been changed so that the adapter generates the system error for any SOAP fault in asynchronous calls.
               When you want to check duplicates in your web service, you should configure your receiver channel to pass the XI message header information to the server. When your web service indeed find a duplicate, assuming that the previous message was simply lost, your web service should return an HTTP 200 with an empty SOAP envelope.

Maybe you are looking for

  • MacBook Pro 15" Display Failure- Nvidia GeForce 8600M GT

    some people are getting positive tests and some are not. what is the deal? clearly the problem is all the same. i think apple needs to step up and realize that any computer shipped out with this gpu is a failure. quite frankly i've read tons of peopl

  • Adobe Photoshop CC 2014 がYosemiteで起動しない

    こんにちは. 下記環境にてAdobe Photoshop CC 2014 をインストールし.起動しようとしたのですが. 「問題が起きたため.Adobe Photoshop CC 2014 を開けません.」というメッセージが出て 起動することが出来ません. 他のInDesignやPremiere Proは起動出来ています.PhotoshopはYosemiteに対応していない のでしょうか.情報.アドバイスいただけると助かります. どうぞ.よろしくお願いいたします. [環境] MacBook Pro

  • Ragarding ALV Report output  running  in background

    Hi All,             When i running report in background , the output is not formatted. i.e. output is not coming in single row for a particular row in a report,it is down to second row. as result when i spool this output to excel (spread sheet) ,the

  • Forms Personalization - FRM-40502: ORACLE error: unable to read list of val

    Hi, I am using Forms Personalization to create an LOV using builtin. In the Builtin, I have put the sql query under create record group from query. In the query, when I hardcode a value, in a where condition, the LOV works fine but when I replace the

  • Archiving Infocube through Process Chain...

    Hi All, I need help in creating process chain for archiving infocube.I am able to archive infocube manually but not getting through process chain. Is it possible to archive infocube through Process Chain?If yes then please give steps to create proces