We want to make sales area data mandatory. We are using Badi to get this functionality.
We have tried with folowing Badi's
We have used this code
DATA: wa_sales TYPE CRMT_BUS_LNK0010_KEY,
it_sales LIKE wa_sales.
IF wa_sales-sales_org = ' '.
MESSAGE 'Please Enter sales area' TYPE 'W'.
With this I am getting a warning message as desired. But whenn I try to maintain sales area data it gives an system error " SYST: Error in function ADDR_NUMBER_GET"
Please inform how to resolve thi.
If there is alternativ emethod to make sales area data mandatory please suggest.
Will Reward points for helpful answers.
Edited by: Rahul K on May 26, 2008 11:51 AM