<?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: Problem with READ DATASET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046606#M1173161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Could you clear a doubt for me..&lt;/P&gt;&lt;P&gt;If more than 255 characters get read from Dataset then why at the time of creating PDFs we split the data into chunks of 255 characters? Without doing this i have experienced that if u download the same data and save as pdf then it wont open..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2009 15:54:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-12T15:54:32Z</dc:date>
    <item>
      <title>Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046598#M1173153</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;I am reading a file in text mode and each line has around 500char.My target object is 100ochar field but READ DATSET is reading only 256 bytes and missing some data from the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to read a line which has 1000 char using read dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is : &lt;/P&gt;&lt;P&gt;DATA:wa_fdata type BDI_LINE.&lt;/P&gt;&lt;P&gt;DATA: ifloc TYPE BDI_LINE-LINE   "this is 1000char&lt;/P&gt;&lt;P&gt;READ DATASET i_floc INTO wa_fdata LENGTH len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 14:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046598#M1173153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046599#M1173154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES: BEGIN OF gty_texts_file,&lt;/P&gt;&lt;P&gt;         line(1000) TYPE c,&lt;/P&gt;&lt;P&gt;       END OF gty_texts_file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_text_file   TYPE TABLE OF gty_texts_file,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 14:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046599#M1173154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T14:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046600#M1173155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search the forum. This (non) problem has been described many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 14:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046600#M1173155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046601#M1173156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched forum for last two days and tried all the options like EDID2-SDATA and others.btw I work on 4.6c so some of the ALV related data elements doesn't exist in my system.finally I got this BDI_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still READ data set is populating only 256 char into target field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046601#M1173156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046602#M1173157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still I am getting only 256 char into target fieild.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046602#M1173157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046603#M1173158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... the search functionality doesn't seem to be working too well. I found nothing either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, it's probably not a problem. READ DATASET works with records longer than 256 characters, but the debugger only shows the first characters. In the debugger, display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your_field+256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046603#M1173158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046604#M1173159</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;I knew That debugger shows only output length 0-255.After reading dataset I am splitting record and move to another set of fileds.the field data (i.e after 255th char) is showing incomplete data and rest of the fields after this field are blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046604#M1173159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046605#M1173160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I still don't think it's a problem with READ DATASET. But it's hard to tell what the problem is without seeing your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046605#M1173160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046606#M1173161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Could you clear a doubt for me..&lt;/P&gt;&lt;P&gt;If more than 255 characters get read from Dataset then why at the time of creating PDFs we split the data into chunks of 255 characters? Without doing this i have experienced that if u download the same data and save as pdf then it wont open..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 15:54:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046606#M1173161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T15:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046607#M1173162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a PDF file, you should be uploading and downloading in BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046607#M1173162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046608#M1173163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is : &lt;/P&gt;&lt;P&gt;DATA:wa_fdata type BDI_LINE.&lt;/P&gt;&lt;P&gt;DATA: i_floc TYPE BDI_LINE-LINE "this is 1000char&lt;/P&gt;&lt;P&gt;data:temp_var(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET i_floc INTO wa_fdata LENGTH len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move w_fdata+250(10) TO temp_var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the file 250(10) is having 12456.8765.In debugger,temp_var and W_fdata+250(10) are showing only '12456.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046608#M1173163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046609#M1173164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgor one more point here.the field &lt;STRONG&gt;len&lt;/STRONG&gt; in the above code is showing only 256 after reading dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046609#M1173164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046610#M1173165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RP,&lt;/P&gt;&lt;P&gt;If you are uploading the file as well then could you try to split the data in chuks of 255 characters and have a new_line indicator appended wherever ur line ends to recreate the same data at the time of download.&lt;/P&gt;&lt;P&gt;Also i will request you once to download a file from App server using CG3y and check the results..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if u have access then upload a file as such and see the result from App server.. u cud ask Basis to copy it for u..to see if the records are getting properly uploaded or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes Rob i uploaded PDF in Binary mode but still had to split the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046610#M1173165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046611#M1173166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was in file format.when I moved this file to appln server,format has been changed and ended with unexpected end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem with read dataset.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/5046611#M1173166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:57:07Z</dc:date>
    </item>
  </channel>
</rss>

