Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

validate ZUONR in f-02

Former Member
0 Kudos


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?????


Former Member
0 Kudos


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.


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.