Page tree
Skip to end of metadata
Go to start of metadata

BTE - Business Transaction Event

Enhancement type developed for FI (Financial Accounting).

 SAP Reference IMG -> Financial Accounting -> Financial Accounting Global Settings -> Business Transaction Events  .

Customizing can be done via transaction FIBF.

Main steps for activating a BTE:

  1. Check OSS note for documentation and explanation 
  2. Copy sample function module SAMPLE_INTERFACE_<event_number> to Customer namespace 
  3. Make sure the application is active for Business Transaction Events , else maintain table TBE11.
  4. Maintain table TBE34 and TBE01
  5. Enter code to the BTE function module

How to check/debug?

To check the functionality, you can put a break-point in your BTE function module. If it's not called, put a breakpoint at FM OPEN_FI_PERFORM_<BTE number>_E.

Related Transaction Code :

    BERE Business Event Repository

    BERP Business Processes

    BF31 Application modules per Event

    BF32 Partner Modules per Event

    BF34 Customer Modules per Event

    BF41 Application Modules per Process

    BF42 Partner Modules per Process

   BF44 Customer Modules per Process

 BTE exits to add additional components to the SAP standard system, for example in the form of function modules. There are two types of interface:

-        Publish and Subscribe interfaces

-        These give information that specific events have occurred in the SAP standard application and provide the data generated to external software. However the external software does not return any data to the SAP standard system.

-        Process interfaces

These subject business processes to an external control function that is not part of the standard system; in other words the process interfaces interrupt the standard process and deliver data to the SAP application.

A BTE exit is called up in the process, meaning that process modules check the events in Customizing for calling up the BTE exits. In the BTE method, function modules are called up in specified events, to which they have been assigned in Customizing. The event interface is predefined. To activate the process modules, choose _Settings for Process Interfaces -> Assign Customer Function Modules to Process Interfaces.

5 Comments

  1. Hi experts,

     I have a question related to BTEs. In the Wiki, it's mentioned that an entry has to be made in table TBE34 for a custom BTE implementation. But, this table has a field called product and I am not sure what it is. Can you please explain what is a product? Is it necessary to create a product and if yes, how can I create it?

  2. Unknown User (sir1f3x)

    Hello,

     you have to create the product first using Transaction BF34. Read http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7;jsessionid=(J2EE3414900)ID1256682450DB01078644049900225973End&nbsp;

    it describes the process.

    PS.: Products are maintained in table TBE24. Make sure to make it actice!

    Do not maintain the tables, use the transactions! T-Code: FIBF is the right entry point.

    Greetings Erik

  3. Hi,

    Product can be added through the transaction FIBF also. Use the menu option : Settings -> Products -> ... of a customer.

    Regards,Vinod

  4. Unknown User (e3s6pzm)

    Hi,

    The Product is mainly used to group together the customer enhancements to Business Transaction Events (BTE) developed in the customer's namespace. The main use of the product is that all customer enhancements assigned to a certain customer product can be released with the "Activate Customer Product" indicator. The OPEN_FI function module for a certain customer enhancement cannot find the corresponding customer function modules until this has been done.

    So after creating the Product, you need to make sure that the "Active" indicator is checked against your product name. Only by doing so, all the custom fucntion modules assgined to each event against your product will be triggered at runtime during the execution of respective transaction.

    Thanks & Regards,

    Harish Kumar


  5. Hi,

    Can I use BTE for FP05 transaction to trigger my workflow when clicking on save utton after creating the payment Lot.