<?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: Fixed Width / Length for OPEN DATASET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445646#M547750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I read DOWNLOAD rather than UPLOAD earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;READ DATASET dsn MAXIMUM LENGTH len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add here,&lt;/P&gt;&lt;P&gt;here length is considered is bytes if the file is opened in byte mode and it will be considered in characters if it is opened in text mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 22:54:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T22:54:53Z</dc:date>
    <item>
      <title>Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445641#M547745</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;Is there a way to recreate in OPEN DATASET the functionality that WS_UPLOAD have particularly on adding spaces at the end of a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD uses the flag :&lt;/P&gt;&lt;P&gt;        trunc_trailing_blanks           = ' '&lt;/P&gt;&lt;P&gt;        trunc_trailing_blanks_eol       = ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445641#M547745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445642#M547746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using 'Length len' addition with TRANSFER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER f TO g LENGTH len.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445642#M547746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445643#M547747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KLL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, WS_UPLOAD does not have those parameters. Please check IMPORT parameters of WS_UPLOAD. Also, WS_UPLOAD does not add spaces at the end of the record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters trunc_trailing_blanks = ' ' and trunc_trailing_blanks_eol = ' ' are present in IMIPORT parameters of GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, please reframe your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445643#M547747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445644#M547748</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;Is there a way to recreate in OPEN DATASET the functionality that GUI_DOWNLOAD have particularly on adding spaces at the end of a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD uses the flag :&lt;/P&gt;&lt;P&gt;trunc_trailing_blanks = ' '&lt;/P&gt;&lt;P&gt;trunc_trailing_blanks_eol = ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445644#M547748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445645#M547749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Darshil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how do you do it on READ DATASET&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445645#M547749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445646#M547750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I read DOWNLOAD rather than UPLOAD earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;READ DATASET dsn MAXIMUM LENGTH len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add here,&lt;/P&gt;&lt;P&gt;here length is considered is bytes if the file is opened in byte mode and it will be considered in characters if it is opened in text mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445646#M547750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T22:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Width / Length for OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445647#M547751</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;No, you can not add spaces at the end of the record using OPEN DATASET statement.&lt;/P&gt;&lt;P&gt;You can vary the length of the variable to keep some empty spaces at the end of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 23:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-width-length-for-open-dataset/m-p/2445647#M547751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T23:00:32Z</dc:date>
    </item>
  </channel>
</rss>

