cancel
Showing results for 
Search instead for 
Did you mean: 

USER-EXIT or BADI to change the default in characteristic value

Former Member
0 Kudos

Hi,

is there a User-Exit or BADI to chang the Defaul characteristic value.

Ex: when i start configuration in VA01 and the customer Comes from spain

i will not have FARBE = ROT as default but BLAU as default.

Is this possible?

Thanks.

Regards, Dieter

Accepted Solutions (1)

Accepted Solutions (1)

Ritz
Active Contributor
0 Kudos

Dieter Gröhn,

You dont need exit or BAdI for this, just by using object dependency you can handle it.

try to check below links it will help you.

Deleting Default Values with Procedures - Variant Configuration (LO-VC) - SAP Library

Also, with the example you mention, it sounds like you need a procedure to setup value instead of defaulting value, try to check more on dependencies more and you can build you user configuration better.

Procedures - Variant Configuration (LO-VC) - SAP Library

Give it a try and reply if you see any issue.

Thanks

Ritesh

Former Member
0 Kudos

Hi Ritesh,

first i create a new characteristic called LAND.

second i delete the Default value ROT of FARBE

third i create a procedure with first $SET_DEFAULT for FARBE = ROT

and second $SET_DEFAULT for FARBE = BLAU with a condition (IF ...).

Thanks for your help, thats what i need.

Do you know any documentation for Syntax in procedures?

Regards, Dieter

Ritz
Active Contributor
0 Kudos

Dieter Gröhn,

The only documents i know is SAP Help for syntex.

Dependency Syntax: General Rules - Variant Configuration (LO-VC) - SAP Library

Please close the thread if your issue is resolved.

Thanks

Ritesh

Answers (1)

Answers (1)

Flavio
Active Contributor
0 Kudos

Hi Dieter,

Just to better focus on your requirement, may I ask you if you have already, in the configuration, a characteristic that contains the customer country?

Or, are you planning to get the customer country from master data?

Depending on the environment, a simple solution involving dependency could be enough, otherwise a variant, user-defined, function will be needed as well.

Thank you if you could clarify this point.

Best regards,

Flavio