<?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: CL_GUI_FRONTEND_SERVICES in select loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-frontend-services-in-select-loop/m-p/1544190#M247691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better select data into table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;   CALL GUI_FRONT END SERVICES.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHER WISE......you cannot interfere the Prsentation (Desktop) Servier Logic with the DATA BASE LOGIC ....SELECT ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2006 08:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-28T08:56:49Z</dc:date>
    <item>
      <title>CL_GUI_FRONTEND_SERVICES in select loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-frontend-services-in-select-loop/m-p/1544189#M247690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem using CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_EXIST within a select loop. I want to loop through a databasetable with filenames and if the file exists, do some stuff with it. The method works good, but when the loop is executed and the next SELECT is executed I get a short dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBIF_RSQL_INVALID_CURSOR&lt;/P&gt;&lt;P&gt;CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;Invalid interruption of a database selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;SELECT file FROM files  INTO l_file.&lt;/P&gt;&lt;P&gt;               WHERE EXTID = p_extid AND UNAME = sy-uname.&lt;/P&gt;&lt;P&gt; CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_EXIST&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  FILE                 = l_strfloc&lt;/P&gt;&lt;P&gt;                  RECEIVING&lt;/P&gt;&lt;P&gt;                  RESULT               = l_result.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 08:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-frontend-services-in-select-loop/m-p/1544189#M247690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_FRONTEND_SERVICES in select loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-frontend-services-in-select-loop/m-p/1544190#M247691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better select data into table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;   CALL GUI_FRONT END SERVICES.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHER WISE......you cannot interfere the Prsentation (Desktop) Servier Logic with the DATA BASE LOGIC ....SELECT ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 08:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-frontend-services-in-select-loop/m-p/1544190#M247691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T08:56:49Z</dc:date>
    </item>
  </channel>
</rss>

