‎2012 Mar 09 5:03 PM
Hi,
When i am updating Material Master data through BAPI_MATERIAL_SAVEDATA , facing one problem it says error "Split valuation is not allowed for value-only materials" when i am passing BWTTY value as 'Z'.
Please let me know if anyone have solution.
Regards,
Nee
‎2012 Mar 09 5:46 PM
Hi
Without split valuation, materials are valued at plant level.
With split valuation, the same material number at a plant can have different stock quantity and value for different groupings (called valuation types).
Check if split valuation is active for your Plant....
Configuration IMG: Material Management > Valuation > Split Valuation
Configure Split Valuation - tcode OMWC
If this is configured then try passing all below parameters shown as example
la_VALUATIONDATA-VAL_AREA = '1001'. " VAL AREA
la_VALUATIONDATA-VAL_TYPE = ' '. " VAL TYPE
la_VALUATIONDATA-VAL_CLASS = '2001'. " VALUATION CLASS
la_VALUATIONDATA-VAL_CAT = 'E'. " VALUATION CATAGORY
la_VALUATIONDATA-LIFO_FIFO = 'X' . " LIFO/FIFO-Relevant
la_VALUATIONDATA-PRICE_CTRL = 'V'. " PRICE CONTROL
If split valuation is not active then either functional people need to configure it for that plant or if its not required dont pass any data to BAPI for valuation.