‎2016 Mar 07 11:41 AM
Hi All,
I am using BAPI_MATERIAL_SAVEDATA to extend the materials from on plant to another plant. the program is working fine for first time when i am extending from source plant (ex. 1000) to destination plant (eg.2000) . but the problem is when i am extending from another plant like 3000 to 2000 , it is not trowing the error stating that it has been already extended instead of that it is allowing to extend which is not a right case.
Please suggest , any additional parameters i need to pass to restrict this one.
Regards,
Suresh
‎2016 Mar 07 1:56 PM
Good afternoon Suresh,
you have to confirm if the plant you are extending the material has the material. if it does not have the material , you should not have that error message. again hope while you were extending the material you did not change the name of the material
‎2016 Mar 07 12:32 PM
‎2016 Mar 07 12:40 PM
Do you do any check in your program to see if the material already exists.
If not- do it
if yes, explain how you react on this circumstance.
‎2016 Mar 07 1:56 PM
Good afternoon Suresh,
you have to confirm if the plant you are extending the material has the material. if it does not have the material , you should not have that error message. again hope while you were extending the material you did not change the name of the material