<?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 into flat file !! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352721#M519540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do that.&lt;/P&gt;&lt;P&gt;You can select all the data from the Desired infotypes and collect in an internal table then pass that table to OPEN DATA SET command.&lt;/P&gt;&lt;P&gt;Check this link for samples on OPEN DATASET -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3306201"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 12:19:03 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-06-08T12:19:03Z</dc:date>
    <item>
      <title>convert into flat file !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352720#M519539</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;I am basically an XI developer,I have little knowledge in ABAP.&lt;/P&gt;&lt;P&gt;we are in design phase of the XI integration ,so thinking of several options to do the interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically I need to get data from different infotypes of HR application some are standard and some are customized infotypes(tables).so ,can we get a flat file getting data from those info types using some thing like opendata set(not sure pretty new to opendata set concept) and place on the application system and schedule the report (program)as per demand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest,&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352720#M519539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: convert into flat file !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352721#M519540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do that.&lt;/P&gt;&lt;P&gt;You can select all the data from the Desired infotypes and collect in an internal table then pass that table to OPEN DATA SET command.&lt;/P&gt;&lt;P&gt;Check this link for samples on OPEN DATASET -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3306201"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352721#M519540</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-06-08T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: convert into flat file !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352722#M519541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;thank you for your reply.can we do the data validations while getting the flat file onto application system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;Babu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352722#M519541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert into flat file !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352723#M519542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Babu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a small sample program showing a simple way to collect any HR infotype data:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://wiki.sdn.sap.com/wiki/display/Snippets/Unified&lt;EM&gt;Access&lt;/EM&gt;to&lt;EM&gt;All&lt;/EM&gt;HR+Infotypes"&amp;gt;Unified Access to All HR Infotypes&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to collect the HR infotype data using this approach. Afterwards convert your data to XML (using statement CALL TRANSFORMATION  [ABAP -&amp;gt; XML]) and store the XML file on the application server (-&amp;gt; OPEN DATASET ... FOR OUTPUT...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why converting to XML? The OPEN DATASET statement will allow only character-like data. Thus, if any of the HR infotype tables contains a field of type P (packed number) you need to convert this to a character-like data. In contrast, XML does not care about the type of a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reading the XML files simply go the other way around:&lt;/P&gt;&lt;P&gt;- OPEN DATASET ... FOR INPUT ...&lt;/P&gt;&lt;P&gt;- CALL TRANSFORMATION [XML -&amp;gt; ABAP]&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352723#M519542</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-08T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: convert into flat file !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352724#M519543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do all the validations required within the ABAP program before file generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if further query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-into-flat-file/m-p/2352724#M519543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:42:40Z</dc:date>
    </item>
  </channel>
</rss>

