cancel
Showing results for 
Search instead for 
Did you mean: 

VC - MM- PUR - Overwrite material configuration directly in Purchase Order

louis_molling
Explorer
0 Kudos
520

Hello Gurus,

I'm a beginner with Variant Configuration and I'm trying to find a solution for one of my customer requirement but I'm facing an issue.

First, I use VC only in purchasing, so no VC in the manufacturing side neither on the sales side.

I'd like a defaulted configuration in the material classification and have this configuration defaulted in PO but I'd like to be able to overwrite the defaulted configuration directly on the PO for a specific purchase order.

Here a simplified example of what I'm trying to do :

I have a characteristic Z_PWR_CORD (Power Cord included) with the value Yes / No

For material A, I maintained the material classification as Z_PWR_CORD = Yes

For material B, I maintained the material classification as Z_PWR_CORD = No

When I create a PO for material A, I want the configuration to be defaulted with Z_PWR_CORD = Yes, but I also want to be able to change the configuration to Z_PWR_CORD = No

Idem for material B

I cannot put a default value in the characteristic as the value can be different depending of the material

I also, don't want to maintain the configuration from scratch in each PO as in 90% of the case, the configuration will be the default one

Currently, when I try to update the configuration on the PO I'm getting following error message

The value was set by classification data

Does anyone have an idea, if what I'm trying to do is possible and if yes, what do I need to change to have it work?

Thank you very much for your help

Accepted Solutions (1)

Accepted Solutions (1)

louis_molling
Explorer

Hello All,

I was able to find a solution by myself on this.

The first think is that I should not maintain default value in the material classification. The material classification should be kept blank

I create two dependencies (Tcode CU01) and I indicate in the editor following statement :

Dependency: Z_PWR_CORD_Yes

$SET_DEFAULT ($SELF, Z_PWR_CORD, 'Y').

Dependency: Z_PWR_CORD_No

$SET_DEFAULT ($SELF, Z_PWR_CORD, 'N').

Then I assign one of this dependency to the configuration profile (Tcode CU41) of my material:

Material A :

Assignment : Z_PWR_CORD_Yes

Material B :

Assignment : Z_PWR_CORD_No

Then, the default value is copied in the configuration in the PO but I'm able to change it

Answers (0)