2009 May 19 4:06 PM
Hello all,
I have a function module.
I choosed to make it RFC : Remote enable module.
Then I got the message During RFC/update, no exception classes can be used, when I try to check it.
So I commented all parts regarding exceptions, deleted the Exceptions part .
And I still receive the same message
I don't know what else to do... Does anybody has an advice ?
Thank you !!!
2009 May 19 5:31 PM
Ariana,
on the exception tab of your RFC, you must have marked the checkbox 'Exceptn Classes' (checkbox just above your first exception). Uncheck this and you'll be fine.
Hi Ariana,
Try not to use exceptions in an RFC, collect all the error in a return table rather than giving an exceptions.
If possible try to show the code which you have written.
Regards,
Prashant
2009 May 19 4:15 PM
2009 May 19 4:31 PM
2009 May 19 4:36 PM
Hi Ariana,
Try not to use exceptions in an RFC, collect all the error in a return table rather than giving an exceptions.
If possible try to show the code which you have written.
Regards,
Prashant
2009 May 19 5:31 PM
Ariana,
on the exception tab of your RFC, you must have marked the checkbox 'Exceptn Classes' (checkbox just above your first exception). Uncheck this and you'll be fine.
2009 May 19 5:38 PM
Hello Ariana
Most likely there is an exception class defined in the signature of your function module.
Remove the exception class and replace it with a standard exception and then the compilation error should disappear.
However, RFC-enabled fm's should not raise any exception because otherwise the RFC connection will dump. Instead, return the errors as messages in a RETURN parameter (of table type BAPIRETTAB) like it is done in BAPIs.
Regards
Uwe
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |