Skip to Content
0
Former Member
May 08, 2007 at 12:45 PM

DBIF_RSQL_INVALID_RSQL - Error in RSQL module of database interface.

298 Views

Hi Frnds,

I get the the error snd short dump when Ia m running a report.

DBIF_RSQL_INVALID_RSQL - Error in RSQL module of database interface.

The program it is pointing to main program. Details are mentioned below.

Can anyone give some inputs as to why this error is coming..?

Regards

SPrakash

Information on where terminated |

The termination occurred in the ABAP program "/1BCDWB/DBBSEG" in

"START-OF-SELECTION".

The main program was "/1BCDWB/DBBSEG ".

The termination occurred in line 567 of the source code of the (Include)

program "/1BCDWB/DBBSEG"

| of the source code of program "/1BCDWB/DBBSEG" (when calling the editor 5670).

-


Source Code Extract

-


Line

SourceCde

-


537

START-OF-SELECTION.

538

IF MAX_SEL > 0.

539

RSEUMOD-TBMAXSEL = MAX_SEL.

540

ELSEIF MAX_SEL = 0.

541

CLEAR RSEUMOD-TBMAXSEL.

542

ENDIF.

543

IMPORT G_DATA_EXIT FROM MEMORY ID MEM_ID.

544

IF SY-BATCH IS INITIAL AND G_DATA_EXIT IS INITIAL.

545

IMPORT ACTION FROM MEMORY ID MEM_ID.

546

ELSE.

547

ACTION = 'ANZE'.

548

concatenate '/1BCDWB/DB' 'BSEG' into g_dbdatakey-eu_name.

549

g_dbdatakey-username = c_all.

550

import sort_NAME_TAB to %_TAB2_sort

551

field_name_tab to %_TAB2_field

552

from database dbdata(DB) id g_dbdatakey.

553

if sy-subrc = 0.

554

delete from dbdata

555

where relid = 'DB' and

556

eu_name = g_dbdatakey-eu_name and

557

username = c_all.

558

describe table %_tab2_field lines %_l_lines.

559

if not %_l_lines is initial.

560

%_TAB2[] = %_tab2_field[].

561

endif.

562

endif.

563

ENDIF.

564

CASE ACTION.

565

WHEN 'ANZE'.

566

try.

>>>>>

SELECT * FROM BSEG "client specified

568

APPENDING TABLE IBSEG

569

UP TO RSEUMOD-TBMAXSEL ROWS BYPASSING BUFFER

570

WHERE BUKRS IN I1

571

AND BELNR IN I2

572

AND GJAHR IN I3

573

AND BUZEI IN I4

574

AND BUZID IN I5

575

AND AUGDT IN I6

576

AND BSCHL IN I7

577

AND KOART IN I8

578

AND SHKZG IN I9

579

AND WRBTR IN I10

580

AND PSWSL IN I11

581

AND ZUONR IN I12

582

AND KOSTL IN I13

583

AND SAKNR IN I14

584

AND HKONT IN I15

585

AND LIFNR IN I16

586

AND MATNR IN I17

-