Error saying "Error in the module RSQL accessing the database interface"

Hi,
there is a standard program available for retrieving the assets for the given cost centres on the selection screen.
Our requirement is instead of cost centre we have to retrieve the assets for the given cost centre group.
We have to find all the cost centres available on the given cost centre group and its child nodes.
For all these cost centres we will be retriving the asset history data.
So we copied the standard program into another Y program and made the changes to it.
What's happening is if we give the top most Cose centre group node there are 16000 cost centres available . while retriving the asset history data for all these cost centres an runtime error occurs in a standard program saying
"Error in the module RSQL accessing the database interface, " DBIF_RSQL_INVALID_RSQL ".
The error occurs while executing the statement Fetch Next cursor in a standard Include program.
<b>This happens only if we give huge range of data. If we give small range of data it
works fine</b>.
Can anyone help me in this by saying why it occurs and what will be the solution for this.
Thanks.

Hi camila,
The huge range is part of the query string passed to the database.
While an MP3 music gadget easily stores a gigabyte of data, ORACLE was able to increase the maxium size of a query string from 16 k to 32 k bytes in the last 5 years.
<b>Unbelievable but true!</b>
Just multiply the number of entries in the range with the field length and see where go go...
Regards,
Clemens

Similar Messages

  • Error in the module RSQL accessing the database interface

    I have written the following query.
    SELECT  a~no
             a~hist_no
             a~chk_stat
             a~chk_date
             a~user as chk_user
             b~name as chk_by
             into corresponding fields of table hist
             from zhist as a INNER JOIN zuser as b on
             auser = bbname
             where pspnr = v_pspnr
             and   chk_no = v_chk_no.
    I am getting the dump "Error in the module RSQL accessing the database interface".
    Please provide me the solution.
    Thanx,
    Selva.

    Hi,
    As i have analysed your query in that you are putting the data in the internal table 'hist' which is also a standard structure and if you check in SE11 'hist' is the standard structure for 'Tablespace History' and might be because of that it is causing the problem.
    Kindly check by changing the name of the internal table to tt_hist and then try.
    I think that will solve the problem.
    Regards,
    Harsh Goel

  • DBIF_RSQL_INVALID_RSQL  " Error in the module RSQL accessing the database i

    TYPES: BEGIN OF lty_bkpf,
               xblnr LIKE bkpf-xblnr,
             END OF lty_bkpf.
      DATA: li_bkpf TYPE STANDARD TABLE OF lty_bkpf
                    WITH HEADER LINE.
      RANGES: lr_xblnr FOR bkpf-xblnr,
              lr_xblnr1 FOR bkpf-xblnr,
               s_bukrs FOR bseg-bukrs.
    IF NOT lr_xblnr1[] IS INITIAL.
        SELECT xblnr
            FROM bkpf
            APPENDING CORRESPONDING FIELDS OF TABLE li_bkpf
            WHERE bukrs IN s_bukrs
            AND bstat = ''
            AND xblnr IN lr_xblnr1  
            AND blart EQ 'SA'.
      ENDIF.
    s_bukrs has a single value .
    lr_xblnr1 has 3000 entries and also with  wild characters.  ( I     CP   4903813253* ) .
    the SELECT statement is going into dump  with the message  : DBIF_RSQL_INVALID_RSQL
    " Error in the module RSQL accessing the database interface."
    please suggest me alternate code  to encounter this issue .
    thanks,
    Raghu V

    Moderator message - Please search before asking - post locked
    Rob

  • Error in module RSQL of the database interface.

    Hi Expert,
    I get this error "Error in module RSQL of the database interface." when the below ABAP statement executed,  do you know the root cuase? Thanks.
    ABAP Code:
      data lt_fact type TABLE OF /BIC/FZRT_C002.
      data ls_Fact type /BIC/FZRT_C002.
      *SELECT * INTO table lt_fact FROM /BIC/FZRT_C002 WHERE KEY_ZRT_C0021 in lt_RSDIMID and KEY_ZRT_C0022 in lt_caRSDIMID*.
    Information in ST22.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLZZ_FG" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
         in
        procedure "ZCA_GET_CUBE_STOCK" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The SQL statement generated from the SAP Open SQL statement violates a
        restriction imposed by the underlying database system of the ABAP
        system.
        Possible error causes:
         o The maximum size of an SQL statement was exceeded.
         o The statement contains too many input variables.
         o The input data requires more space than is available.
         o ...
        You can generally find details in the system log (SM21) and in the
        developer trace of the relevant work process (ST11).
        In the case of an error, current restrictions are frequently displayed
        in the developer trace.
    Best Regards,
    Andrew

    i have the same error but my first select is
    SELECT QMNUM QMTXT QMDAT AUFNR OBJNR QMNAM QMART BTPLN IWERK BEBER INGRP  EQUNR SERIALNR MATNR
            INTO TABLE GT_VIQMEL
            FROM VIQMEL
            WHERE QMNUM IN S_QMNUM .
    please tell me how to solve this error when i run 24000 raw this select dump.
    ASAP
    thanks
    Eman elgammal.

  • Error in module RSQL of the datasource inter face

    Hi All,
    We have installed a fresh BIW server on MSSQL database 2005. We have selected components like as ABAP.JAVA,EP,EP Core ,BI Java. While replicating the datasource using tcode RSA1 from R/3 Retail Server we are getting an error Error in module RSQL of the datasource inter face .
    Details of Support package level-:
    SAP_ABA 700 0016 SAPKA70016 Cross-Application Component
    SAP_BASIS 700 0016 SAPKB70016 SAP Basis Component
    PI_BASIS 2006_1_700 0007 SAPKIPYM07 Basis Plug-In (PI_BASIS) 2006_1_700
    SAP_BW 700 0018 SAPKW70018 SAP NetWeaver BI 7.0
    BI_CONT 703 0008 SAPKIBIIP8 Business Intelligence Content
    Please suggest us the solution.
    Note: we are not getting any dump in st22. we have already checked the note 1162821
    Regards,
    Dushyant

    Check this threads,
    Re: PSA have not data
    Re: Unable to Activate Source System after Upgrade
    That might help
    Regards
    Juan

  • Error in module RSQL of the datasource inter face + RSA1

    Hi All,
    We have installed a fresh BIW server on MSSQL database 2005. We have selected components like as ABAP.JAVA,EP,EP Core ,BI Java. While replicating the datasource  using tcode RSA1 from R/3 Retail Server we are getting an error Error in module RSQL of the datasource inter face .
    Details of Support package level-:
    SAP_ABA     700     0016     SAPKA70016     Cross-Application Component
    SAP_BASIS     700     0016     SAPKB70016     SAP Basis Component
    PI_BASIS     2006_1_700     0007     SAPKIPYM07     Basis Plug-In (PI_BASIS) 2006_1_700
    SAP_BW     700     0018     SAPKW70018     SAP NetWeaver BI 7.0
    BI_CONT     703     0008     SAPKIBIIP8     Business Intelligence Content
    Please suggest us the solution.
    Note: we are not getting any dump in st22. we have already checked the note 1162821
    Regards,
    Dushyant

    Thanks a lot ,we got the solution.
    Regards,
    Dushyant

  • RFC_ERROR_SYSTEM_FAILURE: Error in module RSQL of the database interface

    HI All,
    I am trying to execute an RFC through JCO connection and getting the error "RFC_ERROR_SYSTEM_FAILURE: Error in module RSQL of the database interface".
    While debugging I have found that the actual cause of dump is a SQL command written in this RFC. The SQL command is
    SELECT DISTINCT *
        INTO CORRESPONDING FIELDS OF TABLE lt_calcrule_hol
        FROM itc_calcrule_hol                              
        FOR ALL ENTRIES IN calc_rule
        WHERE rule_id = calc_rule-rule_id
        AND start_date <= sy-datum
        AND end_date >= sy-datum
        AND (lv_ident)
        AND ( (lv_orgs)
        OR location_type = '' ).
    Here the value of lv_ident is ======>>  ident IN ('US','B2'.........................)
    and value of lv_orgs is =========>>  location_type IN ('S1','S2',..............................)
    location_type and ident are columns in table itc_calcrule_hol .
    I have analysed that if I pass around 700 enteries in the lv_ident and lv_ogs then it is working fine.
    But if I have more than 900 enteries in these variables then it dumps.
    Can anybody let me know what is the issue with the query here.And what could be the solution.
    Thanks and Regards,
    Reena

    I'd recommend talking to an experienced basis admin or ABAP developer. First of all it would help to look at the short dump in SAP, to see if that gives any useful information. In case of a generic error like DBIF_RSQL_INVALID_RSQL, the developer trace of the work process (dev_w<n>) should contain further information (to get the number of the work process that handled your RFC call check the system log, which contains the reference along with a comment about the dump). So I'd check those first to see what actually caused the problem.
    Information on maximum SQL statement length can either be retrieved from the database vendor's documentation or alternatively by searching SAP [OSS notes|https://service.sap.com/notes]. For the latter you need a valid user ID for the SAP service market place.

  • Error in module RSQL of the database interface! Please Help.

    I am getting the error "Error in module RSQL of the database interface" in my program. Below is the code snippet in which the above error is:
    =================================
    FORM UPLOAD_PA_PB USING NB_LINE ID.
      DATA: TOT_LINES TYPE I.
    IF ID <> 'PA' and ID <> 'PB'.           "UPG060507 - RY
      only PA and PB tables
        CHECK ID CP 'PA*'
           OR ID CP 'PB*'.
        DO NB_LINE TIMES.
          READ DATASET DSN INTO IPREL_DB.
          IF IPREL_DB+0(3) = P_FROM.
            IPREL_DB+0(3) = P_TO.
          ENDIF.
          RP-CHECK-VALID-PAPB IPREL_DB S_BEGDA-LOW S_BEGDA-HIGH.
          IF FLAG = 0. CONTINUE. ENDIF.
          APPEND IPREL_DB.
        ENDDO.
    Begin of change - UPG060507 - RY
        DELETE ADJACENT DUPLICATES FROM IPREL_DB.
    End of change - UPG060507 - RY
        IF TEST = SPACE.
          IF ID = 'PA2010' or ID = 'PA0014' or ID = 'PA0015'.
            PERFORM CLEAR_COST_ASSIGNMENT.                  "PUNM0002
          ENDIF.
          delete previous values
          DELETE FROM (ID) WHERE PERNR IN PERS
                             AND BEGDA <= S_BEGDA-HIGH
                             AND ENDDA => S_BEGDA-LOW.
        WRITE: / SY-DBCNT LEFT-JUSTIFIED, 'entrie(s) deleted from', ID.
          insert the new ones
          INSERT (ID) FROM TABLE IPREL_DB.
          WRITE: / SY-DBCNT LEFT-JUSTIFIED, 'entrie(s) imported in', ID.
          CALL FUNCTION 'DB_COMMIT'.
          SKIP.
        ELSE.
          DESCRIBE TABLE IPREL_DB LINES TOT_LINES.
          WRITE:/ TOT_LINES LEFT-JUSTIFIED, 'Entries Will Be Imported in',ID.
        ENDIF.
        REFRESH IPREL_DB.
    ENDIF.                                          "UPG060507 - RY
    ENDFORM.
    ===============
    Your help will be greatly appreciated and all the answers will be rewarded.
    Thanks.
    Mithun

    Hi Mithun,
    Can you please tell at which line the error is shown.
    Regards,
    Atish

  • HT1277 why i cannot set up my exchange account into my iphone 4s.  everything that needs to input has been provided right, but error says cannot get email not connected to the srver.where seems to be the problem?pls help.btw,i have an outlook for macbook

    please help me find out the solution to the problem.
    My iphone 4S was not able to fetch mails from the server ( outgoing and incoming)
    I was trying to configure my exchange account and follow all the procedures correctly but am having trouble in sending and receiving mails as the error says " cant get mails cannot connect to the server?  where seems to be the problem?
    Have read from the support services that if you using a Pop3 account into another device which I did ( my email was configured via outlook for mac in my macbook) there might be a lock out problem and cannot get emails on the second device which is my iphone?  ( I want to set up my exchange account to my iphone so wherever and whenever i go i cant still access to my email easily. Please help.

    No one seems to be hearing what Big Q is saying.
    He can pair his iPhone to his Macbook, but cannot CONNECT. He's NOT asking for alternative solutions, like Wi Fi.
    I am able to both pair and connect my one one Macbook to my other one, but I can only pair but not connect my iPhone or iPad to either Macbook. So I have the same problem. But I can pair and connect my Macbooks to other Bluetooth devices, like my ancient Nokia cellfone, or my Bluetooth HP printer.
    It's irrelavent that I can instead use a direct USB cable or Wi Fi between my Macbooks and my iPhone/iPad - why can't I use Bluetooth? If Apple does not allow Bluetooth between it's Macbooks and other Mac devices, then why have Bluetooth at all? Does my iPhone have Bluetooth only so that I can pair and connect to my my non Apple mobile handsfree car kit, or communicate easily with the dreaded Apple enemy Samsung, or what?
    Make no mistake , I am a diehard Apple fan, but this Bluetooth non compatibility issue appears shortsighted and seemingly pointless. Why does Apple not just say why they created the non compatibility, or have a message on the Bluetooth setup programme which simply and clearly says "don't bother wasting hours of your time trying to pair and connect your iPhone to your Macbook, because we don't allow that anymore, reason being that............"?
    As a first time user of this Forum I am surprised at the intolerant and highhanded tone of some of the replies  to what is a legitimate question, that is obviously plagueing many, many other Apple users.

  • C8180 error says two side print module not installed but i have used it before

    my c8180 printer error says two side print module not installed but i have used it before.i reinstalled printer with cd but did not help. Jean

    What operating system? The duplexer typically must be enabled (just once...) in the driver to make it available.  Enable the duplexer as shown in the Vista/Win 7 Duplex Printing Troubleshooting Guide here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Error on load: System.IO.IOException: The process cannot access the file : error in event viewer when users want to view documents from this third party deployed scan solution

    Error on load: System.IO.IOException: The process cannot access the file
    '\\server1\SCANSHARED\.pdf' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
       at abc.Scan.Layouts.ICC.Scan.View.Page_Load(Object sender, EventArgs e)
    I faced this  error in event viewer  when users want to view documents from this third party deployed scan solution
    here I have two WFS servers  and they configured with load balancing in F5 .
    when I enable both servers in F5 I receive this error messages in 2nd server,
    when users want to view documents
    adil

    Do you have antiVirus installed on the sharepoint servers?
    These folders may have to be excluded from antivirus scanning when you use file-level antivirus software in SharePoint. If these folders are not excluded, you may see unexpected behavior. For example, you may receive "access denied" error messages when files
    are uploaded.
    Please follow this KB and exclude the folders from Scanning.
    http://support.microsoft.com/kb/952167
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • While deleting the virtual machine .vhd folder -- error msg : the process cannot access the file beacuse it is being used by another process

    When i am trying to delete the Virtual Machine folder/directory i get the below error. Virtual machine is turned off
    V:\>rmdir ME-EXCAS01 /s
    ME-EXCAS01, Are you sure (Y/N)? y
    ME-EXCAS01\ME-EXCAS01\Virtual Machines\1B1FD14E-B3F0-4232-9F96-2A871E879CD6.xml
    - The process cannot access the file because it is being used by another process
    How to delete the whole folder ?
    Thanks

    Also, if your VM has snapshots and you delete it, you must wait for the snapshots to finish merging - the VHD files will be locked until then.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • I get an error message when downloading ITunes :could not access the network location %public%\desktop\

    I get an error message when downloading ITunes "could not access the network location" %public%\desktop\?
    windows vista 32 bit

    Try the following user tip:
    "Could not access network location %PUBLIC%\Desktop\" install errors

  • Recurrent error in Win32 install logs (The process cannot access the file..

    hi forum !
    I'm already on my third installation of Hyperion Essbase and still getting the same error within the logs :
    (Jan 31, 2008 1:48:29 PM), essbaseServer7_0_0Suite, com.installshield.wizard.platform.win32.WindowsSharedFiles, err, ServiceException: (error code = -30016; message = "The process cannot access the file because it is being used by another process.
    (32)"; severity = 0)
    STACK_TRACE: 23
    ServiceException: (error code = -30016; message = "The process cannot access the file because it is being used by another process.
    (32)"; severity = 0)
         at com.installshield.wizard.platform.win32.Win32FileServiceImpl.win32SetFileModified(Native Method)
         at com.installshield.wizard.platform.win32.Win32FileServiceImpl.setFileModified(Win32FileServiceImpl.java:115)
         at sun.reflect.GeneratedMethodAccessor272.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.installshield.wizard.service.LocalImplementorProxy.invoke(LocalImplementorProxy.java:52)
         at com.installshield.wizard.service.AbstractService.invokeImpl(AbstractService.java:51)
         at com.installshield.wizard.service.file.GenericFileService.setFileModified(GenericFileService.java:185)
         at com.installshield.product.actions.Files.setFileTimes(Files.java:1608)
         at com.installshield.product.actions.Files.install(Files.java:460)
         at com.installshield.wizard.platform.win32.WindowsSharedFiles.install(WindowsSharedFiles.java:87)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
         at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
         at java.lang.Thread.run(Unknown Source)
    can use the products but this shouldn't be fine... do I have to stop a service or grant some permission ? any help is appreciated.
    thanks & regards,

    not having any JAVA_HOME env var. Did some checkings and :
    - one machine was having Java libraries because of DB2
    - the other machine was a fresh Win2003SP1 with SQL Server 2005
    guess can set JAVA_HOME to C:\Hyperion\common\JRE\Sun\1.5.0 before installing Essbase, but also guess it's a documented/automatic step... wonder what I'm missing ?
    doing the most basic-mode installations (defaults, automatic deployments), once I get them clean will perform more sophisticated ones. Searched the 9.3.1 doc PDFs without useful findings.

  • How do I fix this error: DF024: Unable to preserve original file at ... Error 32 The process cannot access the file because it is being used by another process.(Seq 1352).  ?

    I am installing creative the cloud Illustrator desktop app on a machine with windows 7 64 bit running in a domain environment.  The download starts and takes about runs for a bout 10 minutes and then stops with the error: DF024: Unable to preserve original file at "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll" Error 32 The process cannot access the file because it is being used by another process.(Seq 1352)
    I am logged in as a network administrator and there are no other apps except a web browser (Chrome) running.  There are no other users logged into the machine.
    How can I see what other process is using the needed file so that I can fix it?
    Thanks

    MelissaB34 it looks like you already are reviewing your installation log files but you can find more information at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  From the error you have posted it appears that your current User account is either unable to update C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll or does not have sufficient file permissions to do so.  Since you mentioned you are on a domain please ensure that you are working with your I.T. department and have correct access to this directory.
    You may want to also consider logging in under a local administrator account to see if you face the same difficulties.  This would help you determine if you are facing a file corruption issue or file permission issue.

Maybe you are looking for

  • Lots of ipod problems

    Hi this is my first post...i recently got a new 30GB Black iPod. A few days after i got it i started having all kinds of problems. I was trying to watch a movie and then none of the buttons would work. I reset my iPod and then got the sad faced icon.

  • How can I search and replace fonts?

    iOS 7 doesn't support the Adobe workhorse fonts I've most relied on for years, and arbitrarily changes them to iOS built-in fonts when I link my standard documents and templates to the iPhone, via iCloud. There's no apparent logic to how it does this

  • Downloading PDF files

    Why all of a sudden, when I try to download PDF files, I just get a black screen? Never had this problem, before. I have trided downloading a pdf file, that Idownloaded some time ago with no problem, but now iget the black screen all the time. Help!!

  • How do you get spaces to show everything in that space so you can drag...

    Stuff into other spaces?

  • TLS support wildcard cert?

    Hi everyone, I'm planning to enable TLS on our email traffic, but was wondering if that will conflict with the wildcard certificate we currently have enabled on the server? I couldn't find any information about smtp tls errors because of it on google