Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 04:18 PM

    Moderator message - Please search before asking - post locked Rob

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.