ADD_MESSAGE SAP Method Add Message









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

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


Parameters of Method ADD_MESSAGE

.

NameTypeData TypeDescriptionDefault Value
IX_CDOImportingTYPE REF TO
/BOFU/CX_CHANGE_DOC_HANDLING
Change Document Handling Errors
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object



Exceptions of Method ADD_MESSAGE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_CHANGE_DOC_TRA_PLUGIN.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IX_CDO TYPE /BOFU/CX_CHANGE_DOC_HANDLING,
lv_other TYPE c.

CALL METHOD lo_class=>ADD_MESSAGE(
EXPORTING
IX_CDO = lv_IX_CDO
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).

Links to Related Class(s)

/BOFU/CL...
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!