Skip to Content
0
Former Member
Sep 30, 2005 at 04:42 AM

Exception handling in an RFC server

60 Views

Hi,

I've an RFC server coded in vb.net. Am trying to capture the exceptions raised by the server in an ABAP program. But it is giving a short dump. Can any one tell me the reason for this?

Regards,

Aravinda Sarma M.

The following is the code:

Try

SqlHeaderConnection.Open()

rsHeaderData = sqlCommand.ExecuteReader()

Catch ex As RfcAbapException

'excpError = New RfcAbapException("NOCONN", "Error in Query")

Throw ex

Finally

rsHeaderData.Close()

SqlHeaderConnection.Close()

End Try