Business Transaction Events ( BTE )
Posted by: amitkhari on: December 9, 2007
What is a BTE
(1)BTE are comparabl to the old enhancements .
(2)BTEs are used mostly within FI .
(3)BTEs can be used both by SAP, third part vensdors 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:
(1)Publish & Subscribe interfaces. Can not update data. Posiible to have multiple implementations .
(2)Process interfaces. Can update date. Only one active implementation .
How does it work
The BTE is a functionmodule (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_ or OUTBOUND_CALL_. This function chekcs if there are any active BTEs according to customizing.
How to find a BTE
Search the socurce code for for “OPEN_FI_PERFORM” og ” OUTBOUND_CALL_”
Use transaction FIBF menu Environment->Info System (P/S ). Use the Documenttion button to see the documentation for the BTE
Implementing a BTE
(1)Goto transction FIBF menu Environment->Info System (P/S )
(2)Select the BTE you want to implement.
(3)Press button Sample function module
(4)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-functionmodule is not important
(5)Edit the code in the new function module
(6)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.
(7)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