cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory Field in Customer Master

Former Member
0 Kudos

Hi,

I have to make customer group1, group2, group3, group4 and group 5 fields mandatory in customer master.

These fields are in screen of additional customer data. i tried with screen variant but it is not working.

Please provide some solution to make these fields mandatory in customer master.

Thanks & Regards,

Ratish Patil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you want to make Additional fields in the customer master as Mandatory then

Use the program

SAPMF02D with user exit EXIT_SAPMF02D_001

regards,

santosh

Answers (2)

Answers (2)

claudia_neudeck
Active Contributor
0 Kudos

Dear Customer,

It is not possible to maintain the field KNNV-KVGR1-5 through the IMG

because customers have the responsibity for defining the attributes of

any customer group field themselves. SAP does not know where to set

this activity in the IMG.

So you will have to maintain this field directly with SM31 (Table

Maintenance) or enhance the IMG to include it via

- /nspro

- Tools

- Extensions

- SAP Reference IMG ( See documentation help)

As to how to set field KNVV-KVGR1 as a 'mandatory field', the simplest

method is via the screen painter SE51 ( Field List for Program/Screen

Combination SAPLV02Z/0200 - screen attributes). Set field KNVV-KVGR1

as a 'required entry' field.

Another possible solution would be to implement the userexit

EXIT_SAPMF02D_001 which can be used for checks prior to saving,

(includes table KNVV).

Hope that the information are helpful.

regards

Claudia

sarthak_mohantysd
Active Contributor
0 Kudos

Hello,

Making the fields like customer group1, group2, group3, group4 and group 5 mandatory present in Additional Data is tuff ask as these fields are not at all present in the Configuration List of field meant for customer master record. You can also check that same in the t-code "OBD2". This contains list of fields which are covered in General, Company Code and Sales Area data for Customer master record.

Anyway please try out with the following User Exit and kindly let me know whether you are successfully able to make these field mandatory or not.

1.SAPMF02D - User exits: Customer master data

Kindly seek the help of Technical consultant and check on putting up the code in the above exit cited.

Regards,

Sarthak

Former Member
0 Kudos

Thanks Sarthak,

i will try this and get back to you.

If you know the exact user exit please do post me.

Thanks & Regards,

Ratish Patil

Edited by: Ratish Patil on Feb 22, 2010 7:50 AM