Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
533

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

1 REPLY 1
Read only

former_member189779
Active Contributor
0 Likes
399

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.