cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between BDC and LSMW

Former Member
0 Kudos

Can any budy explain what is the difference between BDC and LSMW

Suresh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Both are used for data upload, bot have some little variations

LSMW : Legacy System Migration Workbench.

BDC : Batch Data Communication.

LSMW : It is used for migrating the data b/w the Non-SAP and SAP application to do for that we can take the Non-SAP application data and Converts the data into the Legacy data. (Legacy data means Cleansing data and Purging the data After the Legacy data creation convert the data in to the "Flat file". That flat file is in the form of text file or excel format.If the file is in the form of text format we can create the ".txt" file ("ABC.txt")and in the form of excel ".xls" file is created. flat file for dos and .xls file for IBM. The converted file (.txt/.xls)is either upload or download.The Upload functionality if used for .txt file to SAP and where as Downloading is the concept while SAP to .txt/.xls

file.

BDC : It is also used for migrating the b/w the non-sap to sap applications.

in lsmw below 5000 records are updating or inserting purpose we can use the lsmw.but where as above 5000 records are uploaded we can use BDC.

lsmw is one time requirement where as bdc is not so

Refer below sdn thread

Message was edited by:

SHESAGIRI.G

Former Member
0 Kudos

hi

Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a

typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.

BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form

of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The

transaction is then started using this internal table as the input and executed in the background.

In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.

It can also be used for real-time interfaces and custom error handling & logging features. Whereas in Batch Input Sessions, the ABAP

program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using

Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.

Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the

BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and

invokes the transaction mentioned in the header record of the file.

Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate

fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are

not available for all application areas.

LSMW is an encapsulated data transfer tool. It can provide the same functionality as BDC infact much more but when coming to techinical perspective most the parameters are encapulated. To listout some of the differences :

•LSMW is basicaly designed for a fuctional consultant who do not do much coding but need to explore the fuctionality while BDC is designed for a technical consultant.

•LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.

•LSMW mapping is done by SAP while in BDC we have to do it explicitly .

•LSMW is basically for standard SAP application while bdc basically for customized application.

•Coding can be done flexibly in BDC when compared to LSMW

Reward if USeful

Thanx & regards.

Naren..

Former Member
0 Kudos

Dear Suresh,

Please check the following links:

LSMW

The LSMW includes a range of administration tools that you can use to configure, monitor, document and test the migration of your data.

For How to Work with LSMW.Follow this link:----


http://help.sap.com/saphelp_erp2005/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/frameset.htm

-


BDC

BDC is also used to transfer data from SAP to SAP system or a non-SAP system to SAP system.It uses normal Transaction codes to transfer the data.

This method is used to transfer large amount data that is available in any eleactronic form.

For BDC.Follow this link:

http://www.sappoint.com/abap/bdcconcept.pdf

http://help.sap.com/saphelp_erp2005/helpdata/en/67/42fcd8f61011d1bcf9080009b4534c/frameset.htm

A small search on SDN SD forum will help you to answer your query.

I will suggest you to visit http://sap-img.com/sap-sd.htm. It will give you the overview of SAP SD module.

Moreover there is a separate section of FAQs with answers which will help you in great deal.

Hope this helps you.

Do award points if you found them useful.

Regards,

Rakesh

P.S. you can send me a mail at my mail id rakeshsinghchauhan@gmail.com for any specific details