if ls_orders-errors is initial. perform add_msg_log using 'W' 'Z_MAT' '002'. replace all occurrences of '&' in '' with lv_matnr_new. endif.
So I don't know how to do it.
I need to replace all occurences of & in the message class with the same type shown in the perform.
Basically in the perform I am just adding message logs with my message class .
Can anyone help me ?