Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

material master upload

Former Member
0 Likes
613

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...

5 REPLIES 5
Read only

Former Member
0 Likes
580

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.

Read only

0 Likes
580

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...

Read only

0 Likes
580

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.

Read only

0 Likes
580

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...

Read only

0 Likes
580
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