Sei sulla pagina 1di 15

CRM for Utilities: BRFplus Integration

Debugging and Tracing


Enhancement Package 3 for CRM 7.0

Debugging with Conditional Breakpoints


Prerequisites
Transaction SAAB
Checkpoint Group CRMUIF_CONDITIONAL_BREAKPOINTS
Activate Break for Assertions

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Debugging with Conditional Breakpoints


Execution
Start the WebUI Activated Background Debugging (transactions
WUI_SSO_DBG or WUI_DBG)
Configure Conditional Breakpoints using the Keyboard Shortcut ALT+F2
Select Breakpoint Provider Utilities BRFplus
Available Events:
Breakpoint for specific usage / all usages
Breakpoint at exception

Available Conditions:
Attribute Name
Function ID / Name
Item Number
Product ID
Usage Name
2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Debugging with Conditional Breakpoints


Activate the breakpoint for the current session (or store it for the next session)

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Debugging with Conditional Breakpoints


Debugger stops before execution of BRFplus function if conditions are met

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Debugging with Conditional Breakpoints


More Information about Conditional Breakpoints
WEBCUIF-Wiki

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Tracing of BRFplus Functions


Prerequisites
Layout component IUBRFNAV should be assigned to the layout profile of
the UI component (optional)

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Tracing of BRFplus Functions


Activation of Tracing
Ad-hoc Activation by conditional breakpoints Event
Conditions are evaluated and traces are only written if conditions are met

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Tracing of BRFplus Functions


Activation of Tracing
Activation by user parameter CRM_ISU_BRF_TRACE
Tracing is active for all BRFplus functions in the utilities context
Trace Modes
S (Simple)
BRFplus functions are executed without a lean trace (BRFplus Trace)
Context (before and after) and result of BRFplus function execution is shown

F (Full)
Same as S (Simple) but BRFplus functions are executed in the lean trace mode and a
lean trace is written

P (Persistent)
Same as F (Full) but addionally the lean traces are also persisted instantly

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

Tracing of BRFplus Functions


Trace log
Navigation bar integration with layout component IUBRFNAV

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

10

Tracing of BRFplus Functions


Trace log
Message area integration for dialog boxes (and if layout component is
missing)

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

11

Tracing of BRFplus Functions


Trace log
Trace list (sortable and filterable by usage, attribute and so on)
Context and result info for every function executed

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

12

Tracing of BRFplus Functions


Trace log
Integration of the
BRFplus editor
Fast analysis of
different BRFplus
functions and
contexts possible

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

13

Tracing of BRFplus Functions


Trace log
Trace mode F
(Full) with lean
trace preview
Trace is
persisted once
it is shown in
the preview
area

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

14

Tracing of BRFplus Functions


More information about BRFplus
BRFplus-Wiki
Business Rule Management in SCN
BRFplus in SCN
DSM in SCN

2013 SAP AG. All rights reserved.

Ramp-Up Knowledge Transfer

Customer

15

Potrebbero piacerti anche