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-10-2008 4:28 PM
Have you checked include MV45AOZZ.
Sample code.
MODULE zzpbo_customflds OUTPUT.
IF t180-trtyp = 'V' and sy-tcode = 'VA02'.
LOOP AT SCREEN.
IF screen-name = 'VBAK-ZZFIELD1'.
screen-input = 0.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
10-13-2008 7:07 AM
Hi
Will you be able to use field VBAK-VBTYP.
In case of quotation it will be 'B' and In case of normal sales order it will be 'C'. This VBTYP will be different in case of credit & Debit memo request, Return order like it goes.If you want only for orders than you can consider 'C' only.
Regards
Mani.
10-21-2008 8:23 AM
12-11-2008 8:53 AM
hi,
Can u please tell me the procedure to add fields in VA01 transaction under additional data tab.
do i need access key for this?
thank you.
regards,
prajwala