ABAP Mapping in RFC to SOAP Scenario

Hi Folks,
    I have a scenario to send data from RFC to SOAP. I want to use the ABAP MApping for this case. Can anybody guide me how to do the ABAP Mapping for this case ? It will be real help if somebody can give a step by step guide ?

Hello Again,
Use this link and go to sec 3.1 Do exactly as mentioned in this link.
1. Open http://<host>:<port>/exchangeProfile/index.html
2. Choose IntegrationBuilder -> IntegrationBuilder.Repository ->
3. Maintain the following entry:
R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)
4. Open http://<host>:<port>/rep/support/admin/index.html
5. Choose Administration of Properties -> All Properties
6. If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not correct, choose REFRESH at the top of the page.
How to call XI ABAP Mapping via RFC:
XI: ABAP mapping blogs
Convert an ABAP table into XML file using SAP DOM Approach
Testing ABAP Mapping
Madan Agrawal

Similar Messages


    Hey guys,
    We've implemented in SAP PI 7.11 a RFC-to-SOAP-Scenario. The whole scenario is sync. WSDL and RFC are imported objects.
    Now we're going on to test in backend and call the related remote function module via se37.
    The error message is (from xsmb_moni)::
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:P1>Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:Stack>
    What we've already done:
    -> Cache refresh
    -> server restart
    -> soap fault mapping
    -> dummy changes
    -> mapping is available in sxi_cache
    -> function module is not dumping in backend
    Any ideas how we can go futher with this?
    Thank you very much and greetings,

    Apparently, this error message can sometimes be misleading.
    I found in another thread that this message came after a short dump in the ABAP function. After viewing ST22 in our backend system I noticed short dumps corresponding to the times when I make the SOAP call.
    We can call SE37 with the same parameters and there is no ABAP error. So the search for root cause continues, but maybe this info will help someone.

  • RFC to SOAP Scenario error

    Hello ALL
    I am trying to working in RFC to SOAP scenario in sap pi 7.31 single stack system.with help of blog **************** - Scenario on RFC to SOAP
    i am trying to pass input values from ECC through RFC  to web service .
    while sending data using  function module from ECC system i got following error
    thnx in advance

    Hi Ganesh,
    are you getting any error is SM58? Please check the below blog for configuration
    Michal's PI tips: How do you activate ABAP Proxies with AEX - simplified version
    IDOC_AAE To File with all Configurations
    the below discussion will be useful
    RFC to FILE(7.3) single stack

  • RFC-XI-SOAP scenario

    Hi friends,
    I m doing a RFC-XI-SOAP scenario. I m getting an error when tried to run this.
    soap fault: Server was unable to read request. ---> There is an error in XML document (1, 297). ---> Input string was not in a correct format.
    Is this because of any mapping error or SOAP URL error. Please advice.It is urgent.
    Thanks in Advance.

    Hi Amit,
    Thank you for the quick response.
    Yes. It is a synchronous scenario.
    I tried testing with SAP SOAP client.
    Gave the inbound message payload from sxmb_moni as request. The error I m getting is
    Failed to parse soap message
    Original(raw) message:
    com.sap.uddi.generic.impl.soap.NativeSOAPException : Failed to open socket
    Cause : class java.net.UnknownHostException : proxy
    Is this a reciever side server problem?
    Edited by: Anjana Sankarannambisan on Jun 27, 2008 9:43 PM

  • Rfc  to soap scenarios

    hi expects ,
         can any body send me the rfc to soap scenarios examples.please help me.

    Hi Santosh,
    Check the following link.. hope it will help u..
    Configuring the  Synchronous scenario in XI
    Reward points if helpful.


    Dear Experts,
    I am facing the Following error for RFC to SOAP Scenario, i Tried
    1. Full Cache Refresh
    2.Delete and create Sender Agreement Again
    3.Specifying the Program id Again
    yet the Scenario is not Working, could you please help me in Resolving this at the Earliest
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'ISU64', toParty '', toService '', interface 'YGVK_SEND_WS_TO_WS', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_YGVK_SENDER_WS_TO_WS' (channelId f1219fd41be734a2a72cd3ddcb779475)
    Vijay Karthik G

    copy the sender agreement to the same one but in party field
    remove the " * " (it has to be empty)
    test it and let me know
    Michal Krawczyk

  • RFC  to SOAP Scenario -- Delivery Exception

    Hi All,
    I am working on RFC to SOAP scenario.
    On executing a program in the SAP system, the system is throwing a dump stating                                                   "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML".
    I feel that the error is because of the response not being sent back by the webservice. On executing the webservice independently, it is working fine i.e. sending back the response.
    Can anyone suggest the possible reasons for this error and what needs to be done to rectify this?
    Ravi Kiran

    the return from the Web service must have been an HTML(may be an error page or something)...What kind of authorization does this WS look for ?
    Pls check these threads...
    SOAP Receiver Adapter Proxy Settings
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML

  • Jco.webas.ignore_jdsr_error=1 in the sender side RFC adapter of RFC to SOAP scenario

    Hello Team,
    I am doing RFC to SOAP scenario after configuring the scenario i have checked the sender side communication channel it is not throughing any errors and it shows the status as green but it is displaying a short message
    it is the short log displayed while checking the sender side RFC communication channel it shows that "jco.webas.ignore_jdsr_error=1" can please any one suggest me how we can solve the issue.

    Hi Avinash - I don't think that is an error instead it just displays your  system configuration.
    your RFC adapter should work i believe..
    Are you facing any issues?
    (I think the parameter is nothing but the value @ nwa/java system properties/XPI Adapter:RFC -> ignoreJrfcJdsrError(true/false))

  • Error RFC to SOAP Scenario

    Hi Experts,
    I am getting an error while dealing with RFC to SOAP scenario::
    soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    IS it problem from the webserver in sending the response?
    Please suggest.
    Thanks & Regards,

    Hi Suraj,
    Thanks for the imputs.
    We are given with the webservice by separate team, also I am accessing the application via Citrix. I cant test the WS outside the client network and in client desktop they haven't installed Altova Xml Spy
    Request and response both are generated in Moni. It seems problem in receiving response only ?? WS url is also correct.
    Regarding Receiver Soap parameters:
    I have checked adapter specific identifiers and Variable transport binding.
    Please suggest, if this is problem with the WS, I need to check with the team.
    Thanks & Regards,

  • RFC to SOAP Scenario - WSDL-Import really needed?

    Hey @all,
    we like to feed a webservice via SAP Backend. As middleware we use SAP PI 7.1.
    The planned scenario is RFC to SOAP. The wsdl of webservice (NON-SAP) has no filled soapAction-Parameter and the operation with name "process" occures three times in it with the same name, but each operation "process" has it's own Request / method (axis), like "Request1", "Request2", "Request3". Each request has it's own response.
    In this case it is not possible to import the wsdl as external references correctly - the import gaves an error caused of the identical names of the three operation-parameters.
    The question is:
    Is it possible to work this out without the import of wsdl and without soapAction-Parameter?
    How could we call the correct operation?
    Thanks very much in advance,

    Maybe you could try to editing the WSDL and import it three times e.g for process (1) here is the WSDL (1) --> Make sure you delete the other process.
    Make message mapping for each process and its corresponding response. So that would be, 6 message mappings (request and response) and 3 operation mappings.
    In Integration Directory, call the correct operation in Interface Determination by using xPath.
    although the blog above is for receiver determination, the xPath conditions for interface determination are the same.
    For the without SOAP Action parameter, I guess it is okay to leave blank. I have not used the SOAP Axis though (I used the PLAIN_HTTP adapter for that). Just to be sure, test it in SOAP UI.
    Hope this helps,

  • Mapping problem in SOAP response to RFC response - RFC-XI-SOAP scenario

    Hi gurus,
    response structure from SOAP is as below (inbound msg - in SXMB_MONI)
    MONI and RWB shows successful(I am using graphical mapping)
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
    - <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success">
    - <ns0:SAP_OUT>
           <ns0:F1 Value="1234" />
           <ns0:F2 Value="2345" />
         - <ns0:SAP_LINES>
             - <ns0:SAP_LINE>
                    <ns0:SAP_L Value="1" />
                    <ns0:Field5 Value="" />
                  - <ns0:SAP_S1>
                           - <ns0:SAP_S>
                                   <ns0:ID Value="11111" />
                                   <ns0:SAP__NO Value="0001" />
                                   <ns0:DATE1 Value="08/15/2008 00:00:00:000" />
    I make the RFC response with same structure and mapped it but it is not giving the full structure rather it is giving only this (Outbound Msg in SXMB_MONI)
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Z_MYRFC.Response xmlns:ns1="urn:sap-  com:document:sap:rfc:functions">
    what went wrong?

    You would have forgot to map parent node coming after <STATUS>Success</STATUS>
    Make sure that you have properly mapped all the parents and there child.
    Are you getting the same result while Testing it standalone?
    Sunil Singh

  • Sld configuration for rfc to soap scenario

    Hi all,
    The scenario which i am planning to do, describes how the Custom RFC client application in SAP R/3 System invokes a free Web service (that is hosted over the internet) using SAP XI. For our demo purpose, we have used a free web service available on the Internet.
    In this scenario we will be using “GetQuote” method of Web service “DelayedStockQuote”. This method retrieves the Stock quote for the given Stock symbol. The method “GetQuote” has an input that takes in two parameters Stock Symbol and License Key and returns the following information.
    Link to web service:
    In this scenario, I planned to create two mappings, first between RFC Request  to SOAP Request  and second between SOAP Response to RFC Response .
    Adapter in sender communication channel is RFC.(RFC  Protocol)
    Adapter in receiver communication channel is SOAP.(HTTP Protocol)
                On testing this scenario, In the Sender R/3 system  we have to Execute the Report program we have created earlier. When the program is executed with Stock symbol it should get the details of that stock symbol from the Web service.
    My question here is what would be the sld configuration for webservice.whether it is a Java WAS or third party.If it is a third party or java WAS,what would be the system name and host name.
    Any clarification from you all is welcome and will be highly appreciated.
    With Regards

    I would suggest you is to use third party. It is a web service, and does not matter the technology behind it (if it is java, abap, .net, cobol, no difference! it will be described by a wsld).
    System name and host name doesn't matter too, you will not use this information in runtime, and you will specify host name and so at integration directory. You can make your standard on it, for example, put the name as DelayedStockQuote and host as http://ws.cdyne.com.

  • Reg error in interface mapping in RFC to JDBC scenario

    Hi Techies,
    Iam trying to map the scenario RFC to JDBC.
    In configuration window Iam testing the configuration.
    when Iam testing it is giving the error.
    " com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_mapping_: Parsing an empty source. Root element expected! "
    My mapping is as follows
              PERNR                                     PERNR
              PERID                            PERID
              SHOPN                           SHOPN
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ZTEST_PI_ZHRT002 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:mt_receiver xmlns:ns1="urn:sap-com:RFC2JDBC"><Statement1><ROW action="INSERT"><TABLE>ZHRT002</TABLE><access><PERNR></PERNR><PERID></PERID></access></ROW></Statement1></ns1:mt_receiver>
    Please give suggestion how to go about this.
    Thanks in advance,

    Please check the payload you are using to test the configuration.
    The structure seems to be Incorrect.

  • Synchronous RFC to SOAP scenario (RFC or XI adapter?)

    Hi there,
    i have following functional requirement from my customer, SAP is going to send  some data (3 fields) to XI and XI has to send them to an appl that will return a status. This status has to be sent back to SAP.
    As the appl deals with xml messages, the nonSAP side is going to be integrated via receiver synchronous SOAP CC.
    But question is, which of the following is the best integration approach (adapter to use) in the SAP side??
    At first i thought sRFC and XI adapters would fit these requirements but i have several doubts:
    1)how the RFC is to be implemented to be able to export the data and finally, import the status received from the external appl.???
    2)how could we do this with the XI adapter???  Does it support synchronous messages? Is there any step by step guide on the sdn showing ?
    Thanks in advance and best regards,

    I have created an interface like the below url.
    but i am not getting Response, why it is happening.
    IR, ID test configuration success. but when i am triggering data. not showing in moni.
    please suggest me
    Kiran Polani

  • RFC to SOAP scenario (with out XI/PI)

    Dear Experts ,
    Is it possible to push data from RFC to Webservice with out using XI/PI.

    It is indeed possible, however without having used PI/Xi in the middle, once the mentioned scenario would be implemented, it would be difficult to keep the track of the messages that would flow across systems (i.e. message log, corresponding data etc.). So my suggestion would be to make use of the PI module as a middle ware.
    Please check the URL that regards to your query.

Maybe you are looking for

  • Get file name and path from  adf inputFile

    Hi, I use adf's inputFile component. I need to get the file name and filePath. Does anyone knows how to do that? Thanks in advance

  • Don't like the update. There is a solution.

    Call verizon. Have them forward you to motorola help line. Talk with someone that barely speaks english. (I'd bet their spanish isn't much better.) Tell them your having issues with it. You don't like it and want the older version back.They will tell

  • Webservice proxy with fds2

    Hello all, I am struggling with fds2 and currently fail to use a proxy for my webservice. Maybe I also misunderstand something, cause what I want to do is I want to use the fds/webservice as proxy to gather the calls and forward it to another webserv

  • What event tells me when any data changes in a mx:datagrid?

    I have a mx:datagrid that I need to have an event tell me when anything at all changes in the datagrid. The datagrid can be empty and as such may not have a dataprovider (=null) some of the time. I have looked at a variety of events but none seem to

  • Copying inspection result

    Dear Experts,                        In the production server copying inspection results is possible with one user ID but with another user ID it is giving error. Please let me know if there is any particular related authorization object. Regards Sun