cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Variant Price Dependency for purchasing

ranjankumar
Explorer
0 Kudos
448

Hi,

Need help in VC Dependency for one of the variant condition. I have a situation where i need to populate the Variant in for condition VA00, based on certain conditions.We have created variant table to maintain the Variant data.

We have the 3 characteristics PURCHASE_PRICE , OCC, and OCC_US. For Every material we have maintained the variant data for OCC and Corresponding OCC_US in variant table.

During PO creation, OCC char value is getting defaulted with some other dependency.Based on OCC char. value its picking the OCC_US value from variant table, if there is no value for OCC_US, its coming as 'NA'.

Business team is maintaining the pricing condition for both the variant but we have to populate only variant price in PO.

i am trying to write the dependency as below but its giving syntax error. Please help me to correct it.

$SELF.PURCHASE_PRICE = OCC OR OCC_US

View Entire Topic
ranjankumar
Explorer
0 Kudos

Thanks Falvio

But my problem is bit different. We are using multiple dependencies for material configuration. OCC and OCC_US are one of them. But material Price is dependent of these 2 characteristics. OCC characteristics value will be there always, OCC_US value will vary. If no value is there in variant table it will be defaulted with 'NA' else some value like A1/A2 will be populated.

e.g. If Material is for Canada, Configuration will be as below

OCC = YW

OCC_US = 54

If Material is for US, Configuration will be

OCC = 54

OCC_US = NA

Planning department will maintain price condition for both the Variant YW & 54.however during PO creation, we have to populate the only one variant condition either for 54 or for YW. To handle this scenario only i am trying to write the dependency.

but based on above dependency suggested by u, its picking price for both the variant.

to handle this I am trying to use reference characteristics to get Vendor in PO configuration tab, so that i can write the dependency based on Vendor. But Reference characteristics is not getting populated. I am using table EKKO - LIFNR in Reference char. If you can help to create a reference characteristics, where i can get the Vendor or Purchase Org in PO configuration tab during PO creation, that will solve my problem.

Thanks

Ranjan