SAP Business Transaction Events (BTE)

SAPThere are several scenarios in SAP where there are pre-defined places where you can influence the program flow. One of the approaches how to do this is technique called Business Transaction Events (BTE)

  1. Find BTE
    To list all available events call transaction FIBF and go to
    Menu->Environment->infosystems(processes) and press Execute
    main screen of transaction FIBFBTE - main screen
  2. Choose the required BTE
    Let’s assume you want to restrict parked document to be posted and allow this only to selected users – we can see that process 00002213 is the correct one for our scenario.
    BTE - list of events
  3. Let’s assume we have a table containing list of users who are allowed to posting like on the picture below.
    BTE - allowed users
  4. Create a function module that will contain our restriction code 
    BTE - second part of code
  5. Create a new cutomer PRODUCT
    Run transaction FIBF and go to  Menu->Settings->Products->of a customerPress New Entries and input a PRODUCT name and check ACTIVE checkbox which is very important to trigger BTE, if unchecked then this BTE will not be triggered.
    BTE - Assign Product to BTE bte06 bte07
  6. Assign process module to our new PRODUCTRun transaction FIBF and go to  Menu->Settings->Process modules->of a customer
    Assign BTE to PRODUCT
    Press New Entries and input process number (00002213) our new function module name (ZSAMPLE_PROCESS_00002213) and the new PRODUCT name (ZPARKDOC) and save the changes.
    bte09 bte10 bte11
  7. Testing scenario:
    Post a document which has already been parked by user not present in the table defined in step 3.
    bte12

One thought on “SAP Business Transaction Events (BTE)

  1. Excellent post, very informative. I’m wondering why the other experts of this sector do not understand this. You must continue your writing. I’m sure, you have a great readers’ base already!|What’s Happening i’m new to this, I stumbled upon this I have discovered It absolutely useful and it has aided me out loads. I hope to give a contribution & assist other customers like its aided me. Great job.

Leave a Reply