2014 Nov 27 9:50 AM
Hi,
My requirement is to update article master ( MM42 T-Code). We can do this in following ways:
1. By writing a program using BAPI " BAPI_MATERIAL_MAINTAINDATA_RT".
2. By using BDC approach.
3. By using LSMW. In lSMW we further have four options:
3.1) Direct Input
3.2) Batch Input Recording
3.3) BAPI
3.4) IDOC
In the current business scenario, approx. 30,000 lines per day are required to be uploaded.
In terms of performance, which method should i use? There are lots of discussions avalable but still i didn't get the exact idea.
Please advice.
Regards,
Pankaj
2014 Nov 27 9:58 AM
If it is something that you are going to be doing daily then I would not recommend LSMW. LSMW, in my opinion, is best used for one off data loads, for example data migration projects.
I would use the BAPI route because you can then map your data structures to these in the BAPI and of course the BAPI is standard so it would be cheaper in the long run to maintain this.
BDC I would recommend only if the BAPI doesn’t fit your purpose, but of course when you have upgrades and stuff then the SAP screens may change and obviously then your BDC program would also have to be maintained.
In my opinion, try and see if the BAPI will work for your data requirement.
2014 Nov 27 9:58 AM
If it is something that you are going to be doing daily then I would not recommend LSMW. LSMW, in my opinion, is best used for one off data loads, for example data migration projects.
I would use the BAPI route because you can then map your data structures to these in the BAPI and of course the BAPI is standard so it would be cheaper in the long run to maintain this.
BDC I would recommend only if the BAPI doesn’t fit your purpose, but of course when you have upgrades and stuff then the SAP screens may change and obviously then your BDC program would also have to be maintained.
In my opinion, try and see if the BAPI will work for your data requirement.
2014 Nov 27 10:41 AM
Hi Glen,
Thanks for your prompt reply.
Even i think the same. I have confusion between below methods:
a.) By developing program using BAPI.
b.) LSMW Direct Input and LSMW - Idoc.
which one is better?
Please give your suggestion.
Appreciate your help.
Regards,
Pankaj
2014 Nov 27 12:25 PM
2014 Dec 04 5:30 AM
Hi Glen,
I used BAPI approach for this requirement. The results are like a miracle..
FM : MATERIAL_UPDATE_LOGISTIC_DATA
The work which we were not able to do in full day using LSMW approach, now we complete that in few minutes usin FM..
Regards,
Pankaj
2014 Nov 27 11:21 AM
Hello,
You can develop your own program and you can call your BAP into that, I think that can be the possible solution with out much risk.
Regards,
Mallikarjuna
2024 Jun 27 11:51 AM
Hey , im having same scenario. if you have any BAPI can you share please