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.
cancel
Showing results for 
Search instead for 
Did you mean: 

validate ZUONR in f-02

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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.

http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usa...

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@