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

Variant Price Dependency for purchasing

ranjankumar
Explorer
0 Kudos
447

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
NeeleshJ
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ranjan,

you can create a variant function through CU65 and assign it to the char PURCHASE_PRICE. pass char OCC and OCC_US as importing to variant function and then in underline function module, you can read the PO buffer data to read the Vendor and do the calculation.

Hope this will help you.

Thanks, Neel