You are on page 1of 5

12/25/2014

RoleofBADIinBPC|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

11Replies Latestreply:Mar25,20144:13PMbyChetanPatil

ZackThacker

Jan24,20117:42PM

RoleofBADIinBPC
ThisquestionhasbeenAnswered.
HelloGurus,WhereexactlydoesBADIcomeintopictureinBPC?Fromreadingthedescriptionof
BADI,itseemslikeitssimiliartowhatABAPdoes.sowhatwouldbethedifferencebetweenthetwo?

Thanks.

CorrectAnswer
byRichHeilmanonJan25,20118:06PM
>
G.VijayaKumarwrote:

>
>AndtheroleofBADIinBPCis,InNWplatformofBPCallthefunctionalitieslike,
addinganyBPCobject,ProcessingetcareimplementedusingBADI.
>
>InBPCforNWwehavetwostacks,JavaandABAPstack.JavaStackisnothingbut
theoneusedinprovidingtheuserinterfacelikethestatusupdatewhenyouprocessa
dimensionetc.
>
>ABAPstackismainlyforgettingthetasktobeperformedfrom.NetServerthrough
JavaStackandtriggertheprocess(FunctionModule)accordinglyinNWsystem.

Actually,that'snotrightatall.BAdIsareNOTresponsibleforallfunctionalitesinBPC.BAdIsare
objectorientedversionofuserexits,orcustomerexits.Thedefinitionsandhooksareplaced
specificatcertainpointsintheproduct,sothatyoucanimplenmentyourowncodeatthosepoints.
Theyarenotpredefinedpackagesofcode,theydoNOTevencontaincodeuntillyouimplement
them.Weonlysupplythedefinition,andtheactualcalltotheBAdIinthemaincodeline.Youthen
implementtheBAdI,insertyourowncode,andthiscodeisexecutedatthecorrecttime.

Also,inBPCNW,wedonotevenusethejavastackforanything.Itisnotresponsiblefortheuser
intefaceatall.TheuserinterfaceforBPCiswritteninVBAwhichmakeswebservicecallstothe
.netserver,whichthenmakesRFCcallstotheABAPtier.

Cheers,
RichHeilman

HelpfulAnswersbySreeniP,RichHeilman

6293Views

AverageUserRating
(0ratings)

http://scn.sap.com/thread/1877385

1/5

12/25/2014

RoleofBADIinBPC|SCN
RichHeilman Jan24,201110:12PM (inresponsetoZackThacker)

Re:RoleofBADIinBPC
BPCNWrunsontopoftheNetWeaverABAPstack.SoallBPClogiciswritteninABAP.BAdIsarea
waytoaddmodificationstothestandardcodelineinBPCwithouttouchingthestandardcode.BAdI
implementationsaredefinedbySAP,andimplementedbythecustomer.Therearespecificplaces
withinthestandardcodewhichcallspecificBAdIs.WhenyouimplementaBAdI,youwriteABAP
codeintheimplementation.

Hopethishelps.
Regards,
RichHeilman

Like(0)

ZackThacker Jan25,20114:26AM (inresponsetoRichHeilman)

Re:RoleofBADIinBPC
ThanksRich,coupleofclarificationsplease

Yousaid"WhenyouimplementaBAdI,youwriteABAPcodeintheimplementation."so
basicallywhatyoumeanisBAdiisjustapredefined/prepackagedABAPcode?

Also,youmentioned"NetWeaverABAPstack",couldyoupleaseelaborateonthat?

Thanks.

Like(0)

VijayaKumarG Jan25,20116:56AM (inresponsetoZackThacker)

Re:RoleofBADIinBPC
Hi,
BADIisnothingbutthemostflexiblewayindefiningyourlogicorplanningfunctions.You
useABAPcodesfordefiningthelogics.

Letmekeepitsimple,BADIisnothingbutthestandardwaytowriteABAPcode.

AndtheroleofBADIinBPCis,InNWplatformofBPCallthefunctionalitieslike,addingany
BPCobject,ProcessingetcareimplementedusingBADI.

InBPCforNWwehavetwostacks,JavaandABAPstack.JavaStackisnothingbuttheone
usedinprovidingtheuserinterfacelikethestatusupdatewhenyouprocessadimension
etc.

ABAPstackismainlyforgettingthetasktobeperformedfrom.NetServerthroughJava
Stackandtriggertheprocess(FunctionModule)accordinglyinNWsystem.

PleasechecktheBPCNWarchitectureinthesizingdocumenttogetmoredetailed
informationonthis.(Youcangetthisinservicemarketplace)

https://websmp204.sapag.de/~sapdownload/011000358700000250732010E/BPC_75.pdf

Hopethishelps,

Regards,
G.VijayaKumar

Like(0)

RichHeilman Jan25,20118:06PM (inresponsetoVijayaKumarG)

CorrectAnswer Re:RoleofBADIinBPC
>
G.VijayaKumarwrote:

>

http://scn.sap.com/thread/1877385

2/5

12/25/2014

RoleofBADIinBPC|SCN
>AndtheroleofBADIinBPCis,InNWplatformofBPCallthe
functionalitieslike,addinganyBPCobject,Processingetcareimplemented
usingBADI.
>
>InBPCforNWwehavetwostacks,JavaandABAPstack.JavaStackis
nothingbuttheoneusedinprovidingtheuserinterfacelikethestatus
updatewhenyouprocessadimensionetc.
>
>ABAPstackismainlyforgettingthetasktobeperformedfrom.NetServer
throughJavaStackandtriggertheprocess(FunctionModule)accordinglyin
NWsystem.

Actually,that'snotrightatall.BAdIsareNOTresponsibleforallfunctionalitesinBPC.
BAdIsareobjectorientedversionofuserexits,orcustomerexits.Thedefinitionsand
hooksareplacedspecificatcertainpointsintheproduct,sothatyoucanimplenment
yourowncodeatthosepoints.Theyarenotpredefinedpackagesofcode,theydo
NOTevencontaincodeuntillyouimplementthem.Weonlysupplythedefinition,and
theactualcalltotheBAdIinthemaincodeline.YouthenimplementtheBAdI,insert
yourowncode,andthiscodeisexecutedatthecorrecttime.

Also,inBPCNW,wedonotevenusethejavastackforanything.Itisnotresponsible
fortheuserintefaceatall.TheuserinterfaceforBPCiswritteninVBAwhichmakes
webservicecallstothe.netserver,whichthenmakesRFCcallstotheABAPtier.

Cheers,
RichHeilman

Like(1)

VijayaKumarG Jan27,20116:29AM (inresponsetoRichHeilman)

Re:RoleofBADIinBPC
HiRich,
Thanksforcorrectingme.

ActuallyImessedupFunctionModulewithBADI.

Regards,
G.VijayaKumar

Like(0)

ZackThacker Jan26,20118:43PM (inresponsetoZackThacker)

Re:RoleofBADIinBPC
OnelastquestionRich,canyougivemeacoupleofsituationswherewehavetouseBAdi?

Thanks.

Like(0)

SreeniP Jan27,20117:26AM (inresponsetoZackThacker)

HelpfulAnswer Re:RoleofBADIinBPC
HiZack,

JusttoansweryourspecificquestionsTherearevariousreasonsforBADIusageinBPC.Asa
result,SAPcreatedmutipleBADIenhancementspotswhichcustomersusetocreatetheir
implementations(customcode).Wehave
UJD_ROUTINE(tocreatestartorendroutinesandusetheBADIfilterscreatedaspartofthe
definitionintheBPCtransformationfile(Thereisahowtoonthis.Referthisformorebusiness
contextinformation.

UJ_CUSTOM_LOGICThisisusedifyouhaveafunctionalityorabusinesslogicthatcannotbe
achievedthroughnativeBPCscriptlogic.WecanwritethecustomcodeinABAPintheBADI

http://scn.sap.com/thread/1877385

3/5

12/25/2014

RoleofBADIinBPC|SCN
implementationusingthisandandcallitfromthescriptlogic.

WehaveascenariowherewewantedtoreadthevalueofsigndataofanaccountinBPC.The
valueofcouldbeeither1or2.Ifthevalueis1then,acertainprocessingneedstobeinitiated.If
thevalueoftheaccountis2,thenadifferentprocessing.Itwasnotpossibletodothiskindof
processingwithnativeBPCscriptlogic.

ThereisalsoanotherBADIenhancementspotcalledUJR_WRITE_BACK.Thereisalso
informationaboutthisinSDN.Thisisforwritingbackdatatoparentmembersusingthis.

Hopeitisclearnow.

Thanks

Like(0)

RichHeilman Jan27,20116:43PM (inresponsetoSreeniP)

HelpfulAnswer Re:RoleofBADIinBPC
IhavewrittenseveralHowToguidesonBPCBAdIslastyear.Eachofthemhasabusiness
scenarioassociatedwiththem.YoucanfindthisHTGsonourEPMHTGwikipage.

http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement%28EPM%29How
to+Guides

Regards,
RichHeilman

Like(0)

ZackThacker Feb1,20111:56AM (inresponsetoZackThacker)

Re:RoleofBADIinBPC
ThanksRichforallyourhelp.

Like(0)

PRAVEENGAJULA Sep26,201311:58AM (inresponsetoZackThacker)

Re:RoleofBADIinBPC
ThankyouRichforyourinputs

Canyoupleasegiveuslinksofyourguidesastheabovelinkisnotworking.

Praveen

Like(0)

ChetanPatil Mar25,20144:13PM (inresponsetoPRAVEENGAJULA)

Re:RoleofBADIinBPC
HiAll,
ThanksRichforyourvaluableinput

Belowaresomelinkswhichifoundveryhelpful.Sharingwithyou.

EnterprisePerformanceManagement(EPM)HowtoGuidesBusinessProcessExpertSCN
Wiki

BAdiresourcesforbpc

Regards,
Chetan

http://scn.sap.com/thread/1877385

4/5

12/25/2014

RoleofBADIinBPC|SCN
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

http://scn.sap.com/thread/1877385

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

5/5