I'm using BAPI_MATERIAL_SAVEDATA to create a new accounting 1 view for an existing material. In this new view I assign new valuation class for material.
BAPI is returning error messages:
The field MBEW-BKLAS/BAPI_MBEW-VAL_CLASS is defined as a required field; it does not contain an entry
The field MBEW-VJBKL/BAPI_MBEW-VCLASS_PY is defined as a required field; it does not contain an entry
The field MBEW-VMBKL/BAPI_MBEW-VCLASS_PP is defined as a required field; it does not contain an entry
I checked and these fields are filled in corresponding BAPI table (BAPI_MBEW).
I checked configuration in OMSR (selection group 31) and in OMS9 also and for material type (in my case material type is "REF") fields are configured as optional entry.
There are another settings to check or anyone knows what might be happening?