Skip to Content
0
Former Member
Aug 08, 2005 at 09:29 AM

Exception handling

20 Views

Hello,

I need to react to JCO.ABAPExceptions thrown in an Javaclass in the ABAP RFC functionmodule.

I connect Java and ABAP by the SAP JCo RFC provider service.

I generate a new JCO.ABAPException with an exceptionclass that is defined in the functionmodule in ABAP (WRONG_INPUT). But sy-subrc is always the value for 'OTHERS'.

Where is my mistake? Does SAP JCo support this way of throwing Abap exceptions?

Thanks for your help.

Jan