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

SQL error -901... CX_SY_OPEN_SQL_DB urgent

Former Member
0 Likes
474
    • Sql error -901.

This exception which is assigned to the class 'CX_SY_OPEN_SQL_DB'

was neither caught noe passed along using a Raising clause. **

This the message that i got in the dump screen while trying to insert a inetrnal table data into database table.

INSERT <Tablename > from table < internal table >.

Can anyone tell in what situation will this error occur.

If possible give me any OSS notes number regarding this issue.

Note: Iam working in SAP Enterprise edition in which INSERT stmt will return SY-SUBRC = 0

if all lines are inserted successfully. Any other result causes a runtime error.

Edited by: Aravindh A S on Apr 8, 2008 6:43 AM

2 REPLIES 2
Read only

Former Member
0 Likes
433

hi,

declare the internal table as below ...


field symbols : internal_table type table any.

Read only

0 Likes
433

I have declared the internal table in the same way that u have suggested.

Is it possible to guess what kind of error is it using the error number. SQL error -901.

I dont find any OSS note regarding this issue. If possible help me....