Show TOC

Example documentationProcessing an ABAP Call Locate this document in the navigation structure

 

The application that processes the call must quit call execution can only allow ABAP exceptions.

All other exceptions that are thrown by handleRequest are treated as system failures.

Syntax Syntax

  1.  public void handleRequest(JCoServerContext serverCtx, JCoFunction function)
  2.     {
  3.         try
  4.         {
  5.             //process the request
  6.         }
  7.         catch(Exception e)
  8.         {
  9.             throw new AbapException("a group of the exception", "text");
  10.         }
  11.     }
End of the code.

The exception and error listeners are not informed about the exception case. This takes place in handleRequest.

More Information

For a description of the call sequence for tRFC/bgRFC processing, see: