Ansicht
Dokumentation
CRM_PS_SSE - Set Up Social Services Eventing (SSE)
RFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during BackupThis documentation is copyright by SAP AG.
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:
- CRM_EVT_SSE_TEST_WB (Test Workbench for SSE Processing>)
- CRM_EVT_BRF_TEST_WB (Test Workbench for BRF Processing>)
- 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.
- 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:
- Create your SSE application class cross-client using the transaction BRFAPL01.
- Create your SSE application class client-dependently in the Business Rule Framework using transaction BRF).
- 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.
- 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 |
- 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 |
- Configure tRFC destination
- Create a system user for the RFC call. Define extensive authorizations in the system user's authorization profile.
- Define an RFC destination (ABAP connection of type 3) using the transaction SM59 and assign the system user to this destination.
- Define SSE customer control parameters
- Choose the IMG activity Process SSE Customer Control Parameters .
- Define your RFC destination for the parameter SAP_EVENTING_DRIVER/TRFC/DESTINATION.
- Define your SSE application class for the parameter SAP_SSE/BRF/BRF_APPLICATION_CLASS.
- 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 |
- Create actions
- Create the BRF actions required for your purposes in the BRF.
- 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.
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 )