Ansicht
Dokumentation

ABENRFC_EXCEPTIONS_ABEXA - RFC EXCEPTIONS ABEXA

ABENRFC_EXCEPTIONS_ABEXA - RFC EXCEPTIONS ABEXA

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- Exception Handling

This example demonstrates exception handling in RFC.

Source Code

Execute

Description

The DEMO_RFM_CLASSIC_EXCEPTION function module raises the non-class-based exception CLASSIC_EXCEPTION.

When DEMO_RFM_CLASSIC_EXCEPTION is called, EXCEPTIONS is specified and values for sy-subrc are assigned to the possible classic exceptions. If none of the predefined RFC interface exceptions are raised, sy-subrc is set to 3. exceptions occur, sy-subrc is set to 4.

Note

Class-based exception handling is available for the RFC from Release 7.2.






Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.

Length: 841 Date: 20240425 Time: 004215     sap01-206 ( 20 ms )