BADI for FK01
I wish to restrict my user that as soon as he enter country other than IN i.e india he cannot select Rec. Account as '1000000'.
I hav implemented BADI with defination name VENDOR_ADD_DATA
& in that Method PRESET_VALUES_CCODE
the is as
if I_LFA1-land1 <> 'IN'.
if E_LFB1-AKONT = '1000000'..
MESSAGE 'Wrong No. Enter' type 'E'.
But my problem is that the whole screen converts into grey field.Please suggest some other defination name so only error msg is displayed.
Similar code you just try in EXIT_SAPMF02K_001.reason BADi sometimes not support enough message type E due to message severity.
Edited by: Ámit Güjärgoüd on Oct 3, 2008 8:59 AM