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.