Hello,
I am trying to extend an existing material in several plants. I am using the BAPI, BAPI_MATERIAL_SAVEDATA. Now if I choose the purchasing view and pass plant related data, it extends the material but does not update certain fields like MRP controller,MRP profile,Availability check,loading group etc , even though I have marked all these fields X in MARCX structure.
Also if I select all the data required and populate other views, if the material does not exist it gets created but if it exists in a plant and it needs to be extended into other plants it gives error material number xxxxx in version already exists for plant yyy.
So basically the same program is being used for new materials and extending materials, if material number exists then extend to all plants else create in all plants. Getting error that the material already exists when trying to extend it.
Please suggest.
Regards,
Sachin