Using Event Technology

Objective

After completing this lesson, you will be able to use event management to integrate customer-specific requirements into the SAP system without modifying SAP programs

Integration of Customer-Specific Requirements

Lesson Overview

At the conclusion of this lesson, you will be able to recognize the definition and concept of events in contract accounts receivable and payable and understand how to use installation-specific enhancements in your system.

Business Example

Use of convergent invoicing is industry specific. The integration between contract account balance in FI-CA and the invoice document in convergent invoicing is activated with use of event technology.

Integration of Customer-Specific Requirements

The figure illustrates the event-concept. Starting by a certain event, a sequence of yes/decision follows.

The event concept allows you to include specific source code passages in the events (defined points in a program). These passages are encapsulated in function modules and are therefore exchangeable. You use defined interfaces to include them in the events.

You maintain events and their function modules in customizing for contract accounts receivable and payable, under Program EnhancementsDefine Customer-Specific Function Modules.

The FKK_FUNC_MODULE_DETERMINE function module runs for each event. It uses the sequence in the following table to determine the event modules stored in customizing that have to be processed:

  • TFKFBM (sample function module from contract accounts receivable and payable).

  • TFKFBS (applications from standard function module).

  • TFKFBC (installation-specific function modules).

The technical name of the sample function module is formed from the technical code FKK_SAMPLE_ and the name of the event. In the case of a sample function module defined at event 1117, the name would be FKK_SAMPLE_1117.

If the Add functions indicator is set, several function modules of the corresponding application area (industry component) and several customer-specific function modules can be processed. The modules that the application area has defined are called first, followed by the customer-specific modules. The sample module is not processed, it is used merely to define the interface.

As well as the events that are available to all industry components, additional industry-specific events also exist. You can recognize these from the encryption of the application area in the technical name.

Overview of Event Nomenclature

From EventTo EventApplication
26002799FI-CA Invoicing
80018199FI-CA Billing
09999Application-Independent
R0R999Utilities Industry
V0V999Insurance
T0T999Telecommunications
P0P999Public Sector
X0X999Partner Developments
Z0Z999Customer Developments
S0S999SAP Contract Accounts Receivable and Payable
M0M999Media Companies
Further deep dive of the event concept: illustration of the functions, which are driven by certain events.

Events can be managed using transaction FQEVENT.

To use the event concept, you must have prior knowledge of the program and the data structure. If you require functions other than those provided as standard, proceed as follows:

  • Analyze the standard function modules from the application (TFKBS). These function modules define the required interfaces.

  • Copy the function group that groups customer-specific function modules according to business transactions.

  • Program and activate the individual enhancements/changes in the installation-specific function module.

  • Enter the installation-specific function module in table TFKFBC (Customizing: Program Enhancements).

  • Start the program that calls the enhanced event.

Log in to track your progress & complete quizzes