Enhancement in XD01 validating some field
we got a requirement, that while creating customer in SAP , a proper city in our sector(Taxnumber1)
should match kind of check table for STCD1 field in KNA1.
There was BADI option available , we went for Enhancement
1. Go to T-Code SMOD : type SAPMF02D.
Step2 : Double click on EXIT_SAPMF02D_O01.
Step 3: Now go to T-Code: CMOD
create a project in which these exits will be defined.
Double click and create and write your own logic .