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

Dump while executing OAOR Tcode

Former Member
0 Likes
1,311

Hi ,

I have Created a program to upload PDF documents into BDS and it is placing PDF successfully. But when I view the same Document from OAOR Tcode , it's throwing DUMP with following message.

Error in the ABAP Application Program

The current ABAP program "CL_ALINK_CONNECTION===========CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

Can anyone throw some light on this.

Regards

Pavan Kumar.

8 REPLIES 8
Read only

Former Member
0 Likes
1,188

the dump must be showing a place where it got terminated. tell us about that. explain more what you get in the dump

Read only

0 Likes
1,188

Hi Somu,

Here is the dump.

Runtime Errors SAPSQL_INVALID_FIELDNAME

Exception CX_SY_DYNAMIC_OSQL_SEMANTICS

Date and Time 30.12.2011 05:18:14

Termination occurred in the ABAP program "CL_ALINK_CONNECTION===========CP" -

in "FIND".

The main program was "BDSFIND ".

In the source code you have the termination point in line 216

of the (Include) program "CL_ALINK_CONNECTION===========CM00A".

The termination is caused because exception "CX_SY_DYNAMIC_OSQL_SEMANTICS"

occurred in

procedure "FIND" "(METHOD)", but it was neither handled locally nor declared

in the RAISING clause of its signature.

The procedure is in program "CL_ALINK_CONNECTION===========CP "; its source

code begins in line

1 of the (Include program "CL_ALINK_CONNECTION===========CM00A ".

I think some settings might be missing but I'm not sure.

Regards

Pavan Kumar

Read only

0 Likes
1,188

Hello Pavan (got you)

this program calls BDS_ALL_CONNECTIONS_GET, whats the subrc of this!!

Read only

0 Likes
1,188

pavan,

ignore the previous post.

the error is in line number 217 of method FIND in class CL_ALINK_CONNECTION.

its a open SQL statement. stay on debugger and see the value of l_toaco-connection and l_condition

Read only

0 Likes
1,188

Hi Somu,

I was about to tell you the same, that in table L_TOACO_TAB, there are 6 Entries for connections. And for entry TOADL in table it is throwing dump. I have Checked the table TOACO, for entry TOADL there is no Object Text. Is this causing problem.

Regards

Pavan Kumar

Read only

0 Likes
1,188

object texts are maintain in TOASO. but can you please place the where statement here!!

Read only

0 Likes
1,188

Dude,

Solved it. We should not have any empty entries in table TOACO for Connection Key.

Regards

Pavan Kumar.

Read only

0 Likes
1,188

chikao..

you are the best