cancel
Showing results for 
Search instead for 
Did you mean: 

Connection to XI server lost when error in UDF

Former Member
0 Kudos

Hello guys,

I have written UDF for RFC look up using JCO connection . I am using try block to catch the exception . When I test the UDF with wrong userid -password combination connection to XI server's J2ee instance is lost .

Can any one tell me why is this happening ?

Regrads,

Keith

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in UDF if you are using system.exit(); in exception handling section remove it.

Check this weblog also.

/people/sap.user72/blog/2005/12/08/don146ts-in-exchange-infrastructure

Thanks,

Tuhin

Message was edited by:

Tuhin Kumar Oza

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Keith,

Can you send me what code you written in catch block?

Cheers!

Samarjit

Former Member
0 Kudos

Thanks,

My problem is solved