ABAP OO Class Methods

GET_MESSAGES SAP Method - Get Messages







Below is documentation, parameters and attributes of ABAP Method GET_MESSAGES within SAP class IF_RSBOLAP_MESSAGE_HANDLER. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_RSBOLAP_MESSAGE_HANDLER into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

IF_RSBOLAP_MESSAGE_HANDLER

Method Name

GET_MESSAGES

Method Type

Instance Method:   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.






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


I_DELETE_MESSAGES " Boolean TYPE RS_BOOL
I_SKIP_SYSTEM_MESSAGES " Omit System Messages TYPE RS_BOOL
I_STEP_CLOSE " Step Close TYPE RS_BOOL

Returning Parameters:


R_T_MESSAGES " Messages TYPE BICS_PROV_T_MESSAGE

Exceptions:



Example ABAP coding


DATA:
ld_I_DELETE_MESSAGES TYPE RS_BOOL ,
ld_I_SKIP_SYSTEM_MESSAGES TYPE RS_BOOL ,
ld_I_STEP_CLOSE TYPE RS_BOOL ,
ld_R_T_MESSAGES TYPE BICS_PROV_T_MESSAGE.

" ld_I_DELETE_MESSAGES = "
" ld_I_SKIP_SYSTEM_MESSAGES = "
" ld_I_STEP_CLOSE = "

DATA: lo_HANDLER TYPE REF TO IF_RSBOLAP_MESSAGE_HANDLER .
CALL METHOD lo_HANDLER->GET_MESSAGES(
EXPORTING
I_DELETE_MESSAGES = ld_I_DELETE_MESSAGES
I_SKIP_SYSTEM_MESSAGES = ld_I_SKIP_SYSTEM_MESSAGES
I_STEP_CLOSE = ld_I_STEP_CLOSE
RECEIVING
R_T_MESSAGES = ld_R_T_MESSAGES ).

"Alternate coding for Method Call with returning parameter



ld_R_T_MESSAGES = lo_HANDLER->GET_MESSAGES(
EXPORTING
I_DELETE_MESSAGES = ld_I_DELETE_MESSAGES
I_SKIP_SYSTEM_MESSAGES = ld_I_SKIP_SYSTEM_MESSAGES
I_STEP_CLOSE = ld_I_STEP_CLOSE ).


ld_R_T_MESSAGES = lo_HANDLER->GET_MESSAGES(
EXPORTING
I_DELETE_MESSAGES = ld_I_DELETE_MESSAGES
I_SKIP_SYSTEM_MESSAGES = ld_I_SKIP_SYSTEM_MESSAGES
I_STEP_CLOSE = ld_I_STEP_CLOSE ).