Skip to Content
0
May 26, 2008 at 09:50 AM

Sales Area mandatory

253 Views

Hi,

We want to make sales area data mandatory. We are using Badi to get this functionality.

We have tried with folowing Badi's

BUPA_FRG0140_UPDATE

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

endif.

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.

Regards,

Rahul

Edited by: Rahul K on May 26, 2008 11:51 AM