Dear Experts,
I have a particular requirement in tcode ME51N.
Issue -
A user creates a Purchase Requisition using doctype 'CR' where in the system allows him to change the material description. After entering the details and changing the material description the user changes the doctype to 'ER' for which change in material description is not allowed and saves the data. So the description which he changed during doctype 'CR' gets saved for doctype 'ER'.
I don't want the user to do this practice. So I want to put a restriction for doctype 'ER' that if the material description is changed it will automatically pick the description from makt table and will not reflect the changes in description which he has made using doctype 'CR'.
For this from sdn.sap I came to know that there is a BADI named ME_PROCESS_REQ_CUST. But I am not aware how to use it as I am new to BADI.
Can anyone tell me how to implemement this?