Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.


Former Member

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question