Business transaction

来源:互联网 发布:下载钢铁网软件 编辑:程序博客网 时间:2024/06/08 11:58

Business transaction processing is controlled by the event handler, which enables communication between interrelated subobjects.

When an event is triggered by a subobject, 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.

event handler处理event的触发,event和callbaks(FM)之间会有维护关联的关系。下面提到 tables CRMC_EVENT_CALL and CRMV_EVENT_CUST

Features

  • Predefined events and callbacks

    SAP predefines the events that are published by subobjects, and the callbacks for these events. This is done in transactionCRMV_EVENT. The system table isCRMC_EVENT_CALL.

    For detailed information about the various parameters involved in callback registration, for example, the execution time, see the documentation linked to this transaction.

  • Customer-defined events and callbacks

    Customers can register additional callbacks in Customizing forCustomer Relationship Management, underStart of the navigation path TransactionsNext navigation stepBasic SettingsNext navigation stepEdit Event Handler TableEnd of the navigation path. The Customizing table isCRMV_EVENT_CUST.

    For more information, see the documentation for the above Customizing activity.

During processing, the event handler searches for entries in tablesCRMC_EVENT_CALL andCRMV_EVENT_CUST. If entries exist in the tables,the entries in both tables are analyzed and sorted according to the priority and name of the function module.

会根据两个table中定义的时间和优先级来依次处理。


0 0
原创粉丝点击