How to throw an error message when new line items are being added in VA02 ?
Hi All,
I have a requirement that i should not be able to add new line items in VA02 transaction when the Billing block is not present.
Can anyone give me a quick solution on this?
Thanks in advance.
Regards,
Ramya
Tags:
Michael Wackerbauer replied
You can also use user exit USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ.
Just do a 'message exxx(zzzzz).' in case
xvbap-updkz = 'I'
vbak-faksk = space (header billing block)
sy-tcode = 'VA02'
If you need the item billing block look at xvbap-faksp
Hope that helps,
Michael