<?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: email value are printing wrongly in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813029#M917093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="120099"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the following steps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Basically the following settings were needed to stop all line feed/carriage returns in the file creation and remove new unwanted spacing . &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;filename = g_file &lt;/P&gt;&lt;P&gt;filetype = 'ASC' &lt;/P&gt;&lt;P&gt;trunc_trailing_blanks = 'X' "PREVENT EXTRA SPACES &lt;/P&gt;&lt;P&gt;write_lf = ' ' "PREVENT LINE FEED &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trunc_trailing_blanks_eol doesn't work for me because it does not pertain to version 4.6C and CODEPAGE and a filetype of 'BIN' I discovered were irrelevent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then it required me to set up my own carriage returns via hexadecimal symbols like below: &lt;/P&gt;&lt;P&gt;*holds hexadecimal carriage return character &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF xt, &lt;/P&gt;&lt;P&gt;xx(1) TYPE x, &lt;/P&gt;&lt;P&gt;END OF xt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;*set carriage return value &lt;/P&gt;&lt;P&gt;xt-xx = '0D'. "carriage return '0D', line feed '0A' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Finally I needed to insert the carriage return before saving it to the data table to be output to file. &lt;/P&gt;&lt;P&gt;CONCATENATE w_dtl xt INTO w_dat-data. &lt;/P&gt;&lt;P&gt;This was done to every record except the last one which I essentially had to track the number of records twice and compare for the last record count&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;venkat ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 18:58:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-08T18:58:21Z</dc:date>
    <item>
      <title>email value are printing wrongly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813025#M917089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;when i am executing the programe and checking in the SAP outbox then the values are not printing in correct format, values are correct but the structure SOLISTI1 over here it  has 255 Char so in the sap outbox its printing the first header line then spaces will be up to 255 char and then prints 1st item level and then takes some pace and print in next line after 255 char, but here i need to print the entire values in correct display format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 16:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813025#M917089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: email value are printing wrongly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813026#M917090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rocky looks like its a linefeed / carriage return problem... in debug mode have a look at the last character and find a way to replace it.. before emailing the list...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 16:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813026#M917090</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-05-08T16:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: email value are printing wrongly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813027#M917091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u give me the logic for line feed or carrage return&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 17:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813027#M917091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: email value are printing wrongly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813028#M917092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;Marks an entire line as a comment at the beginning of the line The line is not sent to the output device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\n&lt;/P&gt;&lt;P&gt;Line feed (hexadecimal 0A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\r&lt;/P&gt;&lt;P&gt;Carriage return (hexadecimal 0D)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\f&lt;/P&gt;&lt;P&gt;Form feed (hexadecimal 0C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-dev/prevent-carriage-return-at-eof-for-gui_download-1422787" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-dev/prevent-carriage-return-at-eof-for-gui_download-1422787&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 18:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813028#M917092</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-05-08T18:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: email value are printing wrongly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813029#M917093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="120099"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the following steps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Basically the following settings were needed to stop all line feed/carriage returns in the file creation and remove new unwanted spacing . &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;filename = g_file &lt;/P&gt;&lt;P&gt;filetype = 'ASC' &lt;/P&gt;&lt;P&gt;trunc_trailing_blanks = 'X' "PREVENT EXTRA SPACES &lt;/P&gt;&lt;P&gt;write_lf = ' ' "PREVENT LINE FEED &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trunc_trailing_blanks_eol doesn't work for me because it does not pertain to version 4.6C and CODEPAGE and a filetype of 'BIN' I discovered were irrelevent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then it required me to set up my own carriage returns via hexadecimal symbols like below: &lt;/P&gt;&lt;P&gt;*holds hexadecimal carriage return character &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF xt, &lt;/P&gt;&lt;P&gt;xx(1) TYPE x, &lt;/P&gt;&lt;P&gt;END OF xt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;*set carriage return value &lt;/P&gt;&lt;P&gt;xt-xx = '0D'. "carriage return '0D', line feed '0A' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Finally I needed to insert the carriage return before saving it to the data table to be output to file. &lt;/P&gt;&lt;P&gt;CONCATENATE w_dtl xt INTO w_dat-data. &lt;/P&gt;&lt;P&gt;This was done to every record except the last one which I essentially had to track the number of records twice and compare for the last record count&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;venkat ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 18:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-value-are-printing-wrongly/m-p/3813029#M917093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T18:58:21Z</dc:date>
    </item>
  </channel>
</rss>

