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: 

Difference b/n BDC and IDOC

Former Member
0 Kudos

Hi ,

Wt is the difference b/n BDC and IDOC. we use these both are for data transfering.

Thanks in advance,

swathi

6 REPLIES 6

Former Member
0 Kudos

Hi

IDOC's are intermediary documents into which the data will be transferred and then this idoc's gets transferred to sap or non-sap system.

ALE is used to create link between 2 systems. So without the linking the data cannot be uploaded or downloaded.

BAPI, LSMW and BDC are used to transfer data b/w systems.

BDC is used to transfer data b/w only sap systems.

LSMW is used to transfer data b/w sap and non-sap systems.

ale Idoc: Idoc is a part of ALE. it is applicable only if the external system and the sending system have the same format. ALE uses Internationally Standardized formats. Also it is facilitating Asynchronous data communication and safest data communication. If you got errors also you can correct it and send it again.

lsmw: It the legacy data transfer. which is used for bulk data transfers. It uses BAPI, IDoc, BDc internally....

bapi: SAP Provided way of data transfer. if the BAPi suits for our business bettere to go for bapi. it too uses internationally standardized data format Business Objects concept.

Former Member
0 Kudos

Hi Swathi,

IDOC : Intermediate Document which is used as a container for transferring data from one R/3 system to another R/3 system or Non-SAP system.

While, BDC means Batch Data Communication and it's a method for migration of data (i.e Legacy system to SAP system).....

Reward points if useful....

Ravin

Edited by: Ravin Joshi on Jan 22, 2008 9:59 AM

Former Member
0 Kudos

IDOC's are intermediary documents into which the data will be transferred and then this idoc's gets transferred to sap or non-sap system.

ALE is used to create link between 2 systems. So without the linking the data cannot be uploaded or downloaded.

BAPI, LSMW and BDC are used to transfer data b/w systems.

BDC is used to transfer data b/w only sap systems.

LSMW is used to transfer data b/w sap and non-sap systems.

BAPI-step by step

http://www.sapgenie.com/abap/bapi/example.htm

LSMW

http://www.sap-img.com/sap-data-migration.htm

http://www.sapgenie.com/saptech/lsmw.htm

http://www.allsaplinks.com/lsmw.html

http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf

http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Wor...

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

ALE/ IDOC

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

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

http://www.sapgenie.com/sapedi/idoc_abap.htm

Reward points if useful.

uwe_schieferstein
Active Contributor
0 Kudos

Hello Swathi

If you look under the hood of the function module IDOC_ORDERS_INPUT (which processes inbound orders) the IDoc data are eventually used to fill a batch-input for transaction VA01.

So what is the benefit of using IDocs instead of directly calling the BDC?

The IDocs change much less than the transaction dynpros which are the basis for the BDC. Thus, the IDoc is a kind of abstraction for the underlying business object.

When you create a sales order via IDoc you do not care much about any changes in the underlying transaction (e.g. VA01) between the different SAP releases.

Regards,

Uwe

Former Member
0 Kudos

hi

IDOC's are intermediary documents into which the data will be transferred and then this idoc's gets transferred to sap or non-sap system.

BDC is Batch Data Communication. It is basically a program

either generated by SAP after a recording or programmed by a

abaper.Its like running the transaction manually but all the

data is populated on the screens automatically.It is a

little complex when the screens contain table controls.

LSMW is legacy system migration workbench is a more user-

friendly tool thru which one can do the same as a BDC. One

just has to follow some 14 steps, click buttons and the data

is set to be uploaded ….LSMW offer you 4 ways to import data

into SAP, they are BDC, Direct Input, BAPI(BO), IDOC.

To spell out the differences in detail:

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.

award points if helpful.

regards sravani yendru

Former Member
0 Kudos

hi,

IDOC's are intermediary documents into which the data will be transferred and then this idoc's gets transferred to sap or non-sap system.

BDC is Batch Data Communication. It is basically a program

either generated by SAP after a recording or programmed by a

abaper.Its like running the transaction manually but all the

data is populated on the screens automatically.It is a

little complex when the screens contain table controls.

reward if helpful..