Skip to Content
0
Former Member
Nov 28, 2006 at 11:46 AM

Error EXEC SQL

80 Views

hello people,

I'm using the connection DBCOMM to connect a external BD, using this connection:

EXEC SQL.

SET CONNECTION :vg_con_name

ENDEXEC.

IF NOT sy-subrc IS INITIAL.

EXEC SQL.

CONNECT TO :vg_con_name

ENDEXEC.

ENDIF.

I verified the connection and before i maked a select in the table EKKO

kind of this:

EXEC SQL.

SELECT EBELN

FROM EKKO

INTO :P_EBELN

WHERE EBELN = :W_EBELN

ENDEXEC.

sometimes i lost the connection, but here in the project I use the version of R/3, 4.6c and don't have the command TRY to catch the problem.

The Dump is:

DBIF_DSQL2_SQL_ERROR

"ORA-03113: end-of-file on communication channel#"

anyone here can help me,

waiting

Wille