Skip to Content
Author's profile photo V S BHARGAV MYLAVARAPU

How to find a BTE (Business Transaction Events).

Hi Techies,

As we all know SAP has different ways of ADAPTING, SWITCHING and ENHANCING. I already explained with the document how to find a BADI in the easiest way in the below mentioned document, however it is for ABAPers.

http://scn.sap.com/docs/DOC-33611

In this document I am more explaining about how to find a BTE (Business Transaction Event) for the relevant transaction for Technical Consultants in a easy way as well. There are lot of documents and SCN posts on finding BTEs for example in a well explained blog as mentioned below.

However by this way you might take longer to reach the right one and this is purely technical way to find one in just one shot.

http://scn.sap.com/community/erp/financials/blog/2014/05/13/how-to-search-bte

To find a BTE is to use a breakpoint and to execute the business transaction that you’re trying to find the BTEs for.

Overview

There are two function modules that can be used to find the BTE.

Step 1:

For Process BTE use function module PC_FUNCTION_FIND.


/wp-content/uploads/2015/07/11_762065.png

For Publish and Subscribe BTE use function module BF_FUNCTIONS_READ.


/wp-content/uploads/2015/07/10_762066.png

Set breakpoints in these two function modules and then execute the transaction where you need to find a BTE. Using the Display Account Transaction code.

To explain this a bit easier, I am using a simple transaction BCA_CN_ACCT_03, this transaction is related to Financial Services (SAP Banking Services) module. However you can use the same way which ever the transaction you would like to find the corresponding BTEs available.

Step 2: Display the transaction to which you want to find the BTE.

/wp-content/uploads/2015/07/9_762067.png

Before you hit enter after inputting in the initial screen, please make sure that your break points are active as explained in the overview.

Now hit enter or display the transaction.

Step 3: The debugger kicks off and stops at exactly where the BTE is available as show in the below screen shot.

/wp-content/uploads/2015/07/12_762068.png

These are some examples of BTEs triggered on account display, in the parameter T_FM_CUS, you can find the BTE Event and the corresponding implementations if there are any as show in the below screen shot.

/wp-content/uploads/2015/07/14_762069.png

You can also see the corresponding Business Process Interfaces in the parameter I_PROCS (Table level TPS01 and field PROCS) as shown in the below mentioned screen shot.

/wp-content/uploads/2015/07/13_762070.png

Now go to SE16 and see the exact process as shown in the screen shot above which is 0BCA1300

/wp-content/uploads/2015/07/15_762071.png

Hope this document helps all the technical consultants to find the right BTEs in their process of search.

Please do comment and rate for your queries and opinions.

In continuation with my document explaining on How to find a BTE (Business Transaction Event) in Technical way.

I would also explain on how to find the BTE in SAP Banking Services system. Technical way remains same across all SAP systems, but this is more like a functional way of finding the BTEs.

In general banks who are using SAP for their banking would have very complex integration and you will always need a place to enhance for custom validations. This document will explain finding the BTEs for “Publish and Subscribe BTEs (P/S)” and “Process BTEs (Process)“.

Step 1: The first way is to look for a BTE using customising menu. The same process can be used for both types of BTEs

/wp-content/uploads/2015/07/16_749010.png

OR

/wp-content/uploads/2015/07/22_749011.png

Step 2: You can then search for object related BTEs using a specific attribute

/wp-content/uploads/2015/07/17_749069.png

If you choose “A – Application Component”, then the Selection Attribute help will show the components

/wp-content/uploads/2015/07/18_749070.png

You can then select a specific component, in this example for Account Closures

/wp-content/uploads/2015/07/19_749071.png

/wp-content/uploads/2015/07/20_749072.png

Execute to see the BTEs available

/wp-content/uploads/2015/07/21_749073.png

Hope this documents helps all to make it easier in finding the BTE. Please do comment and rate the document.

Best Regards,

Bhargav.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Allan Jones Montemayor
      Allan Jones Montemayor

      Thank you for this!