Failed transformation xml-rfc to rfc

Hi,
I have to scenario rfc to jdbc sync, SAP MI <-> XI, but when I executed the rfc, i don´t have problem in SXMB-MONI,  but returned the dump in MI " Failed transformation xml-rfc to rfc". What happen?
Tks.

The error isnt logged in SMXB_MONI because it happens in Adapter Engine, which is in java stack (and SXMB_MONI is in abap stack). Therefore you won't be able to see the error there.
Go to Runtime WorkBench, Message Monitoring and check the errored message there. Open the details screen and check the Audit Log for futher information about the error you got.
Regards,
Henrique.

Similar Messages

  • Failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)

    Hi All,
    I am working on Rfc-SOAP scenario.
    I am getting error in SAP, there is no error in SXMB_MONI, responce is successfull and correct from SOAP.
    In SAP Dump is saying following
    Runtime Error          CALL_FUNCTION_REMOTE_ERROR
    Date and Time          08/07/2007 09:14:14
    "failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)
    Please guide
    Regards

    Hi Rohan !!
    Check this threads:
    - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    - CALL_FUNCTION_REMOTE_ERROR
    to see if you have correctly configured the RFC Sender, and the possible cause of error.
    Regards,
    Matias.

  • XML file to RFC

    Hi,
    i have scenario (XML file to RFC), it's by BPM, I can see XML content by file sender adapter but can't get detail field data into my data type of interface. what's wrong, please advise! Thanks!
    my data type as follows,
        EXPORT Complex type
          SHIP       element
          INVOICE element
    and file content as follow
      <?xml version="1.0" ?>
    - <EXPORT>
      <SHIP>A</SHIP>
      <INVOICE>ZZ12387379</INVOICE>
      <?xml version="1.0" ?>
    </EXPORT>

    >
    robert yu wrote:
    > I still can't understand, Could you give me more information? Thanks!
    when you receive/ process an XML....this XML has a namespace associated to it.....which in your case should be http://aaa.bbb.com/SVRFIS/Forwarder_File.....
    However looking at your Payload ther is no namespace in it....so what you do is...open the Interface/Message mapping--- go to the Test tab and click on the SRC tab and then check what/ how the namespace should be or rather how the XML should be while testing...it would be something like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Name xmlns:ns0="http://aaa.bbb.com/SVRFIS/Forwarder_File">

  • XML file to RFC (BAPI)

    hi
    can you please give the configuration steps that i have to follow while doing xml file to RFC,
    1)configurations in XI part
    2)configurations in R/3 part
    and i am using bpm in this scenario, is there any need of  "program id " while doing configurations in ID part, from where we get this programid. if you have some screnshots of this scenario, can you please forward it to me.
    mailid:[email protected]
    regards
    Pradeep P N

    hi pradeep,
       no need of defining programid here...because u r using RFC as receiver...
    dont define the RFC as sender....if u do so it will ask u the programid..
    in u r case RFC is a receiver,so no need to define programid....
    watch this
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    thanx,
    krish..

  • Map XML content to RFC Input parameters

    Hello
    I have a MII Transaction that opens a xml file from a legacy system, this transaction have to handle the content of that XML file and fill out the BAPI_PRODORDCONF_CREATE_TT parameters.
    My transaction is already reading the XML using Reference Document Loader, this feature is working properly.
    The question is... what are the different ways to map my XML to the RFC parameters ?

    This blog might help:
    http://scn.sap.com/people/padmavathi.rao2/blog/2009/03/14/mii-odyssey-how-to-pass-table-structure-to-bapi-using-jco-interface-of-erp-system-interface-in-mii-12
    Regards,
    Christian

  • RFC to RFC scenario fails with error

    Hello Guys,
    In our XI support we found errors for RFC to RFC scenario.
    Some messages failed with the below error :
    SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>503</SAP:P1>
      <SAP:P2>Service Unavailable</SAP:P2>
      <SAP:P3 />
    Latter the new RFC messages were having this error :
      <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: Object not found in lookup of RfcAFBean.</SAP:AdditionalText>
    Now all the messages are getting processed.
    Can you please tell me the cause this happens every now and then.
    What is the solution.

    Hi Rajeev,
    See these threads:
    Re: HTTP_RESP_STATUS_CODE_NOT_OK - Error in ABAP proxy
    Re: 503 Error -  HTTP_RESP_STATUS_CODE_NOT_OK
    XIServer error raised: 503 Service Unavailable with SOAP Adapter
    http://www.saptechies.com/http-errors-in-xi/
    HTTP_RESP_STATUS_CODE_NOT_OK 503
    I hope these will solve your problem. Rewards with points if helpful.
    BR,
    Alok

  • RFC call failed : Error when opening an RFC connection

    Hi,
    As a result of "Start Data Collection" operation in the t-code RZ70, I have got this error.
    "RFC call failed : Error when opening an RFC connection"
    Others things are with success message.
    Regards,
    Bala Raja

    hi
    check this links
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
    also check Tcode: SLDAPICUST.
    run tcode SLDCHECK? any error?
    Thanks
    Rodrigo
    PS: If useful reward points

  • ** JCO$Exception Problem in RFC to RFC scenario

    Hi Friends,
    I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
    Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.

    Hi
    Restart the Receiver System once and try again.
    Go throgh the following thread
    (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Regards
    Sridhar Goli

  • RFC to RFC using BPM ?

    hello all..
    i knw the RFC calls being synchronous..
    i knw i can call RFC to RFC without using BPM..
    i was wondering, if i go in for an RFC to RFC call with uing BPM, does it makes sense?
    the scenario i was working on, with two sync call, was goin into time out stage and surely performance was affected...
    wot do u say on the mentioned scenario?
    regards,
    Vishal

    rahul,
    i did try the same but ther seems to b error on the receive step...
    i presume, it had to b receive (sync) and then the send async and then the receive async and the  closing the send sync bridge...
    correct me if im wrong..
    or else if i take the request of sender rfc in an interface to make it to b async then use the receive step?
    but in tht case my data itself was not passin... a dump on the report sayin,
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException"...
    regards,
    Vishal

  • Scenario SAP R/3 --(RFC)-- XI--(RFC)-- JCo.Server

    Hello,
    I am wondering if anyone can send me some feeback for such scenario. SAP R/3 version is 4.6c, SAP XI is 3.0 and JCo are 2.0.12.
    I am having some trouble which I think are link to the fact that the SAP XI is Unicode and not the JCo.Server ... However I was thinking SAP XI will adapt, since it works well for scenario SAP R/3 (RFC)> XI (RFC)> SAP R/3.
    Thanks for your feeback.

    Hi Grégory,
    I guess I faced a similar problem,  the problem was that in the receiver RFC adapter you have to specify both an RFC target system and a system to lookup the metadata.
    The target RFC system hat to have the same unicodeness of the metadata lookup system that means in your case that if jco server is non unicode also you R3 has to be non unicode otherwhise it will not (never) work, because this is a mandatory requirement of the RFC adapter.
    In my case this was not possible so I was redirecting the RFC call to the ABAP stack of XI (where I had exposed the same function module which was simply recalling the same function module to the target system) and it worked/works.
    Regards,
    Sergio

  • Third party system (JCO) ---RFC--- PI ---RFC--- ECC

    Hello all,
    We are trying to implement the following scenario:
    Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
    The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
    1. This step is working correctly. Connection is OK.
                JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
                                                                                    "user_id", // userid
                                                                                    "********", // password
                                                                                    "pt", // language
                                                                                    "10.x.x.x", // application server host name
                                                                                    "01"); // system number
                mConnectionPI.connect();
    2. This step is not working correctly:
                JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
    We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • Message processing failed in XML parser

    This is IDoc to file integration. When I test (WE19), I did not put any value in the 'Quantity' field (which is 6 characters long).In the message mapping I put a condition to see if the value is empty then put zero, and it did not give any error. I have given all the fixed field lengths in the file adapter but still getting the following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value 'TABLERO DE CONTROL' too long (>6 for 2. column) - must stop', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value 'TABLERO DE CONTROL' too long (>6 for 2. column) - must stop', probably configuration error in file adapter (XML parser error)'

    When I enter value in the 'Quantity' field, the integration works fine. The value 'tablero de control' is the 'Description'  which is the next field. My Content Conversion is like;
    Field1, Field2, Quantity, Description
    (where Field1 and Field2 are mandatory and Quantity and Description are optional)
    When I provide all 4 values, the integration work just fine, when I do not provide 'Quantity' it fails.

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • Transforming XML/XSLT : CDATA problem

    Hi!
    I have a problem transforming xml with XSLT using the API javax.xml.
    The result is correct until I have a CDATA section in my xml document.
    The transforming process encodes all the & < > (special characters) it finds in.
    This occurs problem for the follow of my treatement because the content of my CDATA is already encoded.
    For example, this xml code :
    <?xml version='1.0' encoding="ISO-8859-1" ?>
    <article>
    <article-contenu><![CDATA[Accent : &eacute; Signe : &lt;]]></article-contenu>
    </article>
    produces in my output :
    Accent : &amp;eacute; Signe : &amp;lt;
    This is my java code :
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Source xmlSource = new StreamSource(readerXml);
    Source xslSource = new StreamSource( fileXsl );
    // Generate the transformer.
    Transformer transformer = tFactory.newTransformer(xslSource);
    // Perform the transformation, sending the output to the response.
    transformer.transform(xmlSource, new javax.xml.transform.stream.StreamResult(sw));
    How can I tell the transformer not to do that?
    Thanks for your answers!

    I am having a similar problem. I have enclosed my text data in my xml file like this:
    <![CDATA[<b>Hello World!</b>]]>
    My select statement in my XSLT sheet is as follows:
    <xsl:value-of select="." disable-output-escaping="yes"/>
    I have tried setting xsl:output to text, to html, and to xml. The <, >, and & get converted to xhtml entities.
    Where should I begin to troubleshoot? If the Xalan xslt jars? My stylesheet. My xml doc? Java code?
    Any feedback welcome.

  • Transform XML and display xsl:message

    Hi,
    I have a simple method to transform XML. My XSLT has <xsl:message> to help debugging while transforming. How do I access the messages to System.out.printLn?
    public static Document transformXML(Document xmlDoc, Document xslDoc) throws XMLHelperException {
              try {
                   TransformerFactory factory = TransformerFactory.newInstance();
                   Transformer transformer = factory.newTransformer(new DOMSource(xslDoc));
                   DOMResult result = new DOMResult();
                   transformer.transform(new DOMSource(xmlDoc), result);
                   org.w3c.dom.Node resultNode = result.getNode();
                   if (resultNode instanceof Document) return (Document)resultNode;
                   else return result.getNode().getOwnerDocument();
              } catch (TransformerConfigurationException ex) {
                   throw new XMLHelperException("Unable to perform transform " + ex.getLocationAsString(), ex);
              } catch (TransformerException ex) {
                   throw new XMLHelperException("Unable to perform transform " + ex.getLocationAsString(), ex);
         }thanks for the help.
    Edited by: bonekrusher on Mar 8, 2008 2:27 PM
    Edited by: bonekrusher on Mar 8, 2008 2:27 PM

    public class XForm {
         public static void main(String[] args) throws Exception {
              InputStream xslStream = null;
              InputStream xmlStream = null;
              try {
                   TransformerFactory tf = TransformerFactory.newInstance();
                   xslStream = new BufferedInputStream(new FileInputStream(args[1]));
                   Transformer t = tf.newTransformer(new StreamSource(xslStream));
                   tf.setErrorListener(new ErrorListener() {
                        public void error(TransformerException ex) throws TransformerException {
                             ex.printStackTrace();
                        public void fatalError(TransformerException ex) throws TransformerException {
                             ex.printStackTrace();
                        public void warning(TransformerException ex) throws TransformerException {
                             ex.printStackTrace();
                   xmlStream = new BufferedInputStream(new FileInputStream(args[0]));
                   t.transform(new StreamSource(xmlStream), new StreamResult(System.out));
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   if (xslStream != null)
                        xslStream.close();
                   if (xmlStream != null)
                        xmlStream.close();
    <test>
         <sample try="yes">
              a
         </sample>
    </test>
    <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan">
         <xsl:template match="/">
              <xsl:message terminate="no">got here</xsl:message>
              <xsl:apply-templates/>
         </xsl:template>
         <xsl:template match="*|@*">
              <xsl:copy>
                   <xsl:apply-templates/>
              </xsl:copy>
         </xsl:template>
    </xsl:transform>          

Maybe you are looking for

  • Issue in Multiload script and import text file format

    I am using text output file from essbase to be imported to HFM using multiload The separator is tab for records. It seems i need to use tab separator in row 6 of text file (multiload) for dimension tags because separator should be same as in data rec

  • SMS outgoing messages not showing in messaging apps since kitkat

    Since the upgrade, when I use the integrated Voice Mate or Google Search to create an SMS, it successfully sends it, but the outgoing text does not show in the SMS app.  I've tried the stock SMS and other 3rd party apps, with the same results.  Howev

  • 'No date' files in Open file dialog window

    It is annoying to open recent created/modified files/folders.  They are dated as 'no dated'. This does not happen browsing files/folders in Finder. This snapshot was taken on Nov 24 and "Today" contains Nov 17 files And here 'No Date' files at bottom

  • Recover Xperia ZR notes app.

    A while ago, I backed up my Xperia ZR. I did a factory reset, and tried to recover the back up files; however according to the Sony PC companion, now my phone has an older version of the OS so I cannot apply the backup file. I tried to recover the no

  • Lost some Thumbnails and some Full Size

    I've noticed after installing V6 that some of my thumbnails are missing. Worst yet that a lot of the full size pitures are not showing in the edit screen. They are however showing as thumbnails. I've also noticed that the folder names used for storin