I use BAPI_MATERIAL_SAVEDATA for creating and changing materials. But I can't change material type and moving average price fields. Maybe I should use another BAPI for this...
Please advise.