2012 Aug 30 10:57 AM
Dear Experts,
Mine is a construction company, so our every project is termed as a plant in SAP.
The requirement is materials from all the plants must be same.
No more extension will be done, only if new material is there, it should be created.
So i have to extend all materials from one plant to other, skipping already existed material.
I am working on this using BDC, bt didnt succeed. Since the all the views are not getting captured.
Please Advice!!!
Regards,
NJ
Dear Experts,
Mine is a construction company, so our every project is termed as a plant in SAP.
The requirement is materials from all the plants must be same.
No more extension will be done, only if new material is there, it should be created.
So i have to extend all materials from one plant to other, skipping already existed material.
I am working on this using BDC, bt didnt succeed. Since the all the views are not getting captured.
Please Advice!!!
Regards,
NJ
2012 Aug 30 5:33 PM
Hi,
you can use BAPI's to do this extension process. It is a long story but in short.
You can use BAPI: BAPI_MATERIAL_GETALL to get the details from an existing plant (Note: try to import as much as possible. If you can, get all the details of the material from an existing plant).
Build/Modify any data required for a new plant and then you can use BAPI
BAPI_MATERIAL_SAVEDATA
to create the material in new plant.
There is a good function module documentation on BAPI_MATERIAL_SAVEDATA for what fields you need to populate.