‎2006 Aug 07 3:16 AM
Hey friends,
I need to copy a material with refrence to another material.all the sales org and plants and all the other detials are the same.
Could anyone pelase let me know any function module or BAPI for this?
Thanks
Tina
‎2006 Aug 07 3:20 AM
‎2006 Aug 07 3:20 AM
‎2006 Aug 07 3:26 AM
Hi rich,
I tried using using it,, but its not working properly, could please get me a smaple of code so that i can try it out and see..
this is my development,Actually this is one of the process, i need to change the material no by concatinating the refernce material no with SUB,
for example if suppose i want to copy a material 1234 to another material then the material which is duplicated should contain its no as 1234/DUP1.
And this is also a back ground process,, i am liitle bit confused and worried.Please let me know a way to acheive this task.
Thanks
Tina
‎2006 Aug 07 3:29 AM
Hi rich,
I tried using using it,, but its not working properly, could please get me a smaple of code so that i can try it out and see..
this is my development,Actually this is one of the process, i need to change the material no by concatinating the refernce material no with SUB,
for example if suppose i want to copy a material 1234 to another material then the material which is duplicated should contain its no as 1234/DUP1.
And this is also a back ground process,, i am liitle bit confused and worried.Please let me know a way to acheive this task.
Thanks
Tina
‎2006 Aug 08 12:06 AM
‎2006 Aug 08 12:10 AM
‎2006 Aug 08 12:13 AM
Hi Rich,
I tried creating a material using this bapi fucntion by haveing a reference material to be copied, but i was not able to achieve this task.(programatically)
Or shall i go with BDC Process,, let me know your suggestions
Thanks
Tina
‎2006 Aug 08 12:19 AM
BDC processing will only make your head hurt(really bad). Lets move forward with the BAPI. The below link shows how to copy a material from one plant to another, you would need to follow this same lines. You need to get all of the info for the reference material and fill the BAPI structures accordingly, then replace the material number with the new material.
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
Regards,
Rich Heilman
‎2006 Aug 08 12:25 AM
Hey Rich,
Thanks for your support,let me try doing this and let you know how it works.
Thanks a lot.
Tina