Skip to Content

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

Check Kna1 field before save


I have been asked to create a validation of the VAT number before we save the data customer,

In Portugal the VAT number must obey to a some rules and we need to checked in runtime at the time as the user save the data

I tryed exit EXIT_SAPMF02D_001 with no results

BTE SAMPLE_INTERFACE_00001320 with good results if i check changes (xd02) but not if i am creating (xd01)

I tryed also BADI CUSTOMER_ADD_DATA but it is suitable to extra fields in Customer Master Data.

can someone give me the opinioon for the right way? Some sample code will be great.

What about SAMPLE_INTERFACE_00001321. It is suitable?

Thank you and best regards

João Lages Fernandes


Use the inlcude exit ZXF04U01

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