04-20-2012 3:25 PM
Hi,
i am entering G/L account in assignment(zuonr) field in F-02 transaction in third screen for vendor TDS deduction.
whenever user enter G/L account in assignment field i want to validate G/L account either it is correct or not????
is there any BADI?????
04-20-2012 9:16 PM
Hi,
I feel there exits one BTE for your requirement, please find the below link. It is exact the same thing that you expects. Change is ZUONR value is passed while posting the document. According to your requirement you need to validate the value.
If sy-tcode eq 'F-02'.
loop at t_bseg.
Loop at t_bsegsub
t_bsegsub-zuonr => Your ZUONR value lies here, so you can pick this value and validate with SKA1 table.
Endif.
And make sure you put for F-02 Txcode check for the implemented code, So tht this code will effect only for F-02. Orelse it will validate your ZUONR for few other Fi transactions too.
Regards
Venk@