Skip to Content
0
V A
Oct 03, 2008 at 05:14 AM

BADI for FK01

70 Views

Guru's

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'.

endif.

endif.

But my problem is that the whole screen converts into grey field.Please suggest some other defination name so only error msg is displayed.

Regards,