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

CX_SY_OPEN_SQL_DBC Dump

Former Member
0 Likes
431

Hi ABAPers,

I am not so familiar with OSS notes so i need some help here.We are geting a dump while running a Z report.The dump says "An exception occurred. This exception will be dealt with in more detail

below. The exception, assigned to the class 'CX_SY_OPEN_SQL_DB', was not caught, ".I found an OSS note for this and it suggests a TRY Catch ENDCATCH code to be inserted.The OSS note code is TRY. "n SELECT COUNT(*) FROM (names-name_db) INTO nr_old

WHERE (wa_key_where-where_tab).

CATCH cx_sy_open_sql_db INTO error_ref. "note873596

MESSAGE e169. "note873596

ENDTRY.

I want to know after applying this note what will be the output.I mean wheteher the report will run completly or it will skip the rest part of the code and gives a message?

1 REPLY 1
Read only

Former Member
0 Likes
338

OSS Notes are most often for SAP programs. A custom report that produces a short dump likely has an error in it.

What is the Open SQL being executed that creates the dump?