REPORT_EXCEPTION SAP Method Execute a service call method and handle FPM exception









Below is documentation, parameters and attributes of ABAP Method REPORT_EXCEPTION within SAP class CL_CACS_SCTR_ASSISTANCE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_CACS_SCTR_ASSISTANCE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method REPORT_EXCEPTION can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method REPORT_EXCEPTION

.

NameTypeData TypeDescriptionDefault Value
IO_COMP_CONTROLLERImportingTYPE REF TO
OBJECT
IO_ELEMENTImportingTYPE REF TO
IF_WD_CONTEXT_ELEMENT
Web Dynpro: Interface for Node Element
IO_WD_MESSAGE_MANAGERImportingTYPE REF TO
IF_WD_MESSAGE_MANAGER
Used in non fpm message
IS_FPM_MESSAGEImportingTYPE
ABAP_BOOL
Is message to be part of fpm
IS_SERVICE_MESSAGEImportingTYPE
ABAP_BOOL
Is message created self
IV_ATTRIBUTE_NAMEImportingTYPE
STRING
I_EXCEPTIONImportingTYPE REF TO
CX_ROOT
Abstract Superclass for All Global Exceptions



Exceptions of Method REPORT_EXCEPTION

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_CACS_SCTR_ASSISTANCE.
DATA: lv_IO_COMP_CONTROLLER TYPE OBJECT,
lv_IO_ELEMENT TYPE IF_WD_CONTEXT_ELEMENT,
lv_IO_WD_MESSAGE_MANAGER TYPE IF_WD_MESSAGE_MANAGER,
lv_IS_FPM_MESSAGE TYPE ABAP_BOOL,
lv_IS_SERVICE_MESSAGE TYPE ABAP_BOOL,
lv_IV_ATTRIBUTE_NAME TYPE STRING,
lv_I_EXCEPTION TYPE CX_ROOT,
lv_other TYPE c.

CALL METHOD lo_class=>REPORT_EXCEPTION(
EXPORTING
IO_COMP_CONTROLLER = lv_IO_COMP_CONTROLLER
IO_ELEMENT = lv_IO_ELEMENT
IO_WD_MESSAGE_MANAGER = lv_IO_WD_MESSAGE_MANAGER
IS_FPM_MESSAGE = lv_IS_FPM_MESSAGE
IS_SERVICE_MESSAGE = lv_IS_SERVICE_MESSAGE
IV_ATTRIBUTE_NAME = lv_IV_ATTRIBUTE_NAME
I_EXCEPTION = lv_I_EXCEPTION ).

Links to Related Class(s)

CL_CACS_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!