<?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: program output log files created in application server having formatting issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079379#M1970753</link>
    <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/922137/jkaspa.html"&gt;jayavardhan kaspa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Problem doesn't seem to be with OPEN DATASET, it would be problem with your TRANSFER.&lt;/P&gt;&lt;P&gt;try with below syntax&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;len = strlen( mydata ).
TRANSFER dobj TO dset LENGTH len NO END OF LINE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Dec 2019 16:30:25 GMT</pubDate>
    <dc:creator>ThangaPrakash</dc:creator>
    <dc:date>2019-12-10T16:30:25Z</dc:date>
    <item>
      <title>program output log files created in application server having formatting issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079377#M1970751</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;we are creating program load logs in application server, using the below steps:&lt;/P&gt;
  &lt;P&gt;* Open in append mode if the flag is set&lt;/P&gt;
  &lt;P&gt;IF append_mode IS INITIAL. OPEN DATASET file_name FOR OUTPUT IN TEXT MODE ENCODING DEFAULT MESSAGE message.&lt;/P&gt;
  &lt;P&gt; ELSE. &lt;/P&gt;
  &lt;P&gt; OPEN DATASET file_name FOR APPENDING IN TEXT MODE ENCODING DEFAULT MESSAGE message. &lt;/P&gt;
  &lt;P&gt; ENDIF.&lt;/P&gt;
  &lt;P&gt;writing the internal table contents in it and then closing the dataset.&lt;/P&gt;
  &lt;P&gt;we are facing formating issues and the output file is having additional page breaks, alot of spaces.&lt;/P&gt;
  &lt;P&gt;Help in this appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 14:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079377#M1970751</guid>
      <dc:creator>jayavardhan_kaspa</dc:creator>
      <dc:date>2019-12-10T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: program output log files created in application server having formatting issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079378#M1970752</link>
      <description>&lt;P&gt;maybe you could provide the structure of the internal table &amp;amp; the result &lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 14:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079378#M1970752</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-12-10T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: program output log files created in application server having formatting issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079379#M1970753</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/922137/jkaspa.html"&gt;jayavardhan kaspa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Problem doesn't seem to be with OPEN DATASET, it would be problem with your TRANSFER.&lt;/P&gt;&lt;P&gt;try with below syntax&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;len = strlen( mydata ).
TRANSFER dobj TO dset LENGTH len NO END OF LINE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Dec 2019 16:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079379#M1970753</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2019-12-10T16:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: program output log files created in application server having formatting issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079380#M1970754</link>
      <description>&lt;P&gt;As &lt;A href="https://answers.sap.com/users/633/thangaprakash.html"&gt;Thanga Prakash Thanga Raj&lt;/A&gt; said, please paste your code concerning TRANSFER. Does "a lot of spaces" means a lot of spaces at the end of each line, or a lot of blank lines between non-blank lines? Probably a screenshot will help us better understand!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 16:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output-log-files-created-in-application-server-having-formatting/m-p/12079380#M1970754</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-12-10T16:59:21Z</dc:date>
    </item>
  </channel>
</rss>

