ABAP OO Class Methods

GET_MAX_TYPE SAP Method - Message Collector: Find Worst Message Type







Below is documentation, parameters and attributes of ABAP Method GET_MAX_TYPE 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_MAX_TYPE

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_STEP_CLOSE " Step Close TYPE RS_BOOL

Returning Parameters:


R_MAX_MESSAGE_TYPE " Messages, Message Type TYPE SYMSGTY

Exceptions:



Example ABAP coding


DATA:
ld_I_STEP_CLOSE TYPE RS_BOOL ,
ld_R_MAX_MESSAGE_TYPE TYPE SYMSGTY.

" ld_I_STEP_CLOSE = "

DATA: lo_HANDLER TYPE REF TO IF_RSBOLAP_MESSAGE_HANDLER .
CALL METHOD lo_HANDLER->GET_MAX_TYPE(
EXPORTING
I_STEP_CLOSE = ld_I_STEP_CLOSE
RECEIVING
R_MAX_MESSAGE_TYPE = ld_R_MAX_MESSAGE_TYPE ).

"Alternate coding for Method Call with returning parameter



ld_R_MAX_MESSAGE_TYPE = lo_HANDLER->GET_MAX_TYPE(
EXPORTING
I_STEP_CLOSE = ld_I_STEP_CLOSE ).


ld_R_MAX_MESSAGE_TYPE = lo_HANDLER->GET_MAX_TYPE(
EXPORTING
I_STEP_CLOSE = ld_I_STEP_CLOSE ).