Start of Content Area

This graphic is explained in the accompanying text Processing an ABAP Call  Locate the document in its SAP Library structure

The class that extends the JCO.Server and is called up when an ABAP call is being processed, must overwrite the protected void method handleRequest(JCO.Function function).

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 

 protected void handleRequest(JCO.Function function)

    {

        try

        {

            //process the request

        }

        catch(Exception e)

        {

            throw new AbapException("a group of the exception", "text");

        }

    }

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

Additional Information

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

·        Processing a tRFC Call

 

 

End of Content Area