Hello,
We need to validate BP Tax number(GST No.) against the BP PAN No.
GST No. must contain the PAN no, else error message is raised.
We're able to do this validation in BAdI VENDOR_EXTENSION_CHECK
with fields LFA1-STCD3(Tax No.) and LFA1-J_1IPANNO(PAN no.). Error message is getting issued and saving to the fields is not allowed on error.
however, the Tax no. is also getting stored in table DFKKBPTAXNUM(Tax Numbers for Business Partner), inspite of the error we are not able to prevent saving to this table.
Has anyone faced a similar issue and found a solution where both LFA1-STCD3 and DFKKBPTAXNUM-TAXNUM
do not get saved if there is an error in validation?
thanks and regards