<?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 interial table read error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445183#M827418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this form. im moving the itab4 to itab&lt;/P&gt;&lt;P&gt;but my error in itab4 first row is move to itab, but second row is not moving.&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give a solution for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FETCH_READ.&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB0.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB1 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB2 WITH KEY matnr = ITAB0-matnr.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB3 WITH KEY lifnr = ITAB1-lifnr.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB4 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB5 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-EBELN TO ITAB-EBELN.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-EBELP TO ITAB-EBELP.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-MENGE TO ITAB-MENGE.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-MEINS TO ITAB-MEINS.&lt;/P&gt;&lt;P&gt;      MOVE ITAB1-BEDAT TO ITAB-BEDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB2-MATNR TO ITAB-MATNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB2-MAKTX TO ITAB-MAKTX.&lt;/P&gt;&lt;P&gt;      MOVE ITAB3-LIFNR TO ITAB-LIFNR.&lt;/P&gt;&lt;P&gt;      move ITAB3-NAME1 TO ITAB-NAME1.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-BELNR TO ITAB-BELNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-MENGE TO ITAB-MENG1.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-BUDAT TO ITAB-BUDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-DMBTR TO ITAB-DMBTR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-BELNR TO ITAB-1BELNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-MENGE TO ITAB-1MENGE.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-BUDAT TO ITAB-1BUDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-DMBTR TO ITAB-1DMBTR.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND ITAB.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by&lt;/P&gt;&lt;P&gt;karthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2008 06:45:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-25T06:45:24Z</dc:date>
    <item>
      <title>interial table read error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445183#M827418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this form. im moving the itab4 to itab&lt;/P&gt;&lt;P&gt;but my error in itab4 first row is move to itab, but second row is not moving.&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give a solution for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FETCH_READ.&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB0.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB1 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB2 WITH KEY matnr = ITAB0-matnr.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB3 WITH KEY lifnr = ITAB1-lifnr.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB4 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;    READ TABLE ITAB5 WITH KEY EBELN = ITAB0-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-EBELN TO ITAB-EBELN.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-EBELP TO ITAB-EBELP.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-MENGE TO ITAB-MENGE.&lt;/P&gt;&lt;P&gt;      MOVE ITAB0-MEINS TO ITAB-MEINS.&lt;/P&gt;&lt;P&gt;      MOVE ITAB1-BEDAT TO ITAB-BEDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB2-MATNR TO ITAB-MATNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB2-MAKTX TO ITAB-MAKTX.&lt;/P&gt;&lt;P&gt;      MOVE ITAB3-LIFNR TO ITAB-LIFNR.&lt;/P&gt;&lt;P&gt;      move ITAB3-NAME1 TO ITAB-NAME1.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-BELNR TO ITAB-BELNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-MENGE TO ITAB-MENG1.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-BUDAT TO ITAB-BUDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB4-DMBTR TO ITAB-DMBTR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-BELNR TO ITAB-1BELNR.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-MENGE TO ITAB-1MENGE.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-BUDAT TO ITAB-1BUDAT.&lt;/P&gt;&lt;P&gt;      MOVE ITAB5-DMBTR TO ITAB-1DMBTR.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND ITAB.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by&lt;/P&gt;&lt;P&gt;karthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 06:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445183#M827418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T06:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: interial table read error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445184#M827419</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;You need to check SY-Subrc for all the READs  and then move then finally modify ITAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here since SY-SUBRC is checked after ITAB5 which may return &amp;gt;0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 06:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445184#M827419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T06:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: interial table read error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445185#M827420</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;Check whether all read statements are not failing. You have only checked for all read statement. Before moving the data from one internal table to another internal table using read statement you have to check whether read statement is successful or not and then move the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 06:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445185#M827420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T06:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: interial table read error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445186#M827421</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;if second record of  itab4 is not moving to itab and first record is moving then(as per ur code) the reason could be ...there is no record in itab0 with EBELN = itab4's second rows EBELN.................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 06:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interial-table-read-error/m-p/3445186#M827421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T06:52:12Z</dc:date>
    </item>
  </channel>
</rss>

