‎2010 Aug 06 9:59 AM
Hi,
I am developing a program that will be used to copy/extend material from one plant to another plant by using BDC. When i did it manually in MM01, i selected 8 views (Purchasing, MRP1, MRP2, MRP3, MRP4, General Plant Data/Storage 1, General Plant Data/Storage 2, Accounting 1 and Accounting 2) and marked the "Create views selected" checkbox. Then, the system prompted me for the plant and storage location information (copy from & copy to). After that, the Purchasing view appears and i would just need to click the "SAVE" button and the new material was created.
When i ran the BDC program (by selecting the "Call Transaction - Show all screens" option), i found that i had to run it four times to have the material created. Basically, i found that it went through four views which were purchasing, MRP, General Plant Data / Storage and Accouting view.
I was wondering why it didn't create the selected views for me although i had recorded the "Mark the 'create views selected' option" in the BDC?
Thanks much in advance.
‎2010 Aug 06 10:09 AM
Why choose BDC for MM01 ?
You've the BAPI 'BAPI_MATERIAL_SAVEDATA' at your service. Easy to use & simple to maintain.
Unless you give me specifics i am not convinced about the BDC approach.
BR,
Suhas