‎2008 Oct 29 10:52 AM
hi,
i want to upload data for material master i.e. MM01..so which method is preferable BDC,LSMW,BAPI..
if i go by BAPI, then do BAPI_MATERIAL_SAVEDATA consider extension of same material to different plant and if yes, then how it is taken care of ...same question for LSMW...
‎2008 Oct 29 11:01 AM
Hi Manikant,
I prefer going for BDC.When there is a chance of getting different screens for different plants , then you manully need to record the screens for each plant and code accordingly in you BDC program.This type of flexibilty is avalible in BDC.
Regards,
Kiran B.
‎2008 Oct 29 11:09 AM
hi,
but in past posts in SCN,it is said to go for BAPI for MM01 instead of BDC as it take cares of the views problem in MM01...
‎2008 Oct 29 11:17 AM
Hi
Mani, thats true. For a complaex tcode like MM01, BDC is never recommended. So, always go with BAPI....
Other than Views also, BAPI has the flexibility which BDC does not have...
Once your recording is done in BDC, then you cannot add new vlaues...but in BAPI...you can change it any minute...
Regards,
Vishwa.
‎2008 Oct 29 11:34 AM
hi vishwa,
i have few doubt i.e.
(1) in BAPI_MATERIAL_SAVEDATA for material upload how is the extension of same material to different plant takes place and how is it done....
(2) if my flat file consists of more than one record for a material due to different plants(all the fields are same except the plant)....do i have to run the BAPI for every record and if so won't it will create dupliacte entries and thus will throw an error...how to tackle this...
‎2008 Oct 29 11:48 AM
i have few doubt i.e.
(1) in BAPI_MATERIAL_SAVEDATA for material upload how is the extension of same material to different plant takes place and how is it done....
(2) if my flat file consists of more than one record for a material due to different plants(all the fields are same except the plant)....do i have to run the BAPI for every record and if so won't it will create dupliacte entries and thus will throw an error...how to tackle this...For both the above questions, the best guide would be the documentation that comes along with the BAPI..
You can see the Documentation in SE37 tcode...
Close the thread if issue is resolved.
Regards,
Vishwa.
Edited by: Vishwa Sri Hari on Oct 29, 2008 5:23 PM