Ansicht
Dokumentation

CRMV_EVENT_CUST - Edit Event Handler Table

CRMV_EVENT_CUST - Edit Event Handler Table

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can adapt business transaction processing to your requirements.

Business transaction processing is controlled by the event handler. When an event is triggered by an object, the event handler finds the callbacks that are registered for this event, and executes the corresponding function modules (callbacks) for event handling at the defined time and with the defined priority. The event handler is called when business transactions are edited or saved, but not when they are displayed.

In this Customizing activity, you define which additional functions should be executed when triggering a certain event, by specifying which callbacks need to be executed for which objects.

The event handler searches for entries in both the system table CRMC_EVENT_CALL (maintained by SAP using transaction CRMV_EVENT) and the Customizing table CRMV_EVENT_CUST (in which you can make entries using the current Customizing activity). If entries exist in both tables, the entries in both tables are analyzed and sorted according to the priority and name of the function module.

For information about the individual fields and a detailed description of how the event handler works, see the documentation for the transaction CRMV_EVENT.

Note: You can run the report Determine Callbacks for Transaction Type/Item Category in transaction CRMV_EVENT to display all the callbacks that are scheduled for a certain transaction type or item category. If a callback is not displayed in the result list, it cannot be executed.

You want to include a new field in the service order. In this case, the field's value should be transferred as a default value from the service area data of the business partner master record to the service order. The new field should also be editable in the service order. You proceed as follows to transfer the new field's value from the master record to the service order:

  1. Create a function module (callback) that reads the field's value from the service area data and transfers it to the service order.
  2. Enter the following data to register the function module:
Transaction Category Time Priority Object Event Attribute Function
BUS2000116 001- Immediately 1 PARTNER AFTER_CHANGE 0001
BUS2000116 001- Immediately 1 PARTNER AFTER_CREATE 0001
BUS2000116 001- Immediately 1 ORGMAN AFTER_CHANGE <*>
BUS2000116 001- Immediately 1 ORGMAN AFTER_CREATE <*>

This ensures that the new field in the service order is always updated if the sold-to party or the service area changes.






General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4270 Date: 20240523 Time: 174305     sap01-206 ( 64 ms )