You have to set business object (item) for which you output the message:METHOD if_ex_me_process_po_cust~check.
INCLUDE mm_messages_mac.
...
mmpur_business_obj item_ref. "Reference to the item
mmpur_metafield mmmfd_cust_01. "Field with er...
Better solution:DATA lo_salv TYPE REF TO cl_salv_table.
DATA lo_ex TYPE REF TO cx_root.
DATA lv_error TYPE string.
DATA lv_xml TYPE xstring.
DATA lt_bin TYPE solix_tab.
DATA lv_len TYPE i.
TRY.
CALL METHOD cl_salv_table=>factory
IMPORTING
...
I think I found solution:*&---------------------------------------------------------------------*
*& Form lcl_salv_model
*&---------------------------------------------------------------------*
CLASS lcl_salv_model DEFINITION INHERITING FROM cl_salv_...