Can't be converted into xml

I am having problem in converting xml.
oracle(7.2.3) -> xi -> sap
SELECT MANDT FROM TEMP1
result : MANDT(100)
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_Businesstrip_Document_Req xmlns:ns="http://xi.ssc.co.kr/XI/PDS_Businesstrip_Document">
     <row>
          <>100</>
     </row>
</ns:MT_Businesstrip_Document_Req>
Root cause:
MESSAGE ID: com.sap.aii.utilxi.misc.api.BaseRuntimeException
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Name expected: 0x3e(:main:, row:4, col:4)
     at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:37)
     at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:78)
     at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105)
     at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)
     at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)
     at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)
     at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:94)
     at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:67)
     at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)
     at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)
     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
     at $Proxy182.processFunction(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
     at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
     at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
oracle(9i) -> xi -> sap
SELECT MANDT FROM TEMP1
result : MANDT(100)
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_Businesstrip_Document_Req xmlns:ns="http://xi.ssc.co.kr/XI/PDS_Businesstrip_Document">
     <row>
          <MANDT>100</MANDT>
     </row>
</ns:MT_Businesstrip_Document_Req>

Hi,
Suggest you take a look at these 2 notes on service market place,<b>867176.</b>
Also, another option is to turn on debuggging trace in JDBC adapter so that you can see the SQL query being executed and data being returned in the Adapter Montioring. For this , see note : 801367
Regards,
Bhavesh

Similar Messages

  • Idoc be converted into XML format

    Hi,
    Can  idoc be converted into XML format? If yes guide me the path , how to do?
    Thanks
    Avi

    <b>Hi,
    we can .
    Follow the link
    http://www.erpgenie.com/sap/sapedi/Conversion%20of%20IDOCs%20to%20XML%20format.pdf</b>
    Thanks
    Manju
    <u><b>Don't repeat the Questions</b></u>

  • How to retrieve data from catsdb table and convert into xml using BAPI

    How to retrieve data from catsdb table and convert into xml using BAPI
    Points will be rewarded,
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Hi,
    This is not your requirment but u can try this :
    CREATE OR REPLACE DIRECTORY text_file AS 'D:\TEXT_FILE\';
    GRANT READ ON DIRECTORY text_file TO fah;
    GRANT WRITE ON DIRECTORY text_file TO fah;
    DROP TABLE load_a;
    CREATE TABLE load_a
    (a1 varchar2(20),
    a2 varchar2(200))
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY text_file
    ACCESS PARAMETERS
    (FIELDS TERMINATED BY ','
    LOCATION ('data.txt')
    select * from load_a;
    CREATE TABLE A AS select * from load_a;
    SELECT * FROM A
    Regards
    Faheem Latif

  • How to obtain the number of words of a protected pdf file that can't be converted into a word file?

    I need to get the number of words of pdf files. I usually convert them into word files to get the word count. Some pdf files are protected and can't be converted into word files. Is there another way to get the number of words of these protected pdf files? I use adobe professional XI Pro.

    Scroll through and read the answers available in the thread below. You may find the information helpful.
    Trying to write Javascript code to get word count
    Be well...

  • "GWCommanderClass can't get converted into GWCommanderClass"

    I'm using a mix of C3PO & GW Token API. My language is C# and the Program is made for archiving into different archive storage systems.
    Here my Error Message in German: 'Das Objekt des Typs "GroupWiseCommander.GWCommanderClass" kann nicht in Typ "GroupWiseCommander.GWCommanderClass" umgewandelt werden.'
    Translated: 'The object of the type "GroupWiseCommander.GWCommanderClass" can't be converted into "GroupWiseCommander.GWCommanderClass".'
    I got a C3PO which is using token API (GWCommander) to:
    a) save the mail in mime format on the harddrive (ItemSaveMessage)
    b) get the current logged in username (EnvUserID(1;0);)
    My Program is first calling the ItemSaveMessage GW token from within the C3PO. Afterwards, it loads a archive dll which will do something with the eml file on the archive storage. The loaded dll is using another gwcommanderclass object to execute the EnvUserID token.
    So, I got 1 commander object in my c3po dll and one commander object in a seperate dll which we replace, depending on the connected systems.
    I heard, that it's recommended to free the gw commander object as soon as possible. So I set the gwcommander object to "null", directly after using it. But I still receive this weird error.
    This behaviour is not 100% reproduceable.
    One time it works fine with 10 tries and no error during the archiving process.
    Sometimes I get this error after I archived the first item.
    Thanks in advance for any kind of help/hint, regarding this issue.

    Problem solved: I just moved the Commander Object code from the C3PO Dll into the second DLL.

  • Which are function modules used to convert into XML format in SAP 4.6c Ver

    which are function modules used to convert into XML format in SAP 4.6c Ver

    Hi,
    check this program , I think this will help you
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
    data(256) TYPE x,
    END OF xml_line.
    data : itab like catsdb occurs 100 with header line.
    data : file_location type STRING.
    data : file_name like sy-datum.
    data : file_create type STRING.
    file_name = sy-datum .
    file_location = 'C:\xml\'.
    concatenate file_location file_name into file_create.
    concatenate file_create '.XML' into file_create.
    DATA: l_xml_table TYPE TABLE OF xml_line,
    l_xml_size TYPE i,
    l_rc TYPE i.
    select * from catsdb into table itab.
    append itab .
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    I_FILENAME =
    I_APPL_KEEP = ' '
    I_XML_DOC_NAME =
    IMPORTING
    PE_BIN_FILESIZE = l_xml_size
    TABLES
    i_tab_sap_data = itab
    CHANGING
    I_TAB_CONVERTED_DATA = l_xml_table
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 24
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
    bin_filesize = l_xml_size
    filename = file_create
    filetype = 'BIN'
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 24.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
    Thanks.

  • Reading files and converting into xml structure

    Hi,
    In my application a client requests for the folder structure information to a server through RMI. The server needs to read files and folders on local machine and convert it into some structure (I am thinking of using xml) and send it back. For eg: I am planning to have Server send back something like:
    <directory name = "parentdirectory">
    <file name = "abc.jpg"/>
    <file name = "def.bmp"/>
    <directory" name = "subdirectory">
    <file name = "hij.jpg"/>
    <file name = "klm.bmp"/>
    </directory>
    </directory>
    It is just the names of the files I am interested in and not the contents. Is this a good approach of sending back the data as a string containg xml definition. Is there any better appproach in terms of performance, memory etc? I am currently planning on using DOM for construction of this structure. Is there a source code for reading and converting the folder structure into xml. Just for your information, the clients gets this information and shows it as a tree structure on the GUI.
    Thanks!!!!

    Is this a good approach of sending back the data as a string containg xml definition. It'll work.
    An alternative, more direct approach is to build a memory representation and send this as argument/return value of an RMI call. You'd need to write classes MyDirectory and MyFile; MyFile has just a name; MyDirectory has a name and a collection of MyDirectory and one of MyFile. Make these classes implement Serializable and you can send them over RMI.
    The effort to write those trivial classes would be less than to implement XML encoding/decoding, and also in terms of runtime performance and memory it will be hard to beat Java's serialization with anything XML-based. In this case I doubt performance/memory are relevant considerations though.
    If for some reason I'd go for sending XML Strings anyway, I wouldn't do the encoding/decoding myself; I'd use XStream to convert Java classes to/from XML and still end up writing the above two classes and be done.
    Sorry if you wanted a simple yes or no :-)

  • Songs can't be convert into Ring Tone

    There seems to be a problem with itunes or with the songs buying online. When i bought the songs and try to convert into ring tones it say "this song can no longer be covert into a Ring tones" i bought about 5 to 6 songs and all of them says the same thing, actully the first one i bought works then none of the rest works. Now can anyone tell me how solve this problems. thanks

    go here
    http://www.dyohanan.com/apple/iphone-ringtone-maker/
    the trial software allows you to make 3 ringtones, and they actually work. i have 2 new FREE ringtones on my iPhone, the actual version only cost $15, so thats a pretty good deal. Check it out.

  • Convert into XML Format

    Hi all,
    Can anyone tell how to convert the data in R3 to XML format.
    thanx,
    krish

    same thread.
    Re: function module to covert  internal table to xml format
    for more reference.
    ABAP to XML with several internal tables
    Re: Convert to XML format

  • Can we change table into XML through OWB

    Hi everyone,
    Is it possible to change table into XML through OWB?
    Can anybody help me.
    just send me the steps to do
    Thanks in advance
    Rachit

    Hello, Rachit
    As far as I understand our question – you need to export data from the table into XML file.
    I don’t think you have direct operator within OWB (at least for ver. 9.2.0.4). But anyway, you could write PLSQL procedure using DBMS_XMLQUERY to perform XML generation and transform it with your stylesheet.
    Unfortunately, this package uses DOM to work with XML, so could have a serious memory consumption while trying to export large tables this way.

  • After creating a keynote, can it be converted into a powerpoint?

    after creating a keynote can I convert it to a powerpoint to show on my company systems?

    Some tips:
    Lots of builds and transitions messes up the PPT file. Conversations are pretty much a waste of time for anyone serious about presentations in Keynote. They'll always look better in Keynote.
    I have read that text box borders messes up the PPT export. Remove them before export: you can take a screenshot of them before you delete them, and then drag them into the respective slides in PPT.
    For those with literally zero transitions and builds, export to PDF. Simple and easy. Or, export as images and then use those images as slides in PPT.
    For those of us with transitions and builds (all of us I presume), export to a quicktime movie. My favorite option. This way, it'll play on pretty much any computer, you won't have to recreate the pres in PPT, and it's more professional. Who wants to open up a PPT file and then be stuck in the PPT program? A movie file is just better all around. Unless you need others to use the file to present to people in a conference room, you might be stuck recreating your Keynote in PPT. And, don't be afraid to import this movie into iMovie or FCP to do some additional editing.
    Anyway, my view is converting to PPT is a waste of time for those with lots of builds, transitions, and text effects like kerning, text box borders, etc.

  • Converting into XML without using DOM

    Hi there,
    I need to generate a XML file on the fly, given a HashMap. It will be used later to feed into XSLT parser.
    Instead of using DOM parser which is memory intensive, I am generating the XML by appending the necessary into a String. For eg:
    StringBuffer st = new StringBuffer();
    sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    sb.append( "\n" );
    sb.append("<"+ transaction.getCode() + ">");
    ...........................so on
    I tried to gain resources in the book, but every example will actually use DOM to build a XML file.
    I am just thinking what is the repercussion if i do not use DOM.
    Could anyone please advice.
    Thanks.

    None really, if you don't need to walk the tree and have random access. Some find it hard to read / maintain, but I don't mind it. If you are just outputting to XSLT, what you are doing will work fine.

  • Convert binary data (TIFF image) into XML - how ?

    Hi,
    I have the following requirement:
    1. A document is scanned and a TIFF image is saved in a directory
    2. The File adapter picks up the image file and sends into XI
    3. The binary data is converted into XML so a Web Service can be called (this web service will store the image in a database application)
    <b>The part I am struggling with is the convert of the incoming binary data into a XML format document which will allow the Web Service to be called.</b>
    Graphical mapping cannot be used therefore I am left with 3 options:
    1. XSLT mapping
    2. Java mapping
    3. ABAP mapping
    Can anyone suggest the best option to use in these circumstances and provide some sample snippet of code on how to do it.
    I am alright at XSLT mapping but this is beyond me and Java mapping is completely new to me as I have very limited Java knowledge.
    Thanks for your help
    Colin.

    Hi Colin
    Look for the below link
    https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    <b>***Reward point if helpfull</b>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b</a>

  • Converting IDOC messages into XML in SAP

    Dear experts,
    I wanted to know how one can setup that the IDOC messages in the SAP can be converted into XML file.
    I have a programme and have tested this seems to work, however, I need to know where exactly should i implement this, after the IDOC has been created and then needs to be converted into XML structure.
    The information I already have found in the forum and programme also, but dont have a very clear methodology to do this.
    Any information or tips or tricks could be useful.
    Br,

    Just Create an XML File Port ( In WE21 ).
    Provide path of the application server in Directory Field.Use function module from F4 help for file naming Conventions.
    in outbound trigger tab,mention the RFC destination which starts the program RFCEXEC on application server.

  • Imported RFC with problem in converting to XML

    Hello,
    another nice issue:
    I have an aRFC with this import parameter from ABAP:
    data: p_data type tab512 occurs 0.
    Call function.......
    Tables
    DATA = p_data
    This is the XML source from the mapping test in Int.Rep.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:Z_BI_SEND_DATA_512 xmlns:ns="urn:sap-com:document:sap:rfc:functions">
      <SYSID_HOME>AAA</SYSID_HOME>
      <TARGETSYS>BBB</TARGETSYS>
      <DATA>
        <item>test1</item>
        <item>test2</item>
        <item>test3</item>
      </DATA>
    </ns:Z_BI_SEND_DATA_512>
    This is the payload from SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_BI_SEND_DATA_512 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <SYSID_HOME>AAA</SYSID_HOME>
      <TARGETSYS>BBB</TARGETSYS>
    - <DATA>
    - <item>
      <WA>test1</WA>
      </item>
    - <item>
      <WA>test2</WA>
      </item>
    - <item>
      <WA>test3</WA>
      </item>
      </DATA>
      </rfc:Z_BI_SEND_DATA_512>
    Looks like there is a difference (imported RFC in mapping does not show the work area WA)(so: mapping requires
    <DATA>
        <item>test1</item>
    but RFC generates
    - <DATA>
    - <item>
      <WA>test1</WA>
    which hinders the mapping from moving the item lines into the destination file because in mapping the WA area cannot be linked as it is not recognized in mapping.
    Any ideas are welcome!
    Regards
    Dirk

    Hi everyone
    My problem is related to Dirk's one in that I am using an RFC to send XML data from CRM to XI.
    I am trying to send the following string:
    <TEST>GREG</TEST>
    However on XI the payload looks like this:
    <xml version="1.0" encoding="UTF-8"?>
    <rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    <IV_CATALOG>&#60;TEST&#62;GREG&#60;/TEST&#62;</IV_CATALOG></rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG>
    As you can see < is converted into &#60;
    Where and how do I specify that the content of the parameter must not be interpreted?
    Thanks
    Greg

Maybe you are looking for

  • How to print borderless with HP Office Jet Pro 8100?

    HP Office Jet Pro 8100 printer  I changed the setting to borderless in the advanced setting but still got borders on the picture.

  • Sequence frame size/black border

    I created several sequences in Final Cut Pro 4, which all seem to have the same settings, but some of them have a black border around the picture and a smaller picture size. When I export a Quick Time Movie of the sequence, the boarder still exists i

  • Red triangle/exclamation point on text thread

    About a week ago, when I'd open up the menu listing all of my text threads with various people, I noticed a red triangle/exclamation point icon showing up next to the name of one person.  A few days ago, I began experiencing trouble opening up this p

  • XML file for loading different classes in application ?

    Hi, I want to configure a small application ( a simulator ) using a XML file. The XML file determines the classes, whih should be loaded, and initialize the variables (values set in the XML files). I want to have different modules (same functionality

  • How do you change the nominal range settings from 0-10v to 0-1v

    Currently using a PCI-6052E with Mac OS, how do you change the resolution accuracy? In other words from say 0-10V full scale for an AI to 0-1V full scale?