Ansicht
Dokumentation

CRM_EVT_BRF_TEST_WB - SSE BRF Test Workbench

CRM_EVT_BRF_TEST_WB - SSE BRF Test Workbench

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

The program provides a test environment for BRF rules, BRF events, BRF expressions, and BRF actions. It enables you to test the BRF objects you have defined.

The test environment comprises the CRM_EVT_BRF_TEST_WB program and the TEST_BRF application class. All of the necessary settings have already been made and BRF objects created with the delivered application class. We recommend that you use this application class to test the BRF objects you have defined. Alternatively, you can use other application classes; in this case, you need to make the necessary settings and create BRF objects yourself.

The following objects are delivered with the TEST_BRF application class:

  • For BRF rules
Implementing class 0EVT_R002
Maintenance class CL_CRM_BRF_RULES_MNT

  • For BRF events
Implementing class 0EVT_E001
Runtime class CL_CRM_EVT_BRF_EVENT_CTX_BASE
Maintenance class CL_EVENT_MNT_BRF

  • For BRF expressions
Implementing class 0EVT_F001
Runtime class CL_CRM_EVT_BRF_EX_CONTEXT
Maintenance class CL_CRM_EVT_BRF_EX_CONTEXT_MNT

  • Context and DDIC structure
Context 0CONTEXT
DDIC structure CRMT_EVT_BRF_TEST_CONTEXT

  • Dummy events
<ACTS> Execution of BRF actions
<EXPR> Execution of BRF expressions

  • Expression case existence for business partner
Implementing class 0EVT_F003
Runtime class CL_CRM_EVT_BRF_EX_C_EXIST
Maintenance class CL_CRM_EVT_BRF_EX_C_EXIST_MNT

Integration

Prerequisites

Features

The program provides a context in which you can execute the program run with input values (context components 1 -10).

Selection

When you set the Execute Expression and Execute Action indicators, the delivered dummy events EXPR or ACTS are selected automatically.

You can make the following settings for the program run:

  • BRF Trace Active
    When you set this indicator, the program returns detailed information about the processing of the relevant BRF object.
  • Debugging Active
    This indicator enables you to activate debugging mode.
  • Commit Work Active
    When you set this indicator, your data is saved to the database. If this indicator is not set, your data is only saved locally.

Standard Variants

Output

If you have not activated the BRF trace, the program outputs the result only. If you have activated the BRF trace, you get detailed information about the various BRF processing steps.

Activities

Run the program using transaction SE38.

Example

The delivered expression 0EVT_F003 demonstrates the search for at least one existing case for a business partner.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4690 Date: 20240531 Time: 194121     sap01-206 ( 52 ms )