<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem in XML file Read in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326908#M511460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the function module and its dumping in the line inside the FM  (line no 53)&lt;/P&gt;&lt;P&gt; l_oref_descr_source ?=&lt;/P&gt;&lt;P&gt;      cl_abap_typedescr=&amp;gt;describe_by_data( &amp;lt;fs_temp_data&amp;gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't proceed. Can u suggest me ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 09:19:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-11T09:19:43Z</dc:date>
    <item>
      <title>Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326905#M511457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the code, CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD has been used &lt;/P&gt;&lt;P&gt;to uplaod the excel sheet data.&lt;/P&gt;&lt;P&gt;2. After upload,its been tried to convert the uploaded data to XML by following &lt;/P&gt;&lt;P&gt;code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ixml = cl_ixml=&amp;gt;create( ).&lt;/P&gt;&lt;P&gt;xmlDoc = ixml-&amp;gt;create_document( ).&lt;/P&gt;&lt;P&gt;streamFactory = ixml-&amp;gt;CREATE_STREAM_FACTORY( ).&lt;/P&gt;&lt;P&gt;iStream = streamFactory-&amp;gt;CREATE_ISTREAM_STRING( xmlString ).&lt;/P&gt;&lt;P&gt;iXMLParser = iXML-&amp;gt;create_parser( stream_factory = streamFactory&lt;/P&gt;&lt;P&gt;istream = iStream&lt;/P&gt;&lt;P&gt;document = xmlDoc ).&lt;/P&gt;&lt;P&gt;iXMLParser-&amp;gt;parse( ).&lt;/P&gt;&lt;P&gt;ixmlDocument = xmlDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After creation of xmlDoc its trying to get root element from xml doc by&lt;/P&gt;&lt;P&gt;rootnode = if_ixml_document~get_root_element. &lt;/P&gt;&lt;P&gt;its not returning the root element reference to rootnode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In method cl_ixml_document-&amp;gt;if_ixml_document~get_root_element, its calling &lt;/P&gt;&lt;P&gt;below statement &lt;/P&gt;&lt;P&gt;system-call ixml&lt;/P&gt;&lt;P&gt;did 954859521&lt;/P&gt;&lt;P&gt;parameters&lt;/P&gt;&lt;P&gt;cl_ixml=&amp;gt;the_iXML&lt;/P&gt;&lt;P&gt;me&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;rval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and rval has became null reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me to resolve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bhuvana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326905#M511457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T08:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326906#M511458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use FM SAP_CONVERT_TO_XML_FORMAT to convert data to XML.&lt;/P&gt;&lt;P&gt;Or u can use some threads related to this FM. So that u can get better idea about this.&lt;/P&gt;&lt;P&gt;Check this link also&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="387454"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326906#M511458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T08:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326907#M511459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you want to convert the excel file to xml file or read the data in excel and convert that to xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to convert excel file to xml (excel xml) the best option is to open the file in excel and saveas xml (excel xml) file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to just convert the data to xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gui_upload to upload excel file and read the data in to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transformation key word to convert itab to xml&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326907#M511459</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-06-11T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326908#M511460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the function module and its dumping in the line inside the FM  (line no 53)&lt;/P&gt;&lt;P&gt; l_oref_descr_source ?=&lt;/P&gt;&lt;P&gt;      cl_abap_typedescr=&amp;gt;describe_by_data( &amp;lt;fs_temp_data&amp;gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't proceed. Can u suggest me ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326908#M511460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326909#M511461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have uploaded my excel file to SAP and converted into xml by the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ixml = cl_ixml=&amp;gt;create( ).&lt;/P&gt;&lt;P&gt;xmlDoc = ixml-&amp;gt;create_document( ).&lt;/P&gt;&lt;P&gt;streamFactory = ixml-&amp;gt;CREATE_STREAM_FACTORY( ).&lt;/P&gt;&lt;P&gt;iStream = streamFactory-&amp;gt;CREATE_ISTREAM_STRING( xmlString ).&lt;/P&gt;&lt;P&gt;iXMLParser = iXML-&amp;gt;create_parser( stream_factory = streamFactory&lt;/P&gt;&lt;P&gt;istream = iStream&lt;/P&gt;&lt;P&gt;document = xmlDoc ).&lt;/P&gt;&lt;P&gt;iXMLParser-&amp;gt;parse( ).&lt;/P&gt;&lt;P&gt;ixmlDocument = xmlDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when  I retrive the root node from ixmldocument its not returning the value in root node. (if_ixml_document~get_root_element. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried call transformation as well. That statement also leeds to dump.&lt;/P&gt;&lt;P&gt;I tried the standard demo program (BCALV_TEST_FULLSCREEN) which is using call transformation. That is also dumping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326909#M511461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326910#M511462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post your call transformation code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(with relevent data declarations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont see call transformation being used in BCALV_TEST_FULLSCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whats the dump message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326910#M511462</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-06-11T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in XML file Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326911#M511463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I could able to execute the same program. But I couldn't get and node data from the imported file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the code, CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD has been used &lt;/P&gt;&lt;P&gt;to uplaod the excel sheet data.&lt;/P&gt;&lt;P&gt;2. After upload,its been tried to convert the uploaded data to XML by following &lt;/P&gt;&lt;P&gt;code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ixml = cl_ixml=&amp;gt;create( ).&lt;/P&gt;&lt;P&gt;xmlDoc = ixml-&amp;gt;create_document( ).&lt;/P&gt;&lt;P&gt;streamFactory = ixml-&amp;gt;CREATE_STREAM_FACTORY( ).&lt;/P&gt;&lt;P&gt;iStream = streamFactory-&amp;gt;CREATE_ISTREAM_STRING( xmlString ).&lt;/P&gt;&lt;P&gt;iXMLParser = iXML-&amp;gt;create_parser( stream_factory = streamFactory&lt;/P&gt;&lt;P&gt;istream = iStream&lt;/P&gt;&lt;P&gt;document = xmlDoc ).&lt;/P&gt;&lt;P&gt;iXMLParser-&amp;gt;parse( ).&lt;/P&gt;&lt;P&gt;ixmlDocument = xmlDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After creation of xmlDoc its trying to get root element from xml doc by&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rootnode = if_ixml_document~get_root_element. &lt;/P&gt;&lt;P&gt;name = rootnode-&amp;gt;get_attribute( 'name' ).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I am not getting other node data also ?&lt;/P&gt;&lt;P&gt;I couldn't find where I am doing the mistake.&lt;/P&gt;&lt;P&gt;Can any one help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-xml-file-read/m-p/2326911#M511463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T14:24:35Z</dc:date>
    </item>
  </channel>
</rss>

