EXIT_SAPMM06E_012 to display error message
In Tcode ME21n if valuation type is empty then it gives the warning message. i want to convert it into the error message when the Document Type is "INT" before saving the PO.
For this i am using the user exit EXIT_SAPMM06E_012 but not able to create the error message.
I am using the version ECC5.
Can u suggest me the code to do the same.
defaultoption = 'N' "N stands for No, and curson stays here
textline1 = text-001 "Your information line one, like "do u want to save"
textline2 = text-002 " your second line information " like warning..this action will lose the data"
titel = text-003 "title for the pop up
start_column = 45 "start position at the screen
start_row = 9 "start row at the screen
answer = answer. "contains either J or N for Yes and No