<?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: .CSV File should be left-aligned in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571350#M257907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please specify the file type in GUI_DOWNLOAD FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD' "#EC *&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = v_detail_name&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Filetype  = 'ASC'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = i_scsvtab_header&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please reward all helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 02:56:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-26T02:56:21Z</dc:date>
    <item>
      <title>.CSV File should be left-aligned</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571347#M257904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program which automatically downloads the output to a .csv file. I have already successfully downloaded the output to a .csv file, however, some of my fields, like Shipping Instructions Text from the Header of a Sales Order is not left-justified when i check the file. I want all the fields to be left-justified so i don't have to check the fields one by one to see if it has a value or not. I have already tried the CONDENSE syntax and SHIFT LEFT syntax, but my downloaded file is still not left justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions to make all the fields of the csv file left justified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 02:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571347#M257904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T02:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: .CSV File should be left-aligned</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571348#M257905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please paste the code. Need to check the data type of the internal table which is passed to GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 02:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571348#M257905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T02:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: .CSV File should be left-aligned</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571349#M257906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'                              "#EC *&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename = v_detail_name&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab = i_scsvtab_header&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GUI_DOWNLOAD'                            "#EC *&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename = v_detail_name&lt;/P&gt;&lt;P&gt;        append   = c_a&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        data_tab = i_scsvtab&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS   = 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the declaration of the internal table:&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_scsvtab OCCURS 0,&lt;/P&gt;&lt;P&gt;        auart(4),   "order type&lt;/P&gt;&lt;P&gt;        vkorg(5),   "sales org&lt;/P&gt;&lt;P&gt;        vtweg(3),   "distribution channel&lt;/P&gt;&lt;P&gt;        spart(3),   "division&lt;/P&gt;&lt;P&gt;        kunnr(11),   "sold to&lt;/P&gt;&lt;P&gt;        kunwe(11),   "ship to&lt;/P&gt;&lt;P&gt;        bstkd(21),   "customer PO&lt;/P&gt;&lt;P&gt;        bstdk(11),   "customer PO date&lt;/P&gt;&lt;P&gt;        vdatu(11),   "RDD&lt;/P&gt;&lt;P&gt;        augru(41),   "reason code&lt;/P&gt;&lt;P&gt;        tbnth(41), "Billing Notes&lt;/P&gt;&lt;P&gt;        tsins(41), "Shipping Instructions&lt;/P&gt;&lt;P&gt;        matnr(19),   "material&lt;/P&gt;&lt;P&gt;        kwmeng(16),           "quantity&lt;/P&gt;&lt;P&gt;        vrkme(4),   "UoM&lt;/P&gt;&lt;P&gt;        werks(5),   "plant&lt;/P&gt;&lt;P&gt;        charg(11),   "batch&lt;/P&gt;&lt;P&gt;        netpr(12),            "net price&lt;/P&gt;&lt;P&gt;        kpein(6),   "pricing unit&lt;/P&gt;&lt;P&gt;        tbnti(41), "Billing Notes&lt;/P&gt;&lt;P&gt;        zmess(46),&lt;/P&gt;&lt;P&gt;        zflag(2),&lt;/P&gt;&lt;P&gt;     END OF i_scsvtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to change the declaration??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 02:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571349#M257906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T02:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: .CSV File should be left-aligned</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571350#M257907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please specify the file type in GUI_DOWNLOAD FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD' "#EC *&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = v_detail_name&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Filetype  = 'ASC'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = i_scsvtab_header&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please reward all helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 02:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-should-be-left-aligned/m-p/1571350#M257907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T02:56:21Z</dc:date>
    </item>
  </channel>
</rss>

