Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

va01 , vbap-taxm1 field not should not be blank when save sale order

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

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