screen exit for va01 & va21
I have a requirement. I need to add three fields in VA01 in additional data b. I have added the fields using program sapmv45a screen number 8309. But it is getting reflected in VA21 also. But i don't need this in VA21 i need 2 other different fields to be added there. I tried using if sy-tcode = ' va01 ' and loop at screen, both are not working, since the screen number 8309 is not getting captured in sy-dynnr for additional datab screen. Any useful suggestions would be rewarded.
Thanks and Regards,