Ansicht
Dokumentation

FARR_BADI_CHECK_SYME - BAdI: Overwriting System Messages

FARR_BADI_CHECK_SYME - BAdI: Overwriting System Messages

General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You use this business add-in (BAdI) to overwrite the system message issued by the standard logic. You may suppress the system message by setting the value of interface parameter Suppress system message (CV_SUPPRESS_SYMESSAGE) to True.

You activated revenue accounting with an integration component.

You create an implementation class containing interface IF_FARR_CHECK_SYMESSAGE. You can't use message class FARR_MSG_CUSTOM. You must populate changing parameters Structure for overwriting a system message (CS_SYMESSAGE) and Suppress system message (CV_SUPPRESS_SYMESSAGE) with the message class, message type, and message number you've selected. You may populate the additional variables.

  CASE iv_msgno.

    WHEN '502'.

      "This is a test.

      cs_symessage-msgid = 'ZFARR_CHECK_SYMSG'.

      cs_symessage-msgty = 'E'.

      cs_symessage-msgno = '001'.

  ENDCASE.






PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 2128 Date: 20240523 Time: 191633     sap01-206 ( 30 ms )