Solution : https://service.sap.com/sap/support/notes/600870 (SAP Service marketplace login required)
Key words :
message handler call method cl_message_mm=>create exporting im_msgid = sy-msgid im_msgty = sy-msgty im_msgno = sy-msgno im_msgv1 = sy-msgv1 im_msgv2 = sy-msgv2 im_msgv3 = sy-msgv3 im_msgv4 = sy-msgv4 im_custom = '1', call function 'susr_user_address_read' exporting user_name = poheader-created_by importing user_address = l_addr3 exceptions user_address_not_found = 1, call method cl_message_mm=>create, &--------------------------------------------------------------------- & include zxmewu08 &--------------------------------------------------------------------- data l_addr3 type addr3_val, phone number poheader-telephone = l_addr3-tel_number, sy-subrc <> 0, usr21if poheader-created_by ne space, reference poheader-our_ref = l_addr3-department, include customer-specific messages, check t160m im_force_collect = mmpur_yes
Related Notes :
662464 | BAPI_PO_CREATE1: No 'on hold' of incorrect purchase orders |
310154 | ME21N/ME51N: Customer-specific check, generating error log |