<?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: Error in the module RSQL accessing the database interface. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513700#M236661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you are checking it_vbak[] not initial instead of it_vbak.  The way it is written now will attempt the select if there is anything in the header of your internal table even if the table is emtpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Michael Malvey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2006 18:55:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-14T18:55:38Z</dc:date>
    <item>
      <title>Error in the module RSQL accessing the database interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513698#M236659</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;PRE&gt;&lt;CODE&gt;
  IF it_vbak IS NOT INITIAL.
    SELECT matnr meinh umrez umren FROM marm            
      INTO TABLE it_marm                                
      FOR ALL ENTRIES IN it_vbak                        
      WHERE matnr = it_vbak-matnr                       
        and meinh = it_vbak-zieme.                      

    SORT it_marm BY matnr meinh.                        
    DELETE ADJACENT DUPLICATES FROM it_marm.            
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This simple select statement gives me an dump saying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Error in the module RSQL accessing the database interface. &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513698#M236659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in the module RSQL accessing the database interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513699#M236660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jr Abaper. &lt;/P&gt;&lt;P&gt;Check the definition of it_marm, the fields should be in the same order as the select field list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps.&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513699#M236660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T18:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in the module RSQL accessing the database interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513700#M236661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you are checking it_vbak[] not initial instead of it_vbak.  The way it is written now will attempt the select if there is anything in the header of your internal table even if the table is emtpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Michael Malvey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513700#M236661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T18:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in the module RSQL accessing the database interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513701#M236662</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT IT_VBAK[] IS INITIAL.
  ...
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513701#M236662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T18:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in the module RSQL accessing the database interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513702#M236663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your structure of IT_MARM is not the same MARM, then you will get an error.  A quick fix is to use INTO CORRESPONDING FIELDS OF TABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
              
INTO CORRESPONDING FIELDS OF TABLE it_marm                                      
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/1513702#M236663</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-14T18:59:10Z</dc:date>
    </item>
  </channel>
</rss>

