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

short dump?

Former Member
0 Likes
1,182

hi all,

could you help on this, why it comes and how to correct?

( Termination occurred in the ABAP program "RIAUFK20" - in "SELECTION_L".
The main program was "RIAUFK20 ".

In the source code you have the termination point in line 1099
of the (Include) program "RIAUFK20".
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "SELECTION_L" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.

The procedure is in program "RIAUFK20 "; its source code begins in line
822 of the (Include program "RIAUFK20 ".)

for me it comes sometimes when no.of i/p records are more than 400 or 270. but lately it came when no.of i/p records are 79.

no clue about what it is....?

thanks &regards

satish chandra

10 REPLIES 10
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,106

Check for message errors in system log (SM21) or in database system maneger. Did you apply any change/Patch to kernel or database. You could also try to generate the dump during a SQL trace (ST05) to look at actual SQL statement.

Regards,

Raymond

Read only

0 Likes
1,106

it gets triggered in select statement of standard program. i cant understand why?

Read only

0 Likes
1,106

What is the actual (database server) error message, usually can be found in SM21 where I already wrote to look for.

Most current reason is "too complex selection that goes beyond maximal allowed size of a SQL statement for the database manager", but other errors are possible.

Regards,

Raymond

Read only

0 Likes
1,106

Raymond is this what you are asking for....

Database error text........: "POS(1) Too complicated SQL statement (too much

strategy data)"

regards

Read only

0 Likes
1,106

Yes, are there many "OR" options in the where clause, can you remove some easily ?

-1106: Too complicated SQL statement (Too much strategy data)  

Explanation

The search strategy used to process the SQL statement is greater than the space available.

User action

Delete some of the search strings containing an OR option.

Regards,

Raymond

Read only

0 Likes
1,106

MY search is and search. and it is simillar to standard search like IH06, IH08, IP24, IW39 AND IW69 etc.

thanks & regards

satish chandra

Read only

0 Likes
1,106

Ok what i did is, there are few searches in my code(and search) but i only use function location searches or equipment often.

Read only

0 Likes
1,106

Remember list of values in a range result in OR statement, so as I wrote, use ST05 SQL trace, to get a look at the actual SQL generated statement. Else you will get some errors due to strategy or even generated statement too wide for technical reason related to SAP kernel and DB version.

Regards,

Raymond

Read only

0 Likes
1,106

thanks raymond, yesterday i executed a custom report which fetches data from excel sheet and creates function locations in sap using bapi. there were some 50000 records, i got dump saying insufficiant memory. the error triggered in the bapi.

i keep getting such dumps, i dont know how to treat them?

Read only

0 Likes
1,106

Try to keep memory usage ats low as possible

- FREE data no longer required

- Managet data by batch of 1000 records or so when related to reading complementary data into memory

- perform some test to identify best size of batch data and frequency of commit

- Negociate with Basis for maximal memory available (depends on exact error message in dump)

- you could also submit the treatment of each batch of data in a background job (but then insure correct lock management)

Regards,

Raymond