<?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: Online program to create a flat file on Unix in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265797#M1017791</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 got the answer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF NOT V_FLNAME IS INITIAL.&lt;/P&gt;&lt;P&gt;OPEN DATASET V_FLNAME FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;        TRANSFER IT_INFILE TO V_FLNAME.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;          MESSAGE I002(ZZ) WITH&lt;/P&gt;&lt;P&gt;            'Unable to download report record:' SY-SUBRC.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;            CLOSE DATASET V_FLNAME.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kal Chand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2008 13:27:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-29T13:27:01Z</dc:date>
    <item>
      <title>Online program to create a flat file on Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265795#M1017789</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;Good day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got one requirement, where I need to write a Online program that will create a flat file on Unix. The probable Unix file will be send from the selection screen, where the user selects that with a fixed length &amp;amp; format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to do it with the Datasets? or is it possible to go with Upload function modules?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, send one example program of such kind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kal Chand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 07:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265795#M1017789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T07:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Online program to create a flat file on Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265796#M1017790</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;You are going to create a flat file in the Unix Operating system which is nothing but the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no standard function modules to write the file in the application server, so you need to use the DATA SET concept only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open Data Set file name&lt;/P&gt;&lt;P&gt;2. Transfer Data Set file name&lt;/P&gt;&lt;P&gt;3. close Data set file name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this will help you to finish your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 08:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265796#M1017790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T08:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Online program to create a flat file on Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265797#M1017791</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 got the answer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF NOT V_FLNAME IS INITIAL.&lt;/P&gt;&lt;P&gt;OPEN DATASET V_FLNAME FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;        TRANSFER IT_INFILE TO V_FLNAME.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;          MESSAGE I002(ZZ) WITH&lt;/P&gt;&lt;P&gt;            'Unable to download report record:' SY-SUBRC.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;            CLOSE DATASET V_FLNAME.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kal Chand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 13:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/online-program-to-create-a-flat-file-on-unix/m-p/4265797#M1017791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T13:27:01Z</dc:date>
    </item>
  </channel>
</rss>

