Sie sind auf Seite 1von 2

GettingStarted Newsletters Store

Products Services&Support AboutSCN Downloads


Industries Training&Education Partnership DeveloperCenter
LinesofBusiness UniversityAlliances Events&Webinars Innovation
LogOn JoinUs Hi,Guest SearchtheCommunity
Activity Communications Actions
Browse
daniel.settanni
Previous
post
Next
post
Tweet
DebugginginBPC10

InmyopiniontheabilitytodebugisoneofthebiggestadvantagesintheBPCforNetWeaverplatform.Ithasprovento
beahugeassetwhenwritingcustomlogic(BAdisandcustomintegrationscenarios)inadditiontogeneral
troubleshootingtasks.
ThegoodnewsisthatthelatestreleaseofBPCforNetWeaver(BPC10)alsoallowsyoutodebugtheBWtierbut
therehavebeenacoupleofchangesthatyouneedtobeawareof:
1. The.NETtierhasbeenremovedfromthe10.0releaseofBPCforNetWeaver.Thismeansyoudonthaveto
mapaccountsonthe.NETtiertoenabledebugginganymore.
2. Theentrypointfordebugginghaschanged
Afterreadingthis(short)blogyouwillbepreparedtodebugBPC10forNetWeavertoyourheartscontent.
Letsgetstarted

Settingupyourdebuguser

TheonlythingyouneedtostartdebuggingBPC10isavalidBWuseraccountwiththesameaccessastheBPCBW
SystemAccount.Youcanfindtherequiredrolesinsection4.1oftheInstallationguide.
Oncethatiscomplete,granttheusertheappropriaterightstotheenvironment/model(applicationset/application)
andsetyourbreakpoints.

WheredoIsetmybreakpoints?

TherehasbeenaprettygoodamountofreworkintheUJpackageforBPC10andthishasalsoimpactedwhereyou
needtosetyourbreakpoints.Illcovertwodifferentscenariosbelow,debuggingEPMAddInandAdministration
functionsanddebuggingdatamanagerpackages.

DebuggingEPMAddInandAdministrationfunctions
1. LogintotheBPCclientyouwanttodebug(EPMAddInorWebAdministrationconsole)withyourBWdebug
useraccount.
2. Gototheportionoftheusecaseyouwanttodebug,butdontexecutetheactionyet.
3. LogintoSAPGUIwithyourBWdebuguser.
4. GototransactionSE80
5. NavigatetotheclassCL_BPC_REST_RES(underpackageUJX,embedded
packageUJX0).
6. Gotoline56oftheHANDLE_REQUESTmethodandsetanexternalbreakpoint.
NoteIfyouknowthespecificlocationyouwanttodebugyoucansetthe
externalbreakpointthereandskipthebreakpointmentionedabove.
7. SwitchtotheBPCclientandexecutetheactionyouwanttodebug.
8. ThiswilllaunchaSAPGUIdebuggingsession
9. Thecasestatementonline60willgetyoutothecodeyouneedtoevaluate.

DebuggingDataManagerPackages
1. LogintoSAPGUIwithyourBWdebuguser.
2. GototransactionSE80
DebuggingBPC10forNetWeaver
PostedbyDanielSettanniindaniel.settannionJul13,20117:14:42AM
FollowSCN
SiteIndex ContactUs SAPHelpPortal
Privacy TermsofUse LegalDisclosure Copyright
AverageUserRating
(8ratings)
MyRating:
Tweet
3. NavigatetotheclassCL_UJXD_PACKAGES_RES(underpackageUJX,embedded
packageUJXD).
4. Gotoline179oftheDO_POSTmethodandsetanexternalbreakpoint.
5. SwitchtotheBPCclientandexecutethedatamanagerpackageyouwanttodebug.
6. ThiswilllaunchaSAPGUIdebugger
7. Doubleclickonthels_package_runif_debugexportingparameterandsetitsvalueto
true(representedbythecharacterX).
8. Youcanthencontinuetoanydownstreamexternalbreakpointsyoualreadyset(for
instance,inyourBAdi)orcanstepthroughthecodelinebyline.

HappyDebugging!
5966Views
2Comments
Like(0)
VadimZaripovNov5,20138:27PM
Thatwasreallyhelpful!
Like(0)
DanielNNov27,20135:46AM
Thanksforwritinghelpfulposting.It'shelpedalot.

Das könnte Ihnen auch gefallen