<?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: Convert data to XML format and send it to application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218009#M1007821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st convert the internal table data to XML by using call transformation&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  lt_t005 TYPE STANDARD TABLE OF t005.&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;  xmlline(1024) TYPE x.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  lt_xml TYPE STANDARD TABLE OF xmlline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t005 INTO TABLE lt_t005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSFORMATION id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;SOURCE data_node = lt_t005&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;RESULT XML lt_xml.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create an file in application server using open dataset statement and then transfer the table (lt_xml) content to the file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JOy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2008 09:55:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-15T09:55:29Z</dc:date>
    <item>
      <title>Convert data to XML format and send it to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218006#M1007818</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;My requirement is to convert internal table data into XML format and after that transfer it to Application server. Can any of you send me the sample code for the requirement or any step by step approach.&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;Mukesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218006#M1007818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T09:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data to XML format and send it to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218007#M1007819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this FM&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

WS_EXCEL

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218007#M1007819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T09:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data to XML format and send it to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218008#M1007820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;for convert data into xml format&lt;/P&gt;&lt;P&gt;i am giving samle code to you&lt;/P&gt;&lt;P&gt;u try to understand the logic and do,&lt;/P&gt;&lt;P&gt;it is very easy one,&lt;/P&gt;&lt;P&gt;2. for sending to application server &lt;/P&gt;&lt;P&gt;u use open dataset .&lt;/P&gt;&lt;P&gt;it will solve your problems,&lt;/P&gt;&lt;P&gt;ztest &lt;/P&gt;&lt;P&gt;perform get_filename using filename 'S'.&lt;/P&gt;&lt;P&gt;  CHECK NOT rlgrap-filename IS INITIAL.&lt;/P&gt;&lt;P&gt;  concatenate rlgrap-filename extn into pathname&lt;/P&gt;&lt;P&gt;        separated by separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ftype = rlgrap-filetype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ftype = 'ASC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FILENAME              = pathname&lt;/P&gt;&lt;P&gt;      FILETYPE              = ftype&lt;/P&gt;&lt;P&gt;      WRITE_FIELD_SEPARATOR = 'X'&lt;/P&gt;&lt;P&gt;      TRUNC_TRAILING_BLANKS = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DATA_TAB              = disp_tab2&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FILE_WRITE_ERROR      = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218008#M1007820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T09:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data to XML format and send it to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218009#M1007821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st convert the internal table data to XML by using call transformation&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  lt_t005 TYPE STANDARD TABLE OF t005.&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;  xmlline(1024) TYPE x.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  lt_xml TYPE STANDARD TABLE OF xmlline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t005 INTO TABLE lt_t005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSFORMATION id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;SOURCE data_node = lt_t005&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;RESULT XML lt_xml.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create an file in application server using open dataset statement and then transfer the table (lt_xml) content to the file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JOy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218009#M1007821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data to XML format and send it to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218010#M1007822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to do that you need to do a CALL TRANSFORMATION ,to convert data into XML format from ABAP and then use GUI_download to deposit the file in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the t-code to create the transformation in STRANS. &lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;babu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-data-to-xml-format-and-send-it-to-application-server/m-p/4218010#M1007822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T09:56:31Z</dc:date>
    </item>
  </channel>
</rss>

