<?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: Reading the Application server file into XML format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256934#M1631704</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;Please try this class method class :  CL_EX_ISHMED_MV_CONVERT_XMLOUT &lt;/P&gt;&lt;P&gt;method : IF_EX_ISHMED_MV_CONVERTER~CONVERT_DOCUMENT&lt;/P&gt;&lt;P&gt;I never used it but try this out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 14:43:39 GMT</pubDate>
    <dc:creator>former_member192432</dc:creator>
    <dc:date>2011-10-05T14:43:39Z</dc:date>
    <item>
      <title>Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256931#M1631701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file in application server..i m reading that file and i have stored the file in internal table...is there any provision to show that in XML format...As i have stored the XML format data into application server and then again i want to read that file in XML format from a report..IS this possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 13:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256931#M1631701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-05T13:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256932#M1631702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;refer this document &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b2dcbdfc-0801-0010-97bd-b3f39420759c?quicklink=index&amp;amp;overridelayout=true" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b2dcbdfc-0801-0010-97bd-b3f39420759c?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;reg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 14:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256932#M1631702</guid>
      <dc:creator>former_member712377</dc:creator>
      <dc:date>2011-10-05T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256933#M1631703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't unserstand what you ultimately want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood you have an XML file on your application server and you read it in, probably with OPEN DATASET, READ DATASET, from there into your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why do you read it into an internal table and not into a variable of type Xstring?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Do you mean you want to display the XML File which you read from the application server? If yes, you have to read the file into an XSTRING variable and then use FM "DISPLAY_XML_STRING"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't help you, please clarify your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 14:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256933#M1631703</guid>
      <dc:creator>Lukas_Weigelt</dc:creator>
      <dc:date>2011-10-05T14:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256934#M1631704</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;Please try this class method class :  CL_EX_ISHMED_MV_CONVERT_XMLOUT &lt;/P&gt;&lt;P&gt;method : IF_EX_ISHMED_MV_CONVERTER~CONVERT_DOCUMENT&lt;/P&gt;&lt;P&gt;I never used it but try this out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 14:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256934#M1631704</guid>
      <dc:creator>former_member192432</dc:creator>
      <dc:date>2011-10-05T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256935#M1631705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas...Thanks for ur reply...&lt;/P&gt;&lt;P&gt;Actually i am having .XML (In tcode FDTA)file... by using BADI i am saving the .XML data in application server directly(as in the BADI i am getting the data in form of internal table of type TAB_DMEE_OUTPUT_FILE) so i am saving the file in AL11 by .TXT format(can i save directly that file in .XML format in AL11??)..so now i have created a new report that will call the AL11 file in .TXT format and do some modification and store in some other folder in AL11..in the report i am placing one pushbutton to see what are all the modifications done...so for this purpose i want to view this in .XML format...I hope u understood it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 14:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256935#M1631705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-05T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256936#M1631706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I think I got it. This is what I understood from your explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got some XML-data in a BADI of the type TAB_DMEE_OUTPUT_FILE, so initially the XML data you are provided with are in &lt;STRONG&gt;text form&lt;/STRONG&gt; and not in binary form. You then save this XML-Data in Text-Form on the Application Server. Then you alter this text-file with another program and shift the altered file, which is still of text-format, into another directory. Then you want to look at the text-file in XML Format as its contents is actually XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this for your button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;absolute path on application server to textfile&amp;gt; FOR INPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;READ DATASET &amp;lt;absolute path on application server to textfile&amp;gt; INTO lv_xstring.&lt;/P&gt;&lt;P&gt;CLOSE DATASET &amp;lt;absolute path on application server to textfile&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'DISPLAY_XML_STRING'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;      xml_string = lv_xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256936#M1631706</guid>
      <dc:creator>Lukas_Weigelt</dc:creator>
      <dc:date>2011-10-05T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the Application server file into XML format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256937#M1631707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m using 4.6c...there is no FM DISPLAY_XML_STRING ...any other FM available...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 06:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-application-server-file-into-xml-format/m-p/8256937#M1631707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T06:14:32Z</dc:date>
    </item>
  </channel>
</rss>

