Exception Handling in Web Services
We expose an RFC enabled function module as web service in R/3. While creating the function module, we specify the exceptions that should be raised under the exceptions tab. When we execute this function module we get just the Exception Name not the Exception Text maintained against that exception. Here I will show how to change the exception name in the virtual interface of the web service as well as how to specify the complete and meaningful exception text in the web service response.