10-06-2008 8:24 AM
Hi all,
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,
subbu.
10-06-2008 8:28 AM
if sy-tcode = ' va01 ' " use CAPS
and also why can't you use VBAK-VBTYP based on that also you can code.
10-06-2008 10:02 AM
Hi,
I have given the t-code in caps only. but it's not working. the problem is screen number 8309 is not getting captured in sy-dynnr field in the required screen, unless this screen number gets captured while going to the additional datab screen, i don't think there is anyother option. Please tell me if you have anyother alternatives.
Regards,
Subbbu.
10-06-2008 11:57 AM
in 8309 screen you create your own module and do the check and process. before displaying 8309 it should definitely trigger. that time you check. i don't know where you are coding now..?
04-19-2010 10:04 AM