Application Development 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: 

bdc

Former Member
0 Kudos

what is difference between bdc and lsmw?in which situation we prefer bdc and which situation we prefer lsmw?

in lsmw what is the main reason we use mostly in batch input method for upload the data with comparing to other methods?what is the main reason?

in bdc what is the main difference between batch input method and direct input method?

what are the major disadvantage's in direct input method with comparing to batch input method?

4 REPLIES 4

manubhutani
Active Contributor
0 Kudos

bdc is a sub part of lsmw.

session method is used when large amt of data is there

us lsmw when u r dealing with master data

use bdc when u r dealing with transaction data

pleasse reward points

former_member183994
Active Participant
0 Kudos

In brief,

LSMW is a tool used to upload data and uses different methods developed over time by SAP. If you want to create you own program to upload data by simulating screen sequence (the user starts a transaction, goes through several screens, then transaction is finished), BDC may be the method, but not the only one. For example, there may be a newer method most efficient in terms of performance (direct input/BAPI/idoc)

LSMW is used to upload data more easily, instead of having to create your own program. You can choose among many methods:

1. a standard program already developed by SAP, which essentialy uses BDC (for example to upload customers, use object 0050 is LSMW step 1) or direct input (for example to upload materials, use object 0020 is LSMW step 1),

2. A recording (essentialy BDC method again)

3. BAPI, a newer method developed to avoid BDC disadvantages

4. IDoc, another method developed to exchange data between incompatible or SAP systems.

BDC method simulates the screen sequence of a transaction, and is slower than Direct input, which upload the data directly into SAP tables

Direct input is an older method used by some standard programs to upload massive data (for example, materials) and its advantage over traditional BDC is that it's faster. However, newer methods were developed (namely BAPIs) to do the same exact job more efficiently than those two previous methods

Former Member
0 Kudos

hi gopi krishna,

LSMW offers different technique for migrating data: Direct input, BAPI, Idoc, Batch input recording. While BDC basically uses batch input sessions and CALL TRANSACTION method.

Limit on number of records which can be uploaded in one session of BDC (999 records). No such limit in LSMW.

LSMW is more to do with configuration while BDC involves programming.

LSMW can import data from legacy systems (e.g. in the form of Excel sheets or CSV files). I guess LSMW converts your data into batch input files automatically. If you use BDC; you need to write your batch input file yourself, line per line.

With LSMW, you get a "wizard" (so to say) that writes the batch input for you. It's the difference between writing a program yourself and letting a wizard write it for you.

But a wizard can only handle some specific situations (Excel file, sequential data in CSV files, for instance) but not ALL situations of data import. For those situations that LSMW cannot handle, you will need BDC.

Pls go through the following links. You will get comfortable levels of understanding.

[http://www.karakas-online.de/forum/viewtopic.php?t=5003][http://www.geekinterview.com/question_details/33450][;[http://www.allinterview.com/showanswers/1646][;

Thanks & regards,

Kalyan.

Reward if usefull.

Former Member
0 Kudos

hi,

LSMW is generally for normal SAP applications, while BDC is mainly for any customized application.

LSMW provides various methods for the migration of data, namely, those of direct input, Batch input recording and IDOC. BDC however, simply makes use of recording. There are two ways of implementing BDC, the call transaction method and the session method.

In LSMW, mapping is taken care of with the help of SAP, whereas in BDC one has to provide explicit mapping directions.

Coding is not very flexible in LSMW, whereas in BDC, coding is very flexible and applications can be easily customized. This is mainly because LSMW is devised specially for functional consultants who do not perform coding, while BDC is mainly made use of by technical consultants, who do perform coding.

reward points if helpful.

Thanks and Rewards.