Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.



Former Member

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,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question