Ansicht
Dokumentation

CRM_PS_SSE - Set Up Social Services Eventing (SSE)

CRM_PS_SSE - Set Up Social Services Eventing (SSE)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This IMG activity provides information about the settings you need to make to use Social Services Eventing (SSE). From a technical perspective, Social Services Eventing is based on the functions of the Business Rule Framework (BRF) and enhances these specifically. SSE events can be called at any exit (customer BAdI, PPF action, and so on). SSE can also be used in any CRM application component. An SSE event is triggered with the ABAP command COMMIT WORK. The sample code of the program CRM_EVT_DEMO_RAISE_EVENT demonstrates how you can implement the SSE call.

You need to define the respective SSE objects and BRF objects to satisfy your requirements. SAP provides two test environments for you to test your objects:

You execute these programs using transaction SE38.

The procedure described here assumes that you have familiarized yourself with the functions of the Business Rule Framework.

For more information about the basic functions of the BRF, see Business Rule Framework in the SAP Library.

  1. Create SSE application class
Use the delivered SSE model application class CRM_SSE_SYSTEM to create a BRF application class (referred to as SSE application class hereafter) for Social Services Eventing. Proceed as follows:
  1. Create your SSE application class cross-client using the transaction BRFAPL01.
  2. Create your SSE application class client-dependently in the Business Rule Framework using transaction BRF).
  3. Start the copy program CRM_EVT_COPY_IMPL_CLASSES with transaction SE38 and copy the implementing classes of the SSE model application class CRM_SSE_SYSTEM for your SSE application class.
  4. Make the following detailed settings for your SSE application class in the BRF:
History Management Active off
Trace Class CL_TRACE_BRF
Impl. Tree Class CL_WB_TREE_DEFAULT_BRF
Runtime Mode Interpreter Mode

  1. Check SSE-implementing classes / maintenance classes
Check whether the following required BRF objects and associated implementing classes / maintenance classes have been copied into your SSE application class:
BRF Object Use Implementing Class Maintenance Class
0EVT_R001 BRF rule for SSE subscriptions - CL_CRM_EVT_SUBSC_MNT
0EVT_E002 BRF event for SSE events CL_CRM_EVT_BRF_EVENT CL_CRM_EVT_BRF_EVENT_MNT
0EVT_F00 BRF expression for event contexts CL_CRM_EVT_BRF_EX_CONTEXT CL_CRM_EVT_BRF_EX_CONTEXT_MNT
0EVT_F002 BRF expression for SSE event attributes CL_CRM_EVT_BRF_EX_EVTATR CL_CRM_EVT_BRF_EX_EVTATR_MNT

  1. Configure tRFC destination
    1. Create a system user for the RFC call. Define extensive authorizations in the system user's authorization profile.
    2. Define an RFC destination (ABAP connection of type 3) using the transaction SM59 and assign the system user to this destination.
  2. Define SSE customer control parameters
    1. Choose the IMG activity Process SSE Customer Control Parameters .
    2. Define your RFC destination for the parameter SAP_EVENTING_DRIVER/TRFC/DESTINATION.
    3. Define your SSE application class for the parameter SAP_SSE/BRF/BRF_APPLICATION_CLASS.
  3. Create Case Management expressions and customer expressions
Create the customer expressions required for the subscriptions for your SSE application class in the BRF, and also create the following two Case Management expressions:
Expression Use Expression Type (~impl. Class) Function Module
SUBSC_CASE_CATEGORY Subscription Case Category 0CF001 CRM_EVT_BRF_FUNC_SUBSC_CASE_CA
SUBSC_CASE_TYPE Subscription Case Type 0CF001 CRM_EVT_BRF_FUNC_SUBSC_CASE_TY

  1. Create actions
Create the BRF actions required for your purposes in the BRF.
  1. Configure the SSE subscriptions
Create your SSE subscriptions in the BRF. SSE subscriptions are parameterized BRF rules.

For more information, see Social Services Eventing in the SAP Library.

CRM_EVT_BRF_FUNC_SUBSC_CASE_TY






Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 7094 Date: 20240523 Time: 173518     sap01-206 ( 76 ms )