‎2009 Aug 17 2:28 PM
Hello,
we are writing a program to extend a material across multiple plants and are using BAPI_MATERIAL_SAVEREPLICA to do this.
when called, the function module seems to be executing twice. Once to create the material's plant views as specified in the structures and then immediately after to change the same data. It is creating the data fine.. but then in some cases such as the accountign view.. when it goes to change the valatin type it erros as this field is no longer editable.
is this normal? surely there is a flag somewhere or i am not populating the tables correctly - am using function "INS" for all relevant structures.
any help greatly appreciated!
regards
Budgie.
‎2009 Aug 17 2:31 PM
‎2009 Aug 17 3:06 PM
thanks for the quick reply but changing to UPD did not work...
‎2009 Aug 17 3:48 PM
Hi NaughtyBudgie ,
For extending material master to other plants you can use this FM' BAPI_MATERIAL_SAVEDATA'.
It will works fine for you.
Regards,
Thiyagu