Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Abap Dump DBIF_RSQL_INVALID_SQL

Former Member
0 Likes
1,088

Hi Gurus,

I am getting this abap dump DBIF_RSQL_INVALID_SQL and I checked in developer trace it saying: -

B *** ERROR => dbtran ERROR (set_input_da_spec): statement too big

B marker count = 10007 > max. marker count = 9999."

I know this may have posted many times but I didn't found any exact solution.

So how to resolve this issue?

Thanks & Regards,

Harsh Wardhan

8 REPLIES 8
Read only

Former Member
0 Likes
963

Can you please point out the code extract where the dump is triggered?

Regards

Tanmoy

Read only

0 Likes
963

Hi Tanmoy,

I have attached the Picture which have the pointer of error code.

Thanks,

Harsh

Read only

0 Likes
963

What input value are you providing in range as input...? Looks like ypur input parameter has too many records...try by reducing the entries in range does it have any duplicate records

Read only

0 Likes
963

it seems to be an issue with the ranges table that you using in the WHERE clause.

https://scn.sap.com/thread/81418

Read only

0 Likes
963

Hi,

Change your select to:

SELECT bukrs

              belnr

              gjahr

              awkey

     FROM bkpf

     INTO CORRESPONDING FIELDS OF TABLE l_i_bkpf <<<<<<<<<<<<< use this

     ...

Regards,

Sandro Ramos

Read only

Former Member
0 Likes
963

hi,

harsh wardhan

check the length of variable you declared for select option and parameter maximum length size should be 8 character.

Read only

MariaJooRocha
Contributor
0 Likes
963

Hi,

If your code is OK, and the problem is with the selection, you can use: catch

data: exc_ref TYPE REF TO cx_sy_open_sql_db,
        exc_text(50).

try.               

"     your select code
     catch cx_sy_open_sql_db into exc_ref.
      exc_text = exc_ref->get_text( ).
      message exc_text type 'E'.

  endtry.

Regards,

Maria João Rocha

Read only

Former Member
0 Likes
963

Hi All,

For now it is not giving any dump and I have not done any modification.

But I will let you know the updates for next load.

Thanks for valuable comments.

Regards,

Harsh