‎2011 Dec 30 5:58 AM
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.
‎2011 Dec 30 6:01 AM
the dump must be showing a place where it got terminated. tell us about that. explain more what you get in the dump
‎2011 Dec 30 6:07 AM
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
‎2011 Dec 30 6:17 AM
Hello Pavan (got you)
this program calls BDS_ALL_CONNECTIONS_GET, whats the subrc of this!!
‎2011 Dec 30 6:23 AM
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
‎2011 Dec 30 7:12 AM
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
‎2011 Dec 30 7:32 AM
object texts are maintain in TOASO. but can you please place the where statement here!!
‎2011 Dec 30 7:35 AM
Dude,
Solved it. We should not have any empty entries in table TOACO for Connection Key.
Regards
Pavan Kumar.
‎2011 Dec 30 7:37 AM