COLLECT_MESSAGE SAP Method of class CL_BS_SOA_NOTIF_OF_FAILURE_IN









Below is documentation, parameters and attributes of ABAP Method COLLECT_MESSAGE within SAP class CL_BS_SOA_NOTIF_OF_FAILURE_IN. 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_BS_SOA_NOTIF_OF_FAILURE_IN 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 COLLECT_MESSAGE can also be found below:

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


Parameters of Method COLLECT_MESSAGE

.

NameTypeData TypeDescriptionDefault Value
IR_FEH_REGISTRATIONImportingTYPE REF TO
CL_FEH_REGISTRATION
Registration and Restart of FEH
IS_ERROR_MESSAGEImportingTYPE
BAPIRET2
Return Parameter
IS_INPUTImportingTYPE
ANY
IV_ERROR_CATEGORYImportingTYPE
ECH_DTE_ERROR_CATEGORY
Error Category
IV_MESSAGE_IDImportingTYPE
STRING
IV_PRE_MAPPINGImportingTYPE
FEH_BOOLEAN
Boolean



Exceptions of Method COLLECT_MESSAGE

CX_BSSOA_PAF_NOTIFICATION_OF_F - Standard Message Fault NOF

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: lo_class TYPE REF TO CL_BS_SOA_NOTIF_OF_FAILURE_IN.
DATA: lv_IR_FEH_REGISTRATION TYPE CL_FEH_REGISTRATION,
lv_IS_ERROR_MESSAGE TYPE BAPIRET2,
lv_IS_INPUT TYPE ANY,
lv_IV_ERROR_CATEGORY TYPE ECH_DTE_ERROR_CATEGORY,
lv_IV_MESSAGE_ID TYPE STRING,
lv_IV_PRE_MAPPING TYPE FEH_BOOLEAN,
lv_other TYPE c.

CALL METHOD lo_class=>COLLECT_MESSAGE(
EXPORTING
IR_FEH_REGISTRATION = lv_IR_FEH_REGISTRATION
IS_ERROR_MESSAGE = lv_IS_ERROR_MESSAGE
IS_INPUT = lv_IS_INPUT
IV_ERROR_CATEGORY = lv_IV_ERROR_CATEGORY
IV_MESSAGE_ID = lv_IV_MESSAGE_ID
IV_PRE_MAPPING = lv_IV_PRE_MAPPING ).

Links to Related Class(s)

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