Hello Das,
You can make use of Message class ME and Message No 127
first try with this
mmpur_metafield mmmfd_matnr . " Material
mmpur_metafield mmmfd_val_type . "Valution type
mmpur_message_forced 'E' 'ME' '127' mmmfd_matnr mmmfd_val_type ' ' ' '.
If material value and valution type doesnot print then try
mmpur_message_forced 'E' 'ME' '127' &mmmfd_matnr& &mmmfd_val_type& ' ' ' '.
If have any doubt revert back to me.