Banner
Banner

Attention: open in a new window. PDFPrintE-mail

2009
07
Feb

Business Transaction Events (BTE)

What is a BTE


  • BTE are comparable to the old enhancements
  • BTEs are used mostly within FI
  • BTEs can be used  both by SAP, third party vendors and customers. Each use their own function modules where the logic is placed,  so they don't interfere with each other

There are 2 types of BTE:

  • Publish & Subscribe interfaces. Can not update data. Possible to have multiple implementations
  • Process interfaces. Can update date. Only one active implementation

How does it work

The BTE is a function module (Implemented by the customer)  that has a standard interface defined by SAP. The BTE is called by the SAP standard program by a call to function OPEN_FI_PERFORM_<BTE-number> or OUTBOUND_CALL_<BTE-number>.  This function checks if there are any active BTEs according to customizing.

How to find a BTE

  • Search the source code for for "OPEN_FI_PERFORM" og " OUTBOUND_CALL_"
  • Use transaction FIBF menu Environment->Info System (P/S ). Use the Documentation button  to see the documentation for the BTE

Implementing a BTE

  • Goto transction FIBF menu Environment->Info System (P/S )
  • Select the BTE you want to implement.
  • Press button Sample function module
  • This brings you to SE37 - Copy the sample function module to a Z-function module (First create a new function group for the function module) . Note: The name of the Z-function module is not important
  • Edit the code in the new function module
  • Go back to transaction FIBF - Menu Settings->Products -> Of a customer and create a new product whicj identifies the new product . Remember to mark the Active field.
  • Go back to FIBF menu Settings->P/S function modules->of a customer -  Create an entry that links the BTE and Product with the new function module 

Example:

We want to implement BTE 00001030. Locate it in transaction FIBF




Press button Sample function module . Copy function module in SE37 (First create a new function group for the function module)



Edit the code in the new function module


Go back to transaction FIBF - Menu Settings->Products->Of a customer and create a new product whicj identifies the new product
Remember to mark the Active field.




Save

Go back to FIBF menu Settings->P/S function modules->of a customer -  Create an entry that links the BTE and Product with the new function module 


Last Updated (Tuesday, 30 November 1999 00:00)
Banner
Free software downloads