I am working on a requirement to display warning message on MIRO when information entered meets required criteria. I have implemented BADI 'INVOICE_UPDATE' and using method "CHANGE_AT_SAVE".However i noticed the message is not being displayed even after my BADI implementation is being called.
I noticed that after BADI is called the following code executed to check and message are display if the transaction/posting is done in dialog mode. Is there a other user exit where i can display warning messages to the user?
IF sy-subrc <> 0.
IF s_rbkp-ivtyp NE c_ivtyp_dialog. " dialog...
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = sy-msgid
msgty = sy-msgty
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
txtnr = sy-msgno.
ENDIF.
ENDIF.