on 06-22-2006 2:18 PM
Hello,
We have successfully implemented SAPServer in our external process.
The only thinks that doesn't work perfectly is that we can't throw an exception in the implementation of remote function module.
The ABAP Program that is calling our fontion waits on expetion 0, 1, 2, 3 and 4. But when we throw the exception like this : throw new RfcException( "Error" );
the ABAP catch this exception, but as exception 4 (others) and not as 3 (Error)
Can someone help. Thanks
Hello
Thanks for the answer.
In the while we tried the following:
RfcAbapException( "ERROR" );
but it doesn't work.
The solution was to call this method with 2 parameters:
RfcAbapException( "ERROR", "Some error text...");
And now OK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try RfcAbapException .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.