You are on page 1of 3

Business Transaction Events(BTE)

It is a type of enhancement.
Commonly used for Financial Accounting module (FI-AP, FI-AR, FI-GL) but also available in OTC, APO, CRM, IS, ERP etc.
BTE is called by the SAP program by a call to function OPEN_FI_PERFORM_<number> or OUTBOUND_CALL_<number>.
The T-Code for BTE is FIBF.

Finding the BTE

1. Open the Function Module BF_FUNCTIONS_FIND in T-Code SE37. Set the breakpoint as below.

2. Execute the T-code or business process for which we are looking for BTE implementation.

3. A new debugger window opens.


4. Note down all the events that are getting called till the end of T-code/process execution.

Creating the BTE Interface

1. Open the T-Code FIBF.

a. Publish and Subscribe interface: These generally refer to events as documents being entered into SAP which needs to be sent to lega
cy systems. They do not influence the standard R/3 program in any way. Examples:
i. Master record was created, changed, or blocked.
ii. Document was entered, parked, changed, or reversed.
iii. Items were cleared or reset.
b. Process interface: These interfaces are used to control a business process differently than the way in which it is handled in the
standard R/3 System. They intervene in the standard process, and return data to the SAP application.
2. Choose Info system (P/S) and execute.
3. From the list of events noted above while debugging, identify the event with description that looks relevant to your purpose. Select the BTE event
which you want to implement and click on Pattern Function Module.

4. Copy standard FM template into custom FM and write your custom logic in custom FM.

Configuring the Interface

1. Open T-Code FIBF.


2. A new product needs to be created to configure the new function module.

a. of a partner - Intended for the use of companies which write additional products to enhance the standard SAP and sell this software. a.
b. of a customer - Intended for Customer-specific development – all functions used there should be named according to the Y/Z-
namespace.
3. In our case, tap on … of a customer
4. Existing list of products appears. Add your new entry. Enter the new product details. Tap on the Active checkbox. Save the entry.

5. Go back to the FIBF screen.


a. of an SAP Application - is mostly used by SAP for country specific enhancements
b. of a partner - Intended for the use of companies which write additional products to enhance the standard SAP and sell this software.
c. of a customer - Intended for Customer-specific development – all functions used there should be named according to the Y/Z-
namespace.
6. Enter the new event entry along with the new function module and product. Save the entry.

You might also like