BADI is not working
i made an Implementation for BADI 'BADI_GTIN_VARIANT' for tcode MM01 for making default value '03' in view 'sales organization1' during material creation, but problem is that value is coming during debug but it is not showing on screen, so can anyone please help me?
i m writing code :
if sy-tcode = 'MM01'.
mara-mstav = '03'.
Edited by: saurabh srivastava on May 5, 2009 9:23 AM
Why dont u try witha different Bapi. Implement the Bapi BADI_MATERIAL_REF.
IF SY-TCODE = 'MM01'.
E_MARAU-MSTAV = '03'.
Also add the field E_MARAU-MSTDV value if its mandatory.