<?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 data from dynamically from different file. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175519#M998240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by my self, At the input file at the starting i will be getting the technical fields name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are SAP standard table fields, So i am creating the structure dynamically with the help of this fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Feroz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2009 14:53:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-04T14:53:26Z</dc:date>
    <item>
      <title>reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175513#M998234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any function moudle or class to read data from a file in application layer, whoes structure is changing dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent....... Can any one help me out in this......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;feroz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 16:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175513#M998234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T16:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175514#M998235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the structure of the file changes dynamically, you can still read the file the same way as any other file.&lt;/P&gt;&lt;P&gt;I think the structure of the file will change depending on the business scenario.&lt;/P&gt;&lt;P&gt;So you need to find out the following things :&lt;/P&gt;&lt;P&gt;1. How many combinations of business scenario exists &lt;/P&gt;&lt;P&gt;2. Find out the possible file structure for each of the business scenario&lt;/P&gt;&lt;P&gt;3. Depending on the scenario, you know what the structure of file would be and read the file into an internal table accordingly.&lt;/P&gt;&lt;P&gt;4. Carry out further processing like any other file upload functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Sushil Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 16:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175514#M998235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T16:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175515#M998236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We cant have fixed number of file structure.. as it would be changing dynamically.... Then how can i do that... any soluiton .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 07:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175515#M998236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T07:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175516#M998237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feroz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do u mean that structure of the file on the application server is changing dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the FM to read data from a file on Application Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET FNAME FOR INPUT in text mode encoding default.&lt;/P&gt;&lt;P&gt;LOOP AT TAB INTO WA.&lt;/P&gt;&lt;P&gt;  READ DATASET FNAME INTO WA.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC  0.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  WRITE: / WA-COLUMN1, WA-COLUMN2.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the FM to search the file on Application Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4_DXFILENAME_TOPRECURSION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sai Krishna Kowluri on Jul 15, 2008 9:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 07:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175516#M998237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T07:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175517#M998238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WEhat would be the structure of wa ?????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 08:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175517#M998238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T08:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175518#M998239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by My self...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175518#M998239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from dynamically from different file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175519#M998240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by my self, At the input file at the starting i will be getting the technical fields name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are SAP standard table fields, So i am creating the structure dynamically with the help of this fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Feroz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-dynamically-from-different-file/m-p/4175519#M998240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:53:26Z</dc:date>
    </item>
  </channel>
</rss>

