GET_MESSAGES_FROM_REPOSITORY SAP Method of class CL_RSTCO_200_UTILITIES









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_RSTCO_200_UTILITIES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method GET_MESSAGES_FROM_REPOSITORY

.

NameTypeData TypeDescriptionDefault Value
I_ERR_TO_WARImportingTYPE
RS_BOOL
Boolean
I_LANGUImportingTYPE
SY-LANGU
ABAP System Field: Language Key of Text Environment
I_LOG_HANDLEImportingTYPE
BALLOGHNDL
Application Log: Log Handle
RT_MESSAGEReturningTYPE
BAPIRETTAB
BW: Table with Messages (Application Log)



Exceptions of Method GET_MESSAGES_FROM_REPOSITORY

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_I_ERR_TO_WAR TYPE RS_BOOL,
lv_I_LANGU TYPE SY-LANGU,
lv_I_LOG_HANDLE TYPE BALLOGHNDL,
lv_RT_MESSAGE TYPE BAPIRETTAB,
lv_other TYPE c.

CALL METHOD CL_RSTCO_200_UTILITIES=>GET_MESSAGES_FROM_REPOSITORY(
EXPORTING
I_ERR_TO_WAR = lv_I_ERR_TO_WAR
I_LANGU = lv_I_LANGU
I_LOG_HANDLE = lv_I_LOG_HANDLE
RECEIVING
RT_MESSAGE = lv_RT_MESSAGE )



"Alternate coding for Method Call with returning parameter
lv_RT_MESSAGE = CL_RSTCO_200_UTILITIES=>GET_MESSAGES_FROM_REPOSITORY(
EXPORTING
I_ERR_TO_WAR = lv_I_ERR_TO_WAR
I_LANGU = lv_I_LANGU
I_LOG_HANDLE = lv_I_LOG_HANDLE ).

Links to Related Class(s)

CL_RSTCO...
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!