<?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: Data Transfer problem from cursor to table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-problem-from-cursor-to-table/m-p/7878204#M1594526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first of all you have to put your FETCH into a DO ... ENDDO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2011 13:10:05 GMT</pubDate>
    <dc:creator>franois_henrotte</dc:creator>
    <dc:date>2011-05-05T13:10:05Z</dc:date>
    <item>
      <title>Data Transfer problem from cursor to table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-problem-from-cursor-to-table/m-p/7878203#M1594525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;         I created one Extract FM to extract data through a Datasource by RAS3. When i run the FM directly  the cursor value (S_CURSOR) is displayed as 3850 and when i try to transfer using FETCH NEXT to a internal table (E_T_DATA) 498  entries populated but if i open the table all lines are blank. Pls help me. i.e. E_T_DATA[] = 498&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT MATNR
    FROM MARA AS A "INNER JOIN MARC AS C
    "ON A~MATNR = C~MATNR
    "INTO TABLE E_T_DATA
    WHERE MATNR IN L_R_MATNREAN
      AND MTART IN ('ZPLU','ZPAK',
                      'ZCOM','ZTIN',
                      'ZSCR','ZEXW',
                      'ZCOU','ZGVR')
      AND EAN11 = ''
      AND ATTYP = '00'.

FETCH NEXT CURSOR S_CURSOR
             APPENDING CORRESPONDING FIELDS
             OF TABLE E_T_DATA
             PACKAGE SIZE S_S_IF-MAXSIZE.

  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    CLOSE CURSOR S_CURSOR.
    RAISE NO_MORE_DATA.
  ENDIF.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 07:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-problem-from-cursor-to-table/m-p/7878203#M1594525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T07:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer problem from cursor to table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-problem-from-cursor-to-table/m-p/7878204#M1594526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first of all you have to put your FETCH into a DO ... ENDDO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 13:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-problem-from-cursor-to-table/m-p/7878204#M1594526</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2011-05-05T13:10:05Z</dc:date>
    </item>
  </channel>
</rss>

