<?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 open cursor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875729#M368299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if it is possible to open a cursor on an internal table.&lt;/P&gt;&lt;P&gt;I have created a generic extractor for BW by function module and I have to read the data from an internal table.&lt;/P&gt;&lt;P&gt;Is it possible in this case to use the procedure with open cursor described in RSAX_BIW_GET_DATA_SIMPLE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Iuliana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2007 10:52:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-19T10:52:13Z</dc:date>
    <item>
      <title>open cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875729#M368299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if it is possible to open a cursor on an internal table.&lt;/P&gt;&lt;P&gt;I have created a generic extractor for BW by function module and I have to read the data from an internal table.&lt;/P&gt;&lt;P&gt;Is it possible in this case to use the procedure with open cursor described in RSAX_BIW_GET_DATA_SIMPLE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Iuliana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 10:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875729#M368299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T10:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: open cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875730#M368300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Example from help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) This is an easy example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_select_cursor_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: c1 TYPE cursor,&lt;/P&gt;&lt;P&gt;c2 TYPE cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa1 TYPE spfli,&lt;/P&gt;&lt;P&gt;wa2 TYPE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: flag1(1) TYPE c,&lt;/P&gt;&lt;P&gt;flag2(1) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN CURSOR: c1 FOR SELECT carrid connid&lt;/P&gt;&lt;P&gt;FROM spfli&lt;/P&gt;&lt;P&gt;WHERE carrid = 'LH',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c2 FOR SELECT carrid connid cityfrom cityto&lt;/P&gt;&lt;P&gt;FROM spfli&lt;/P&gt;&lt;P&gt;WHERE carrid = 'AZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;IF flag1 NE 'X'.&lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c1 INTO CORRESPONDING FIELDS OF wa1.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;CLOSE CURSOR c1.&lt;/P&gt;&lt;P&gt;flag1 = 'X'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE: / wa1-carrid, wa1-connid.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF flag2 NE 'X'.&lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c2 INTO CORRESPONDING FIELDS OF wa2.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;CLOSE CURSOR c2.&lt;/P&gt;&lt;P&gt;flag2 = 'X'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE: / wa2-carrid, wa2-connid,&lt;/P&gt;&lt;P&gt;wa2-cityfrom, wa2-cityto.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF flag1 = 'X' AND flag2 = 'X'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 10:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875730#M368300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T10:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: open cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875731#M368301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is only possible if you have a transparent table. You cannot do it on an internal table, am I right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 11:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875731#M368301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T11:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: open cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875732#M368302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don think u can ope a cursor on a internal table..&lt;/P&gt;&lt;P&gt;it has to be open on database table only..&lt;/P&gt;&lt;P&gt;u can then use fetch statement for internal tables if u want&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 11:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-cursor/m-p/1875732#M368302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T11:21:00Z</dc:date>
    </item>
  </channel>
</rss>

