<?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 reading the data from internal table -data not displaying in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873266#M50275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Rich, I had a small problem. When I am modifying the data for wrshb and transporting data into  bdata the set values for wrshb stored in the ddata is not getting appended to the bdata and inturn to workarea 'wa'.&lt;/P&gt;&lt;P&gt;It is reading the first line data and displaying the same value for all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me out here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have awarded the points it definitely helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2005 20:15:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-06T20:15:17Z</dc:date>
    <item>
      <title>problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873264#M50273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;I need your help here.  the data is not being displayed.&lt;/P&gt;&lt;P&gt;The code is syntacially correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code goes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  bdata type standard table of structbdata with header line,&lt;/P&gt;&lt;P&gt;     ddata type standard table of dunningdata with header line,&lt;/P&gt;&lt;P&gt;  wa type structbdata,&lt;/P&gt;&lt;P&gt;      accitab type standard table of zzaccountdata with header line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa1 type zzaccountdata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     zdate(8) type c,&lt;/P&gt;&lt;P&gt;     zdate1(8) type c,&lt;/P&gt;&lt;P&gt;     zproductdate(12) type c,&lt;/P&gt;&lt;P&gt;     zadnumber(10) type c,&lt;/P&gt;&lt;P&gt;     zwidth(7) type c,&lt;/P&gt;&lt;P&gt;     zheight(7) type c,&lt;/P&gt;&lt;P&gt;     zadsize(16) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select kunnr fbuda vavtyp aubel breite_s HOEHE_S from zzjhtfp INNER JOIN&lt;/P&gt;&lt;P&gt;jhamot ON zzjhtfp&lt;SUB&gt;aubel = jhamot&lt;/SUB&gt;avm_nr INTO CORRESPONDING FIELDS OF&lt;/P&gt;&lt;P&gt;table BDATA WHERE zzjhtfp~kunnr = p_custid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;The records are stored in Bdata but there is no record in the header line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select kunnr wrshb from mhnd into table ddata for all entries in bdata&lt;/P&gt;&lt;P&gt;where kunnr = bdata-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;The records are stored in ddata but there is no record in the header line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   loop at bdata into wa.&lt;/P&gt;&lt;P&gt;      read table ddata&lt;/P&gt;&lt;P&gt;      with key kunnr = bdata-kunnr.&lt;/P&gt;&lt;P&gt;        if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;        bdata-wrshb = ddata-wrshb.&lt;/P&gt;&lt;P&gt;        modify bdata transporting wrshb where kunnr = ddata-kunnr.&lt;/P&gt;&lt;P&gt;       write:bdata-fbuda to zdate ddmmyy.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        write: zdate to zdate1 dd/mm/yy.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        write: wa-aubel to zadnumber.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        write: wa-breite_s to zwidth.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        write: wa-HOEHE_S to zheight.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        write:wa-vavtyp.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     concatenate zdate1 wa-vavtyp into wa1-zdateproductcode separated&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*by space.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     concatenate zwidth zheight into wa1-zadsize separated by space.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; insert wa1-zdateproductcode into accitab-zdateproductcode.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        accitab-zdateproductcode = wa1-zdateproductcode.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        accitab-zadnumber = wa-aubel.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        accitab-zadsize = wa1-zadsize.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       if sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         append accitab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      write:/20 accitab-zdateproductcode, 40 accitab-zadnumber,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*60 accitab-zadsize.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;       endloop.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2005 19:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873264#M50273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-06T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873265#M50274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the following code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

loop at bdata into wa.
read table ddata with key kunnr = bdata-kunnr.
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are looping bdata and putting the data in that line into wa.  So then your next statment will always fail.  You need to have the read statement like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

read table ddata
with key kunnr = wa-kunnr.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this read statement, change all the references to BDATA to WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2005 19:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873265#M50274</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-06T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873266#M50275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Rich, I had a small problem. When I am modifying the data for wrshb and transporting data into  bdata the set values for wrshb stored in the ddata is not getting appended to the bdata and inturn to workarea 'wa'.&lt;/P&gt;&lt;P&gt;It is reading the first line data and displaying the same value for all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me out here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have awarded the points it definitely helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2005 20:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873266#M50275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-06T20:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873267#M50276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that I understand completly,  are you trying to update bdata with a value from ddata?  If so, try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


loop at bdata into wa.
read table ddata with key kunnr = wa-kunnr.
if sy-subrc eq 0.
wa-wrshb = ddata-wrshb.
modify bdata from wa.
endif.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2005 20:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873267#M50276</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-06T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873268#M50277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually  the code goes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I am trying to do is the 'wrshb' is the data that needs to be populated into one of the fields i.e wa-wrshb. it is taking the first value and as it is looping into the internal table, the same value is read again and again but actually the internal table ddata has different set of values for this field.&lt;/P&gt;&lt;P&gt;my goal is to read this different set of data into wa-wrshb and in turn to accitab (internal table) that is where the final output comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope you got my problem here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   loop at bdata into wa.&lt;/P&gt;&lt;P&gt;      read table ddata&lt;/P&gt;&lt;P&gt;      with key kunnr = wa-kunnr.&lt;/P&gt;&lt;P&gt;        if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;        wa-wrshb = ddata-wrshb.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       modify bdata transporting wrshb where kunnr = ddata-kunnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;               append bdata.&lt;/P&gt;&lt;P&gt;         write:wa-fbuda to zdate ddmmyy.&lt;/P&gt;&lt;P&gt;         write: zdate to zdate1 dd/mm/yy.&lt;/P&gt;&lt;P&gt;         write: wa-aubel to zadnumber.&lt;/P&gt;&lt;P&gt;         write: wa-breite_s to zwidth.&lt;/P&gt;&lt;P&gt;         write: wa-HOEHE_S to zheight.&lt;/P&gt;&lt;P&gt;         write:wa-vavtyp.&lt;/P&gt;&lt;P&gt;         write: wa-wrshb.&lt;/P&gt;&lt;P&gt;      concatenate zdate1 wa-vavtyp into wa1-zdateproductcode separated&lt;/P&gt;&lt;P&gt;by space.&lt;/P&gt;&lt;P&gt;      concatenate zwidth zheight into wa1-zadsize separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; insert wa1-zdateproductcode into accitab-zdateproductcode.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         accitab-zdateproductcode = wa1-zdateproductcode.&lt;/P&gt;&lt;P&gt;         accitab-zadnumber = wa-aubel.&lt;/P&gt;&lt;P&gt;         accitab-zadsize = wa1-zadsize.&lt;/P&gt;&lt;P&gt;         accitab-zamount = wa-wrshb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          append accitab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2005 20:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873268#M50277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-06T20:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873269#M50278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out the codes which are in bold .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop at bdata into wa.&lt;/P&gt;&lt;P&gt;read table ddata&lt;/P&gt;&lt;P&gt;with key kunnr = wa-kunnr.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0. &amp;lt;b&amp;gt;(if sy-subrc ne 0 then also clear wa_wrshb)&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;clear wa-wrshb .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;wa-wrshb = ddata-wrshb.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;modify bdata transporting wrshb where kunnr = ddata-kunnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;append bdata.&lt;/P&gt;&lt;P&gt;write:wa-fbuda to zdate ddmmyy.&lt;/P&gt;&lt;P&gt;write: zdate to zdate1 dd/mm/yy.&lt;/P&gt;&lt;P&gt;write: wa-aubel to zadnumber.&lt;/P&gt;&lt;P&gt;write: wa-breite_s to zwidth.&lt;/P&gt;&lt;P&gt;write: wa-HOEHE_S to zheight.&lt;/P&gt;&lt;P&gt;write:wa-vavtyp.&lt;/P&gt;&lt;P&gt;write: wa-wrshb.&lt;/P&gt;&lt;P&gt;concatenate zdate1 wa-vavtyp into wa1-zdateproductcode separated&lt;/P&gt;&lt;P&gt;by space.&lt;/P&gt;&lt;P&gt;concatenate zwidth zheight into wa1-zadsize separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;insert wa1-zdateproductcode into accitab-zdateproductcode.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;accitab-zdateproductcode = wa1-zdateproductcode.&lt;/P&gt;&lt;P&gt;accitab-zadnumber = wa-aubel.&lt;/P&gt;&lt;P&gt;accitab-zadsize = wa1-zadsize.&lt;/P&gt;&lt;P&gt;accitab-zamount = wa-wrshb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;append accitab. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;clear wa .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 05:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873269#M50278</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-07T05:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873270#M50279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that raja and none of the records are displaying. I hope you understand my problem here.&lt;/P&gt;&lt;P&gt;let me explain in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to modify the internal table. the code goes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   loop at bdata into wa.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;bdata is the  first internal table &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      read table ddata &lt;/P&gt;&lt;P&gt;        with key kunnr = wa-kunnr.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;ddata is the second internal table the field wrshb has alot of records which i need to populate in a particluar field of bdata&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;        wa-wrshb = ddata-wrshb.&lt;/P&gt;&lt;P&gt;I have modify the bdata internal table to populate field wrshb in bdata &lt;/P&gt;&lt;P&gt;      modify bdata from wa transporting wrshb where kunnr = ddata-kunnr.&lt;/P&gt;&lt;P&gt;what's happening is. It is fetching the first record from ddata and populating the field into bdata  and also the workarea ,in the loop after that it fetching the same data again populating the field in the table bdata. For the entire set of records it is fetching the first value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of using index in the modify .... transport statement but i do not have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to go about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in raja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 15:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873270#M50279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T15:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with reading the data from internal table -data not displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873271#M50280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what you are saying is that for every BDDATA record there is a equivalent record in DDDATA and from there you want to pick up &amp;lt;b&amp;gt;wrshb&amp;lt;/b&amp;gt; and move it to BDDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the read stt has to use the rigth key combination obtained from BDDATA - with your current approach the read stt. will always pick up the firts matching record for KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2005 05:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-the-data-from-internal-table-data-not-displaying/m-p/873271#M50280</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-08T05:27:35Z</dc:date>
    </item>
  </channel>
</rss>

