‎2013 Jan 03 8:37 AM
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 ®ards
satish chandra
‎2013 Jan 03 8:59 AM
‎2013 Jan 03 9:30 AM
it gets triggered in select statement of standard program. i cant understand why?
‎2013 Jan 03 1:00 PM
‎2013 Jan 04 4:34 AM
Raymond is this what you are asking for....
Database error text........: "POS(1) Too complicated SQL statement (too much
strategy data)"
regards
‎2013 Jan 04 8:27 AM
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
‎2013 Jan 04 1:32 PM
MY search is and search. and it is simillar to standard search like IH06, IH08, IP24, IW39 AND IW69 etc.
thanks & regards
satish chandra
‎2013 Jan 04 1:34 PM
Ok what i did is, there are few searches in my code(and search) but i only use function location searches or equipment often.
‎2013 Jan 04 1:41 PM
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
‎2013 Jan 05 7:10 AM
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?
‎2013 Jan 05 9:51 AM
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