02-13-2015 12:34 PM
How to make Attribute 3 (KNA1/KATR3) in customer master a mandatory field for a specific account group
03-12-2015 8:04 AM
Hi everyone, Issue resolved
BADI: CUSTOMER_ADD_DATA
Method: CHECK_ALL_DATA
While saving, this method will be hit. We need to check for KNA1-KTOKD = ‘XXXX’, if yes, then check if KNA1-KATR3 is blank.
If it is blank, then display the error message ‘Attribute 3 has to be maintained for XXXX in Additional Data’
02-18-2015 1:41 AM
I am not able to find to make Attribute 3 filed mandatory in configuration.You can do this user exit ,Insert logic based on account group if there is no entry in Attribute 3 field then through error 'Attribute 3 field mandatory ' .Or check with security team if they can do using authorisation roles.
03-07-2015 12:27 PM
Hello Jebaraj,
Try to change the field status for required account groups.
Use following configuration.
SPRO: Financial Accounting (New) -> Accounts Receivable and Accounts Payable -> Customer Accounts -> Master Data -> Preparation for Creating Customer Master Data -> Define Account Groups with Screen Layout (Customers).
Regards,
Amit
03-11-2015 4:52 AM
Hi Amit,
I checked there (OBD2) before posting here...Attribute field is not there...we did it through code change
03-12-2015 8:04 AM
Hi everyone, Issue resolved
BADI: CUSTOMER_ADD_DATA
Method: CHECK_ALL_DATA
While saving, this method will be hit. We need to check for KNA1-KTOKD = ‘XXXX’, if yes, then check if KNA1-KATR3 is blank.
If it is blank, then display the error message ‘Attribute 3 has to be maintained for XXXX in Additional Data’