BRFplus Debugging Tracing2

  • Upload
    aamir

  • View
    87

  • Download
    10

Embed Size (px)

DESCRIPTION

BRFplus Debugging Tracing2

Citation preview

  • CRM for Utilities: BRFplus IntegrationDebugging and Tracing

    Enhancement Package 3 for CRM 7.0

  • 2013 SAP AG. All rights reserved. 2Ramp-Up Knowledge Transfer Customer

    Debugging with Conditional Breakpoints

    Prerequisites

    Transaction SAAB

    Checkpoint Group CRMUIF_CONDITIONAL_BREAKPOINTS

    Activate Break for Assertions

  • 2013 SAP AG. All rights reserved. 3Ramp-Up Knowledge Transfer Customer

    Debugging with Conditional Breakpoints

    Execution

    Start the WebUI Activated Background Debugging (transactionsWUI_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. 4Ramp-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. 5Ramp-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. 6Ramp-Up Knowledge Transfer Customer

    Debugging with Conditional Breakpoints

    More Information about Conditional Breakpoints

    WEBCUIF-Wiki

  • 2013 SAP AG. All rights reserved. 7Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    Prerequisites

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

  • 2013 SAP AG. All rights reserved. 8Ramp-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. 9Ramp-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. 10Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    Trace log

    Navigation bar integration with layout component IUBRFNAV

  • 2013 SAP AG. All rights reserved. 11Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    Trace log

    Message area integration for dialog boxes (and if layout component ismissing)

  • 2013 SAP AG. All rights reserved. 12Ramp-Up Knowledge Transfer Customer

    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. 13Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    Trace log

    Integration of theBRFplus editor

    Fast analysis ofdifferent BRFplusfunctions andcontexts possible

  • 2013 SAP AG. All rights reserved. 14Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    Trace log

    Trace mode F(Full) with leantrace preview

    Trace ispersisted onceit is shown inthe previewarea

  • 2013 SAP AG. All rights reserved. 15Ramp-Up Knowledge Transfer Customer

    Tracing of BRFplus Functions

    More information about BRFplus

    BRFplus-Wiki

    Business Rule Management in SCN

    BRFplus in SCN

    DSM in SCN