Enhancement Framework, User Exits, BTE
Enhancement Framework, User Exits, BTE
Enhancement Framework, User Exits, BTE
com/wiki/display/ABAP/Enhancements+and+Modifications+-+BADI
%2C+Enhancement+Framework%2C+User+Exits%2C+BTE
https://wiki.scn.sap.com/wiki/label/ABAP/bte
OPEN_FI_PERFORM*
Which means that in the OUTBOUND_CALL..' BTE there is a check to identify if the function
module implemented is RFC enabled or not, and it has the possibility to call RFC enabled
function module based on 'SAMPLE_INTERFACE_....' with destination
BTE
Business Transaction Events (BTE) allow you to attach additional components, in the form of a
function module, for example, to the R/3 system.
These interfaces inform external software that certain events have taken place in an SAP standard
application and provide them with the data produced. The external software returns no data to the
SAP Standard System.
Process interfaces:
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.
Allow you to start one or more (multiple) additional operations when a particular event is
triggered. They do not influence the standard R/3 program in any way.
The program contains an enhancement in the form of a Business Transaction Event. A function
module is called in the SAP program, which determines and processes the active
implementations. The names of the event function modules begin with "OPEN_FI_PERFORM_"
or "OUTBOUND_CALL_".
In this case, data only flows in one direction - from the SAP application to the additional
component.
SAP application developers make interfaces available to you at certain callup points in a
transaction. You can define additional logic at these points.
In a very basic scenario, SAP partners and customers can use the interfaces themselves. In this
case business transaction events function in much the same manner as customer exits (see the
unit on "Enhancements using Customer Exits").
*Implementing a BTE*
******************************************************************************
**************************************
You can use transaction FIBF (called when you selected Use business transaction events from
the financial accounting hierarchy) to carry out all necessary activities prior to using a business
transaction event.
First, choose an interface to which you would like to attach your function module. The
Interface button displays the parameter structure for the interface you have selected. You can also
use the documentation to determine what functions each interface allows you to perform.
Use the ABAP Workbench to copy the sample function module sample_interface_<n> to the
customer namespace (z_*) of a customer function group. You must not change the interface. You
can fill the module with any source text except COMMIT WORK. Do not use a COMMIT
WORK! Don't forget to activate the function module.
In contrast to customer exits, business transaction events are client-specific. This means that
the same event can be used in different clients for different purposes.