09-22-2014 9:30 AM
Hello all,
I am working on sale order.I want if VA01,VA02,VBAP-TAXM1 fields kept blank while saving the sale order it should display a MESSAGE.can anyone please help me with this.
Thank in advance.
09-27-2014 8:22 AM
Hello All,
when create sale order va01 or change va02 , tax classification field (vbap-taxm1 ) not blank while saving it display error msg.
how to give error msg ?.
Thanks in Advance.
09-27-2014 12:17 PM
Write your code in MV45AFZZ USEREXIT_SAVE_DOCUMENT_PREPARE.
check for xvbap-taxm1 and throw error message.
write the below code after the error message.
PERFORM FOLGE_GLEICHSETZEN(SAPLV00F).
CH_FCODE = L_C_FCODE.
SET SCREEN SYST-DYNNR.
LEAVE SCREEN.
other way is to ask your functional to add the field to in-completion procedure and then trigger this incompletion via exit, use the same save document prepare