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

Error Message DBIF_RSQL_INVALID_RSQL

Former Member
0 Likes
689

Hi,

I am enhancing a datasource in BW with some new fields and i have written a select statement for populating the data into the added fields.

SELECT SINGLE PARVW COUNTER PARNR INTO (I_MC18I30HDR-ZZPARVW,

I_MC18I30HDR-ZZCOUNTER,I_MC18I30HDR-ZZPARNR)

from IHPA where OBJNR = I_MC18I30HDR-OBJNR.

when i am checking the syntax check it says no syntax errors found.

when i am trying to execute the datasource in BW it is giving an error DBIF_RSQL_INVALID_RSQL.

I have checked the OSS Notes(35765) for the above error and the solution given in OSS Notes is "With the profile parameter 'rsdb/max_blocking_factor', you can break up the "SELECT FOR ALL ENTRIES IN itab" statement into several smaller statements. The default value for this parameter is 60, i.e. for each set of 60 entries in the 'itab', one SQL statement is generated. To avoid the abend, lower the value of this profile parameter to 30 (or even smaller, if necessary)."

can anybody help me in changing the select statement according to the OSS Notes solution.Where can i find the profile parameter to break the select statements.

Thanks in Advance

Bobby

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
660

Please take a complete look at the dump. There will be other clues in there that will help identify the root cause. Are your source fields and target fields of same length and type?

Hi,

I am enhancing a datasource in BW with some new fields and i have written a select statement for populating the data into the added fields.

SELECT SINGLE PARVW COUNTER PARNR INTO (I_MC18I30HDR-ZZPARVW,

I_MC18I30HDR-ZZCOUNTER,I_MC18I30HDR-ZZPARNR)

from IHPA where OBJNR = I_MC18I30HDR-OBJNR.

when i am checking the syntax check it says no syntax errors found.

when i am trying to execute the datasource in BW it is giving an error DBIF_RSQL_INVALID_RSQL.

I have checked the OSS Notes(35765) for the above error and the solution given in OSS Notes is "With the profile parameter 'rsdb/max_blocking_factor', you can break up the "SELECT FOR ALL ENTRIES IN itab" statement into several smaller statements. The default value for this parameter is 60, i.e. for each set of 60 entries in the 'itab', one SQL statement is generated. To avoid the abend, lower the value of this profile parameter to 30 (or even smaller, if necessary)."

can anybody help me in changing the select statement according to the OSS Notes solution.Where can i find the profile parameter to break the select statements.

Thanks in Advance

Bobby

4 REPLIES 4
Read only

Former Member
0 Likes
661

Please take a complete look at the dump. There will be other clues in there that will help identify the root cause. Are your source fields and target fields of same length and type?

Read only

0 Likes
660

Hi Srinivas,

The source fields and target fields are of the same length and the error message in the dump says

"The data read during a SELECT access could not be inserted into the

target field.

Either conversion is not supported for the target field's type or the

target field is too short to accept the value or the data are not in a

form that the target field can accept"

Thanks,

Bobby

Read only

Former Member
0 Likes
660

Can you please post the declaration of your source fields and target fields? You dump information is definitely pointing to the fact that it was not able to move values from the source fields to the target fields. Try the process of elimination to check which of the three fields is causing it. My guess is that it is the counter field, but check it out.

Read only

0 Likes
660

Data definitions for these fields

PARVW COUNTER PARNR

I_MC18I30HDR-ZZPARVW, I_MC18I30HDR-ZZCOUNTER,I_MC18I30HDR-ZZPARNR