cancel
Showing results for 
Search instead for 
Did you mean: 

SD - Customer Master

Former Member
0 Kudos

Hi Experts,

Do you know how to default specific values into customer master fields to be used during master data creation?

Thank you very much

Kind Regards

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

You can do this by implementing BADI CUSTOMER_ADD_DATA

Create an implementation in SE19, for example ZCUSTOMER_ADD_DATA

Method: PRESET_VALUES_SAREA

Code example:

METHOD if_ex_customer_add_data~preset_values_sarea .

IF i_kna1-erdat IS INITIAL. "Customer is being created

e_knvv-kvgr1 = '001'.

ENDIF.

ENDMETHOD.

Kind regards,

Johan Wigert

Former Member
0 Kudos

Hi Johan,

thank you very much for your answer.

So it is not possible to maintain defualt values into customer mater using customizing on account groups for example?

Former Member
0 Kudos

Hi Andrea,

Another possible solution for you might be to create a Transaction Variant.

IMG: SAP NetWeaver => General settings => Field display characteristics => Configure application transaction fields

Here you enter the transaction which you want to create the variant for, for example VD01.

You then run a sort of recording of the transaction, where you enter values.

It is then possible to save standard values in the transaction variant.

I have only used this for sales orders (VA01) myself, but I think it could be

worth investigating further.

Kind regards,

Johan Wigert

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Andrea

Go to OBD2, select your account group and execute. There you can make the required fields as Optional, Req.Entry or Supress

thanks

G. Lakshmipathi