BTE (business transaction events)

What are Business Transaction Events????

see this link
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050 [original link is broken]
tcode is FIBF

Similar Messages

  • BTE : Business Transaction Event

    What is the procedure to impliment this concept , please anyone tell me this step by step in detail by taking any example.
    Point will be rewarded for helpfull ans.
    regards
    Sonal

    hello once again ...
    http://help.sap.com/saphelp_erp2005/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ad/fc5a4064b4ef6fe10000000a1550b0/frameset.htm
    Example
    http://fuller.mit.edu/user_exits/business_transaction_event.htm
    Example Business Scenario for Business Transaction Events
    Company A would like to copy the group key field from the vendor master into the allocation field on all the line items within a vendor invoice and payments, including the vendor lines. This requirement assumes only one vendor is posted to in a document.
    To accomplish this requirement, Company A will use the Business Transaction Event 1130, Post Document: SAP Internal Field Substitution.
    1. IMG Menu Path: Financial Accounting Financial Accounting Global Settings Use Business Transaction Events Environment Infosystem (Processes).
    2. Find the correct Business Event. You are updating a field, so you select the Processes Info System instead of the Publish and Subscribe Info System.
    3. Execute the search with the defaults.
    4. Find the correct interface for updating a document: Post Document: SAP- Internal Field Substitution
    5. Put your cursor on the event and click on the Sample Function Module button.
    6. You are now in transaction SE37 – Function Builder. This is the function module (sample_process_00001130) you will need to copy into a "Z" name function module for your coding
    7. Click on the Copy button.
    8. Enter the "Z" function module name in the To Function Module field
    9. Enter a Function Group. If you need to create a "Z" function group, go to transaction code SE37 and follow menu path: Go to Function Groups Create Group. A function group is a logical grouping of function modules, and the ABAP code is generated for function groups. You will be prompted for a development class and transport when creating the function group.
    10. In Function Builder (transaction SE37), enter the new "Z" function module. Click on the Change button.
    11. The system will default into the source code screen where you may enter your ABAP code.
    12. Notice the tables available for the code. Additional tables may be declared if necessary.
    13. Enter the following source code
    tables: lfa1.
    data: z_groupkey like lfa1-konzs.
    z_groupkey = ' '.
    loop at t_bseg.
    check for vendor lines. If one is found, read the vendor master and
    retrieve the group key field.
    if t_bseg-koart eq 'K'.
    select single konzs from lfa1 into z_groupkey
    where lifnr = t_bseg-lifnr.
    endif.
    Move the group key field into all line items allocation field.
    loop at t_bsegsub.
    t_bsegsub-zuonr = z_groupkey.
    modify t_bsegsub index sy-tabix.
    endloop. "t_bsegsub
    endloop. "t_bseg
    14. Save the function module.
    15. Back out to the main Function Builder screen by clicking on the green arrow button.
    16. Activate the function module by clicking on the Activate button
    17. Assign the function module to the event in the IMG: Financial Accounting Financial Accounting Global Settings Business Transaction Events Settings Process Function Modules of an SAP Appl.
    18. Hit enter past the warning messages that this is SAP data.
    19. Click on the New Entries button.
    20. Enter the process for your interface. In your example it is 00001130.
    21. Enter the country the interface is valid for. If it is valid for all countries, leave this field blank.
    22. Enter the application the interface should be called for. If it should be called for all applications, leave this field blank. Please note that not all integrated transactions are programmed to go through these interfaces! You will need to test to find out!
    23. Enter the new "Z" function module
    24. Save the settings. At this point you will be prompted for a CTS number for the configuration change.
    25. The Business Transaction Event is complete! You are ready for testing.
    <b>sonal  assiegn point   in privious  question also...</b>

  • BTE (business transaction event) for VB02, VB01

    Dear Experts,
    How can i use BTE with VB02 and VB01 (Listing) ,
    I need to capture every change or creation of listing
    thank you
    Oded

    Hi
    Please use the below Tcodes to find the exact FM for your BTE
    FIBF Maintenance transaction BTE
    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
    Regards
    Jyo

  • BTE(Business transaction events) for Shipment

    Dear Experts,
    Please let me know BTE i.e. BTE Function module using for shiment that have insite VTTK or VTTP tables access. I searched in FINF, FIBF transaction providing all related input information. but i didn't got any one related to shipment.
    regards,
    srg.

    Hi ,
    First Thing , u can use  BTE's only for FI entries only , unless u are working for CRM .
    i know u are looking for VTTK ....etc , but i am asking what u wanna do in that BTE ?.
    regards
    prabhu

  • Business Transaction Event - for bank details

    Hi
    In tcode BP (Business Partner) - tab "Payment Transactions" there is a field for Bank Account.
    In tcdoe FK02 (Change Vendor) - "Payment Transactions" in area "general data" there is a field Bank Account.
    For BP the field Bank Account may be initial, but for Vendor (FK02) it is not allowed to be initial.
    I have found out, that BTE (Business Transaction Event) could be a solution, but I don't know how to proceed with that.
    In tcode FINF (BTE) there is an event with number 00003000 (Bank Detalis Check Routine: Alternative Check), but I don't know how I can use it, and/or how I implement the changes.
    Has anybody an idea how to solve the issue?
    Thanks.

    Hi,
    Assign your new function module in FIBF via Menu path Settings --> P/S function modules (or Process function modules, depending on the BTE you are using) --> ...of a customer. Enter the BTE number and the name of your new function module. Country and application should remain blank, unless the BTE you are using offers those feature
    Check the link http://wiki.sdn.sap.com/wiki/display/Snippets/BusinessTransactionEvents+(BTE).
    Thanks & Regards,
    Neela
    Edited by: Neela M B on Sep 2, 2010 4:03 PM

  • Activating/Using Business Transaction Event (BTE) PM000030

    Hello everybody !
    I need to implement BTE PM000030.
    I tried to follow the howto provided by sap & in the forums , but I must be missing a step since this is not working.
    I have created a custom product in transaction FIBF and now I want to assign my own function module to this event & product.
    I entered FIBF->Settings->Of a customer.
    Now when I attempt to select the PM000030 Proccess which im interested in, It is not there, to be exact - most of the proccessing are not there.
    From this step, I found no availible SAP documentation on dealing with this situation.
    I tried to manually enter PM000030 in the field and was rejected saying "entry does not exist in TSP01, when trying to create an entry manually in TSP01, I get an error saying I should first create a data element for it.
    I dont really know what procedure I should follow from here.
    I would highly appreciate any help, Thanks!
    Udi.
    Edited by: Udi Dekel on Mar 16, 2010 5:13 PM

    Hi,
    Please refer to following link :
    [Business Transaction Events (BTE) |http://wiki.sdn.sap.com/wiki/display/Snippets/BusinessTransactionEvents+%28BTE%29]
    [Business Transaction Events - Process Interface - Event 00001040 - customer implementation for dunning notice via email |http://wiki.sdn.sap.com/wiki/display/BPX/BusinessTransactionEvents-ProcessInterface-Event00001040-customerimplementationfordunningnoticeviaemail]
    Hope this helps.
    Regards,
    Chandravadan

  • Business Transaction Event(BTE)

    hi
    what is  Business Transaction Event  and how to use this.any links available for this.

    Hi kuamr,
    Check the following links it will be usefull for u.
    http://www.thesapconsultant.com/2006/10/sap-business-transaction-events.html
    http://fuller.mit.edu/user_exits/business_transaction_event.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/content.htm
    Regards
    Sowmya

  • What is business add-ins and business transaction events

    Dear All,
    Would you mind tell me what it sht business add-ins and business transaction events ?
    i still not understand about this after i read the training material
    Regards
    Luke

    Hi LukeWong ,
    BAdi:
    SAP Business Add-Ins (BAdIs) are one of the most important technologies used to adapt SAP software to specific requirements. BAdIs were introduced with Release 4.6 and replace function module exits. This technology is not limited to SAP applications. BAdI calls can be integrated in customer applications. These can then be enhanced by other customer applications. In the various SAP applications, BAdI calls are implemented at places where enhancements are appropriate.Business add-ins are enhancements to the standard version of the system. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits, two different views are available:
    · In the definition view, an application programmer defines exit points in a source that allow specific industry sectors, partners, and customers to attach additional coding to standard SAP source code, without having to modify the original object.
    · In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard solution, if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on). You can create definitions and implementations of Business Add-Ins at any level of the system landscape.SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to differentiate between Add-In implementations using the filter Country or other criteria.
    The enhancement technique is set up in such a way that it is possible to define interfaces for ABAP soure code, screens, GUI interfaces, and tables. These allow customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    BADI is just an object-oriented version of user-exit. Instead of entering program code into some function module (as in customer-exit), you define some class which has to implement predefined methods and those methods are fired at predefined points just like an old user-exit. Some BADI can have multiple independent implementations which is much better for software deployment as several developers can implement the same BADI independently. BADI/UserExists are used to enhance R/3 For customer Needs.
    Actually there is no transaction to find when and where the BADI
    is called.
    1. You can see the BADI description to find why it is called.
    2. Once you implemented and activated the BADI, put some break points
    in the BADI and see "where else used" option to check in what all
    programs this BADI is called. In the ITS debug, when you are doing
    the operation what exactly the BADI description tells, it will take
    to the break points and you have to do manually debug the whole thing.
    I know its bit difficult to do manual debug the whole thing, it
    takes lot of time, but you have to be very patience when you are
    dealing with BADI's.
    Transaction SE18 is the BADI equivalent of transaction SMOD
    Transaction SE19 is the BADI equivalent of transaction CMOD .
    To find the BADI to be implemented and then implement this via SE19.
    These steps should enable you to find any BADI related to any transaction in a matter of minutes.
    Procedure 1:
    1) Go to the transaction SE37 to find your function module.
    2) Locate the function SXV_GET_CLIF_BY_NAME.
    3) Put a breakpoint there.
    4) Now open a new session.
    5) Go to your transaction. 6) At that time, it will stop this function.
    7) Double click on the function field EXIT_NAME.
    8) That will give you name of the BADI that is provided in your transaction.
    Business Add-Ins
    Procedure 2:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    4) Now Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction
    Check this blogs 2 find a BADI:
    How To Define a New BAdI Within the Enhancement Framework (Some Basics About the BAdI,BAdI Commands in ABAP,
    When to Use a BAdI?)
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    How to implement a BAdI And How to Use a Filter
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    Introducing Business Add-Ins
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de
    How to implement BAdi in Enhancement Framework
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702
    Business Add-Ins
    http://help.sap.com/saphelp_47x200/helpdata/en/ee/a1d548892b11d295d60000e82de14a/frameset.htm
    BAdI: Customer-Defined Functions in the Formula Builder
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    Difference Between BADI and User Exits
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    To Use BADI - Business Add In you need to Understand ABAP OO Interface Concept
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    Business Transaction Events
    Business Transaction Events (Open FI) The Open FI enhancement technique was developed in the Financial Accounting component. Open FI is based upon the following principles: Application developers must define their interface in a function module, an assignment table is read in the accompanying (generated) code, and the customer modules assigned are called dynamically. This technique differentiates between enhancements that are only allowed to have one implementation and enhancements that can call multiple implementations in any sequence desired. Both industry-specific and country-specific enhancements may be defined.
    SAP business transaction events are one type of customer enhancements provided by SAP! We can access the business transaction events using FIBF.Next we have to find the process interface for duplicate invoice check!
    check this blog for details on SAP business transaction events
    Business Transaction Events
    http://fuller.mit.edu/user_exits/business_transaction_event.htm
    FI Enhancement Technique – How-To-Guide on the Usage of Business Transaction Events (BTE)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Creation of Events via Business Transaction Events
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/content.htm
    In SAP R/3 you must activate the business transaction events (BTEs) for Availability Check Using SAP R/3. To set this indicator in SAP R/3:........
    http://help.sap.com/saphelp_crm40/helpdata/en/b6/de3efc6bbcdc4b948d466857a10323/content.htm
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Business Transaction Events

    Hi,
    we use in our system User-Exits and Business Add-In.
    Now i found in customizing "Business Transaction Events".
    Are these to use like User-Exits or Business Transaction Events?
    How can i use this, has anyone some doku?
    Thanks for help.
    Regards, Dieter

    Hi,
    The BTEs are user-exits of accounting module and allow to connect additional components (SAP, custom development, or not SAP) to the main processes of accounting in SAP. But it can often use them to insert controls of accounting documents or master data.
    For example I often use them to know the document number while it's being created, or to change the data in the reports to display FI items, or to use a smartforms instead of sapscript.
    So you can use them in several situations, but if you use them to check the document, you'd use them if you can't to do those controls by validation.
    BTEs are kind of enhancements ( Earlier it was in FI only but has since been extended to some of other areas ).
    All Functions starting with OPEN_FI_PERFORM* are sample of BTE which you can leverage in your custom function.
    see this link
    check this,
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/content.htm
    http://fuller.mit.edu/user_exits/business_transaction_event.htm
    Refer to this blog..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Thanks.

  • Business Transaction Event 1130

    Hello,
      I am working on Business Transaction Event 1130 (Post Document: SAP-Internal field substitution.  For some reason it doesn't seems to work for me.
      Here's what I did.  I copied SAMPLE_PROCESS_00001130 and created Z_SAMPLE_PROCESS_00001130.  I went to FIBF/Settings/Products/Of a Customer and created a new product (didn't put anything in RFC) and didn't activate the product yet.  I went to FIBF/Settings/Process Modules/Of a customer and added process 00001130, country US, no value in Appl, Z_SAMPLE_PROCESS_00001130 in function module name and my Product Name.  I activated the product once I added the new process.
      This doesn't seems to work for me.  Do I need to do anything special to activate this?  If I go to FIBF/Environment/Infosystem(processes) I don't see my process there. 
      Please point me in the right direction, I haven't worked on BTE's before.  We are on ECC 5.0
    Thank You.

    Hello,
    To implement any process for BERP.
    1. Tcode BF24 - Create a product. Let's say Z1130.
    2. Tcode BF44 - Create new entry with
    Process - 00001130, FM - ZTEST_1130, Product - Z1130.
    Save Entry.
    3. Tcode BERP - Give Process Interface as 00001130. Run.
    4. You will see one entry. Put cursor on that and Click on Act. Comp.
    5. Here you can see your FM - ZTEST_1130 as Customer product.
    Now, put your relevent code in ZTEST_1130. You can pass tables like
    *" T_BKPF STRUCTURE BKPF
    *" T_BSEG STRUCTURE BSEG
    SO, in your FM, you can get access to data for BKPF and BSEG
    Regards,
    Naimesh Patel

  • Business Transaction Event for FB60

    Hi All,
    We would like to trigger a Business Transaction Event when we save a FB60 transaction.
    Can anybody suggest which BTE we could use.
    Regards,
    Priti

    hi,
    i find nothing...?
    alternative:
    create a program which calls transaction fb60
    and when document is posted -> trigger your next step
    A.

  • Business transaction Event for FB50

    Hi all,
    what is the business transaction event for FB50.
    Thanks all,
    Helps will be appreciated. for FB50.

    Hi
    Please use the below Tcodes to find the exact FM for your BTE
    FIBF Maintenance transaction BTE
    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
    Regards
    Jyo

  • Help required for Business Transaction Events

    Hi All, I would like to know what are all the configurations/prerequisites to work on a Business Transaction Event.. Basically we are trying to create a BTE for a payment proposal for which we had created a FM and have assigned it in transaction BF41 for the country and the process. But somehow the FM is not getting triggered.. Please advise me if there are any configs or settings required.. to activate this FM.
    Thank you,
    Regards,
    Swaroop Patri

    Swaroop,
    I am providing configuration steps for customer hierrachy. You can work for your requirement.
    A little hard to document within the confines of this forum, but I'll give it a try.
    In t-code FIBF:
    Set up a 'product of a customer'
    Set up a 'P/S module of a customer' for Business Transcation Events 00504004, 00504005 and 00504006 to call function Z_BTE_KUNHIER_CHANGES.
    Create function Z_BTE_KUNHIER_CHANGES (example below)
    Create report that selects records from CDHDR where OBJECTLAS = 'KUNHIER' within your date parameters and calls function 'CHANGEDOCUMENT_READ' for each row selected from CDHDR. This will give you the change documents, so you can continue the logic to do whatever else you need.
    Thanks,
    Naren

  • About Business transaction events

    Hi,
              i need to know the about BTE please send the related documents about this please.
    regards,
    naveen

    Hi
    Business Transaction Events
        It is also called as Open FI enhancement technique which is based on the following principle:
    Application developers must define their interface in a function module. An assignment table is read in the corresponding (generated) code, and the customer modules assigned are called dynamically.
    This technique differentiates between enhancements that are only allowed to have one implementation and enhancements that can call multiple implementations in any sequence desired. Both industry-specific and country-specific enhancements may be defined.

  • Business transaction events in FI document posting

    Dear All
      Has anyone worked with business transaction events in FI document posting.
    Function module  <b>SAMPLE_PROCESS_00001150</b>
    Please send me the code and i will modify according to my requirement.
    Anyone help is highly appreciated.
    Thanks in advance
    Thanks
    Sonali

    Hi,
    Check this link for step by step process to implement BTE.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Thanks,
    Naren

Maybe you are looking for