Difference Between BDC and BAPI
Difference Between BDC and BAPI
WhatthedifferencebetweenBDCandBAPI?WhattheexactsituationwherewecanuseBDCandBAPI?
BDCisthegoodoldmethodofmovinglegacydatatoSAP.
BAPIisthenewenhancedApplicationInterfacethroughwhichdatacanbeuploadedintoSAPSystem.
BDCistransactionoriented.Meaning,thedataisuploadedintoSAPthroughstandardtransactions.Allchecks,validations,
exitsthatareapplicabletothetransactionareactivewhileloadingdataintoSAP.
Simplysaying,BDCiscontinuousrunningoftransactionrepeatedlywithouthumanintervention,databeingpickedfromtext
fileforeachrun.Itisjustabundlingofmultipleexecutionsofthesametransactionandexecuteatoncelikeamacro.
WhereasBAPIisaninterfacingmethod,throughwhichSAPdatacanbeprocessedfromwithinSAPorfromothernonSAP
applications.BAPIcanbetermedasSAPtransactionwithoutdialog.Allthescreensofparticulartransactionisconvertedin
theformofaCodeModule.
WecanestablishonlineinterfacewithSAPdatafromnonSAPapplicationsthroughBAPI'siftheyareenabledforRemote
Access.
GenerallyBDCispreferredifthedatafromthelegacysystemismovedtoSAPsingletime.Forexample,atthetimeofGo
LivethedatarequiredforSAPiseitherdownloadedfromothersoftwareormanuallypreparedinexcelsheetsanduploaded
intoSAPatonce.AfterthatdataorSAPhasnothingtodowithothersoftware.
BAPI'sarepreferred,ifdataexchangeisonlineorcontinuousbetweenSAPtransactionsorSAPandnonSAPapplications.
BAPI'sarepreferredinviewofperformancealso.DataloadingthroughBAPI'saremorerobustandfastercomparatively,if
theyarecalledcorrectly.