SlideShare a Scribd company logo
SDN Contribution
FI Enhancement Technique – How-To-Guide on the
Usage of Business Transaction Events (BTE)
Applies to:
SAP 4.6C and Above
Summary:
This article provides a step-by-step guide on the usage of Business Transaction Events, as an Enhancement
technique in the Financial Accounting Module of the SAP R/3 system.
Created on: 2 May 2006
Author Bio
Lakshman Tandra is working in Intelligroup from more than 9 years. He is member of
Netweaver / ESA core team and currently oversees competency building activities at
Intelligroup.
© 2006 SAP AG 1
Table of Contents
FI ENHANCEMENT TECHNIQUE – HOW-TO-GUIDE ON THE USAGE OF BUSINESS TRANSACTION
EVENTS (BTE) ................................................................................................................................................................ 1
APPLIES TO:................................................................................................................................................................... 1
AUTHOR BIO................................................................................................................................................................... 1
TABLE OF CONTENTS................................................................................................................................................. 2
WHAT ARE BUSINESS TRANSACTION EVENTS.................................................................................................. 3
DIFFERENCE BETWEEN BADI’S AND BTE’S ........................................................................................................ 3
TYPES OF INTERFACES.............................................................................................................................................. 4
FINDING BUSINESS TRANSACTION EVENTS ....................................................................................................... 5
BASIC STEPS IN CONFIGURING BUSINESS TRANSACTION EVENTS........................................................... 5
EXAMPLE BUSINESS SCENARIO FOR BTE - PROCESS INTERFACE............................................................ 6
RELATED TRANSACTION CODES.......................................................................................................................... 15
DISCLAIMER AND LIABILITY NOTICE ................................................................................................................... 16
© 2006 SAP AG 2
What are Business Transaction Events
The enhancement technique (Open FI) that were developed for 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.
This can be easily adopted / customized to the business needs wherein SAP does not provide the
standard functionality through customization or enhancements. This functionality is primarily used in
FI in the areas of dunning, credit management, banking etc. For Example: Standard Dunning
functionality in SAP sends the notice to the Pay to partner function (based on the partner functions in
SD module i.e. pay to hits the books in Accounts Receivable in FI module), whereas the requirement
could be to send the same to Bill to party, based on the premise that the original invoice was sent to
him as per the partner functions in SD.
Difference between BADI’s and BTE’s
The concepts behind the Business Add-Ins enhancement technique and Open FI are basically the same.
However, the two enhancement techniques do differ from each other in the following points:
Open FI can only be used to make program enhancements, that is, you can only enhance source
code using Open FI. You cannot enhance user interface elements with Open FI like you can with
Business Add-Ins.
Open FI assumes that enhancement will only take place on three levels (SAP - partners -
customers), whereas with Business Add-Ins you can create and implement enhancements in as
many software layers as you like.
Open FI uses function modules for program enhancements. With Business Add-Ins, ABAP Objects
are used enhance programs.
© 2006 SAP AG 3
Types of Interfaces
There are two types of interface available
a) Publish and Subscribe Interface
b) Process Interface
in the General Ledger Accounting (FI-GL), Accounts Receivable and Accounts Payable (FI-AR/FI-AP) and
Sales and Distribution (SD) components.
Publish and Subscribe Interface
Publish & Subscribe interfaces (also called "informing interfaces" in the following)
These should inform you about particular events (such as a document being entered) in the SAP
standard application and make the data generated as a result available to the external software. The
external software does not return any data to the standard R/3 System. Examples of such events in
the R/3 System are:
• Master record was created, changed, or blocked
• Document was entered, parked, changed, or reversed
• Items were cleared or reset
Additional processing can be caused in the additional component on the basis of these events and data:
• Starting a workflow
• Generating or changing additional data
• Requesting correspondence
Process Interface
Process interfaces (also referred to as "process" in the following)
Process interfaces are used to submit business processes to a different control which cannot be
realized with the standard system, that is process interfaces replace standard processes.
Here you can structure determination of individual field contents or of specific reactions to process
flows individually. It is possible to connect different external developments to the standard R/3
System. The additional developments are generally carried out using the ABAP/4 Development
Workbench.
• This way you can, for example, influence the control of payment transactions.
Selection of payment method, house bank and partner bank can be made using the
payment data (currency, amount, and payee) according to a selection logic which
you have defined.
© 2006 SAP AG 4
Finding Business Transaction Events
SAP Reference IMG -> Financial Accounting -> Financial Accounting Global Settings -> Business
Transaction Events
• For Publish and Subscribe Interfaces, Environment - > Info system (P/S)
• For Process Interfaces, Environment -> Infosystem(Processes)
Find for Character String “OPEN_FI_PERFORM” in source code
Basic Steps in Configuring Business Transaction Events
Make sure the application is active for Business Transaction Events.
Identify the BTE
Copy the sample interface function module into a "Z” or “Y” function module.
Write the ABAP code into the source code section of the new "Z” or “Y” function module. You may
choose to create a "Z” or “Y” program to enter the code into and then insert the "Z" or “Y” program
into your function module source code.
Save and activate the function module.
Assign the function module to the event, country and application.
© 2006 SAP AG 5
Example Business Scenario for BTE - Process Interface
Company A would like to the copy the Assignment field with custom value ‘Demo BTE’ when an accounting
document is posted for a certain Company Code for accounting purposes to analyze the data. To accomplish
this requirement, Company A will use the Business Transaction Event 1120, Post Document: SAP Internal
Field Substitution. Depending on the business scenarios, generally the reference document number field
and assignment number field will be populated with a unique identifier for analyzing the accounting data.
For the purpose of this document, I have used a scenario of populating the text field while creating
accounting document.
Steps
1. IMG Menu Path: Financial Accounting ->Financial Accounting Global Settings->Business
Transaction Events-> Environment-> Infosystem (Processes).
2. Find the correct Business Event. You are updating a field, so you need to select the Processes Info
System instead of the Publish and Subscribe Info System.
3. Execute the search with the defaults.
© 2006 SAP AG 6
4. Find the correct interface for updating a document: Document Posting: Field Substitution
header/items
5. Place cursor on the event 1120 and click on the Sample Function Module.
© 2006 SAP AG 7
6. You are now in transaction SE37 – Function Builder. This is the function module
(SAMPLE_PROCESS_00001120) you will need to copy into a "Z" or “Y” name function module for
your coding
7. Click on the Copy button.
8. Specify the "Z" or “Y” function module name in the To Function Module field
9. Specify a Function Group. If you need to create a "Z" or “Y” 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.
© 2006 SAP AG 8
10. In Function Builder (transaction SE37), enter the new "Z" or “Y” 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 source code as per the requirement:
Loop at t_bseg.
* Move the Text into all line items allocation field.
Loop at t_bsegsub.
t_bsegsub-zuonr = ‘Demo BTE’.
Modify t_bsegsub index sy-tabix.
endloop. "t_bsegsub
endloop. "t_bseg
14. Save and activate the function module.
15. To assign Function module to the Event, first create a product say “ZPRODUCT”
© 2006 SAP AG 9
Click on the “New Entries” button.
© 2006 SAP AG 10
Enter the Product name and make sure you select the “Active” check box, otherwise the BTE will not
trigger.
Now assign the function module “Z_SAMPLE_PROCESS_00001120” create in step 7 to the Event.
Depending on the requirement, Country and Application has to be specified.
© 2006 SAP AG 11
16. Test the BTE by creating accounting document from FB01 Transaction
© 2006 SAP AG 12
Specify the required fields to post the accounting document.
© 2006 SAP AG 13
17. To check whether the Assignment field is populated with “Demo BTE”, display the created
accounting from FB03 and check for the Assignment value.
© 2006 SAP AG 14
Related Transaction Codes
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
© 2006 SAP AG 15
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces
and therefore is not supported by SAP. Changes made based on this information are not supported and can
be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods
suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of
this technical article or code sample, including any liability resulting from incompatibility between the content
within this document and the materials and services offered by SAP. You agree that you will not hold, or
seek to hold, SAP responsible or liable with respect to the content of this document.
© 2006 SAP AG 16
Ad

More Related Content

What's hot (20)

Accounting entries in sap
Accounting entries in sapAccounting entries in sap
Accounting entries in sap
Rajeev Kumar
 
SAP S4 HANA.pptx
SAP S4 HANA.pptxSAP S4 HANA.pptx
SAP S4 HANA.pptx
HARISHVERMA80
 
Withholding tax in sap
Withholding tax in sapWithholding tax in sap
Withholding tax in sap
Shaily Dubey
 
Bank reconciliation ff67
Bank reconciliation ff67Bank reconciliation ff67
Bank reconciliation ff67
chiranjeevisapfi
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guide
sapdocs. info
 
Sap fico-transaction-codes Anilkumar chowdary
Sap fico-transaction-codes  Anilkumar chowdary Sap fico-transaction-codes  Anilkumar chowdary
Sap fico-transaction-codes Anilkumar chowdary
ANILKUMARPULIPATI1
 
Sap manual bank statement process flow
Sap manual bank statement process flowSap manual bank statement process flow
Sap manual bank statement process flow
SURESH BABU MUCHINTHALA
 
SAP FI Configuration guide and enduser manual
SAP FI Configuration guide and enduser manualSAP FI Configuration guide and enduser manual
SAP FI Configuration guide and enduser manual
SAP_FICO Online_training
 
Electronic bank statement in SAP FI
Electronic bank statement in SAP FIElectronic bank statement in SAP FI
Electronic bank statement in SAP FI
Venkataramani Gopalan
 
Withholding tax configuration
Withholding tax configurationWithholding tax configuration
Withholding tax configuration
ricardopabloasensio
 
Ganesh TAXINN cofig_doc
Ganesh TAXINN cofig_docGanesh TAXINN cofig_doc
Ganesh TAXINN cofig_doc
Ganesh Tarlana
 
Intercompany assets transfer
Intercompany assets transferIntercompany assets transfer
Intercompany assets transfer
SURESH BABU MUCHINTHALA
 
Fi mm integration
Fi mm integrationFi mm integration
Fi mm integration
Capgemini
 
SAP FI - Account Payable (AP)
SAP FI - Account Payable (AP)SAP FI - Account Payable (AP)
SAP FI - Account Payable (AP)
saiprasadbagrecha
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!
sapdocs. info
 
Fi tds report
Fi tds reportFi tds report
Fi tds report
ANILKUMARPULIPATI1
 
mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5N
Imran M Arab
 
Central Finance Configuration.pdf
Central Finance Configuration.pdfCentral Finance Configuration.pdf
Central Finance Configuration.pdf
chandramohan431817
 
GST Input Tax Credit - ITC Utilization in SAP
GST Input Tax Credit - ITC Utilization in SAPGST Input Tax Credit - ITC Utilization in SAP
GST Input Tax Credit - ITC Utilization in SAP
Shakir Shaikh
 
Fico interview questions and answers
Fico interview questions and answersFico interview questions and answers
Fico interview questions and answers
Processweaver Hr
 
Accounting entries in sap
Accounting entries in sapAccounting entries in sap
Accounting entries in sap
Rajeev Kumar
 
Withholding tax in sap
Withholding tax in sapWithholding tax in sap
Withholding tax in sap
Shaily Dubey
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guide
sapdocs. info
 
Sap fico-transaction-codes Anilkumar chowdary
Sap fico-transaction-codes  Anilkumar chowdary Sap fico-transaction-codes  Anilkumar chowdary
Sap fico-transaction-codes Anilkumar chowdary
ANILKUMARPULIPATI1
 
SAP FI Configuration guide and enduser manual
SAP FI Configuration guide and enduser manualSAP FI Configuration guide and enduser manual
SAP FI Configuration guide and enduser manual
SAP_FICO Online_training
 
Ganesh TAXINN cofig_doc
Ganesh TAXINN cofig_docGanesh TAXINN cofig_doc
Ganesh TAXINN cofig_doc
Ganesh Tarlana
 
Fi mm integration
Fi mm integrationFi mm integration
Fi mm integration
Capgemini
 
SAP FI - Account Payable (AP)
SAP FI - Account Payable (AP)SAP FI - Account Payable (AP)
SAP FI - Account Payable (AP)
saiprasadbagrecha
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!
sapdocs. info
 
mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5N
Imran M Arab
 
Central Finance Configuration.pdf
Central Finance Configuration.pdfCentral Finance Configuration.pdf
Central Finance Configuration.pdf
chandramohan431817
 
GST Input Tax Credit - ITC Utilization in SAP
GST Input Tax Credit - ITC Utilization in SAPGST Input Tax Credit - ITC Utilization in SAP
GST Input Tax Credit - ITC Utilization in SAP
Shakir Shaikh
 
Fico interview questions and answers
Fico interview questions and answersFico interview questions and answers
Fico interview questions and answers
Processweaver Hr
 

Viewers also liked (18)

Withholding tax
Withholding taxWithholding tax
Withholding tax
Rajeev Kumar
 
Data medium exchange
Data medium exchangeData medium exchange
Data medium exchange
Rajeev Kumar
 
27631401 sap-implementation
27631401 sap-implementation27631401 sap-implementation
27631401 sap-implementation
amolbdeore
 
Sap tranport,customization request
Sap tranport,customization requestSap tranport,customization request
Sap tranport,customization request
Rajeev Kumar
 
Functional module
Functional moduleFunctional module
Functional module
Rajeev Kumar
 
Sap implementation project terms
Sap implementation project termsSap implementation project terms
Sap implementation project terms
Rajeev Kumar
 
Sap fi automatic payment program (configuration and run)
Sap fi   automatic payment program (configuration and run)Sap fi   automatic payment program (configuration and run)
Sap fi automatic payment program (configuration and run)
Rajeev Kumar
 
New general ledger accounting in sap
New general ledger accounting in sapNew general ledger accounting in sap
New general ledger accounting in sap
Rajeev Kumar
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCS
Rajeev Kumar
 
I doc in SAP
I doc in SAPI doc in SAP
I doc in SAP
Rajeev Kumar
 
Sap terms
Sap termsSap terms
Sap terms
Rajeev Kumar
 
Co interview questions and asnwers.
Co interview questions and asnwers.Co interview questions and asnwers.
Co interview questions and asnwers.
Rajeev Kumar
 
Resume 1
Resume 1Resume 1
Resume 1
Waheed Alam
 
T codes fico
T codes ficoT codes fico
T codes fico
Rajeev Kumar
 
How to create a transaction code for report painter reports
How to create a transaction code for report painter reportsHow to create a transaction code for report painter reports
How to create a transaction code for report painter reports
Rajeev Kumar
 
Controlling area issue in sap fico
Controlling area issue in sap ficoControlling area issue in sap fico
Controlling area issue in sap fico
Rajeev Kumar
 
Ap transaction codes
Ap transaction codesAp transaction codes
Ap transaction codes
Waheed Alam
 
Report painter in SAP
Report painter in SAPReport painter in SAP
Report painter in SAP
Rajeev Kumar
 
Data medium exchange
Data medium exchangeData medium exchange
Data medium exchange
Rajeev Kumar
 
27631401 sap-implementation
27631401 sap-implementation27631401 sap-implementation
27631401 sap-implementation
amolbdeore
 
Sap tranport,customization request
Sap tranport,customization requestSap tranport,customization request
Sap tranport,customization request
Rajeev Kumar
 
Sap implementation project terms
Sap implementation project termsSap implementation project terms
Sap implementation project terms
Rajeev Kumar
 
Sap fi automatic payment program (configuration and run)
Sap fi   automatic payment program (configuration and run)Sap fi   automatic payment program (configuration and run)
Sap fi automatic payment program (configuration and run)
Rajeev Kumar
 
New general ledger accounting in sap
New general ledger accounting in sapNew general ledger accounting in sap
New general ledger accounting in sap
Rajeev Kumar
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCS
Rajeev Kumar
 
Co interview questions and asnwers.
Co interview questions and asnwers.Co interview questions and asnwers.
Co interview questions and asnwers.
Rajeev Kumar
 
How to create a transaction code for report painter reports
How to create a transaction code for report painter reportsHow to create a transaction code for report painter reports
How to create a transaction code for report painter reports
Rajeev Kumar
 
Controlling area issue in sap fico
Controlling area issue in sap ficoControlling area issue in sap fico
Controlling area issue in sap fico
Rajeev Kumar
 
Ap transaction codes
Ap transaction codesAp transaction codes
Ap transaction codes
Waheed Alam
 
Report painter in SAP
Report painter in SAPReport painter in SAP
Report painter in SAP
Rajeev Kumar
 
Ad

Similar to Fi enhancement technique how-to-guide on the usage of business transaction events (bte).doc (20)

Bte
BteBte
Bte
veysiyigit
 
Bte
BteBte
Bte
Adaikalam Rayappa
 
patanali
patanalipatanali
patanali
HR chitta
 
App
AppApp
App
Muhammad Ayaz
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
SURESH BABU MUCHINTHALA
 
Sap fico fa qs
Sap fico fa qsSap fico fa qs
Sap fico fa qs
Rakesh Joshi
 
Sap fico fa qs(1)
Sap fico fa qs(1)Sap fico fa qs(1)
Sap fico fa qs(1)
Rakesh Joshi
 
Activate Document Splitt_2011-4-11 12-10-41125.PPT
Activate Document Splitt_2011-4-11 12-10-41125.PPTActivate Document Splitt_2011-4-11 12-10-41125.PPT
Activate Document Splitt_2011-4-11 12-10-41125.PPT
AliAbdallah85
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
sayantan sen
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
sayantan sen
 
Sap4 basic
Sap4 basicSap4 basic
Sap4 basic
Ramesh Thumburu
 
SAP 4.6 Basic Skills
SAP 4.6 Basic SkillsSAP 4.6 Basic Skills
SAP 4.6 Basic Skills
Trainning Educação
 
Sap
SapSap
Sap
suzzanj1990
 
How to improve user experience via roles
How to improve user experience via rolesHow to improve user experience via roles
How to improve user experience via roles
Siva Pradeep Bolisetti
 
1 eg s4hana1909_bpd_en_mx
1 eg s4hana1909_bpd_en_mx1 eg s4hana1909_bpd_en_mx
1 eg s4hana1909_bpd_en_mx
zulmirgd
 
Rambabu_ABAP_Resume
Rambabu_ABAP_ResumeRambabu_ABAP_Resume
Rambabu_ABAP_Resume
Rambabu Botsa
 
Sap training svr technologies
Sap training   svr technologies Sap training   svr technologies
Sap training svr technologies
SVRTechnologies
 
Sap General Ledger
Sap General LedgerSap General Ledger
Sap General Ledger
Kuramani Patro
 
Overview presentation intercompany integration solution for sap business one
Overview presentation intercompany integration solution for sap business oneOverview presentation intercompany integration solution for sap business one
Overview presentation intercompany integration solution for sap business one
walldorf_share
 
Signage data
Signage dataSignage data
Signage data
Arun Singhania
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
SURESH BABU MUCHINTHALA
 
Activate Document Splitt_2011-4-11 12-10-41125.PPT
Activate Document Splitt_2011-4-11 12-10-41125.PPTActivate Document Splitt_2011-4-11 12-10-41125.PPT
Activate Document Splitt_2011-4-11 12-10-41125.PPT
AliAbdallah85
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
sayantan sen
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
sayantan sen
 
How to improve user experience via roles
How to improve user experience via rolesHow to improve user experience via roles
How to improve user experience via roles
Siva Pradeep Bolisetti
 
1 eg s4hana1909_bpd_en_mx
1 eg s4hana1909_bpd_en_mx1 eg s4hana1909_bpd_en_mx
1 eg s4hana1909_bpd_en_mx
zulmirgd
 
Sap training svr technologies
Sap training   svr technologies Sap training   svr technologies
Sap training svr technologies
SVRTechnologies
 
Overview presentation intercompany integration solution for sap business one
Overview presentation intercompany integration solution for sap business oneOverview presentation intercompany integration solution for sap business one
Overview presentation intercompany integration solution for sap business one
walldorf_share
 
Ad

More from Rajeev Kumar (11)

Financial Supply chain Management.
Financial Supply chain Management.Financial Supply chain Management.
Financial Supply chain Management.
Rajeev Kumar
 
Sepa handbook
Sepa handbookSepa handbook
Sepa handbook
Rajeev Kumar
 
inter-company-reconciliation in SAP
inter-company-reconciliation in SAPinter-company-reconciliation in SAP
inter-company-reconciliation in SAP
Rajeev Kumar
 
List of sap authorized partners in India
List of sap authorized partners in IndiaList of sap authorized partners in India
List of sap authorized partners in India
Rajeev Kumar
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master data
Rajeev Kumar
 
Positive pay edi process in sap
Positive pay edi process in sapPositive pay edi process in sap
Positive pay edi process in sap
Rajeev Kumar
 
Sap production support services
Sap production support servicesSap production support services
Sap production support services
Rajeev Kumar
 
Sap r3 icons
Sap r3 iconsSap r3 icons
Sap r3 icons
Rajeev Kumar
 
Various types of job opportunities in SAP.
Various types of job opportunities in SAP.Various types of job opportunities in SAP.
Various types of job opportunities in SAP.
Rajeev Kumar
 
Document splitting-in-new-general-ledger
Document splitting-in-new-general-ledgerDocument splitting-in-new-general-ledger
Document splitting-in-new-general-ledger
Rajeev Kumar
 
Learn excel
Learn excelLearn excel
Learn excel
Rajeev Kumar
 
Financial Supply chain Management.
Financial Supply chain Management.Financial Supply chain Management.
Financial Supply chain Management.
Rajeev Kumar
 
inter-company-reconciliation in SAP
inter-company-reconciliation in SAPinter-company-reconciliation in SAP
inter-company-reconciliation in SAP
Rajeev Kumar
 
List of sap authorized partners in India
List of sap authorized partners in IndiaList of sap authorized partners in India
List of sap authorized partners in India
Rajeev Kumar
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master data
Rajeev Kumar
 
Positive pay edi process in sap
Positive pay edi process in sapPositive pay edi process in sap
Positive pay edi process in sap
Rajeev Kumar
 
Sap production support services
Sap production support servicesSap production support services
Sap production support services
Rajeev Kumar
 
Various types of job opportunities in SAP.
Various types of job opportunities in SAP.Various types of job opportunities in SAP.
Various types of job opportunities in SAP.
Rajeev Kumar
 
Document splitting-in-new-general-ledger
Document splitting-in-new-general-ledgerDocument splitting-in-new-general-ledger
Document splitting-in-new-general-ledger
Rajeev Kumar
 

Recently uploaded (20)

LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDM & Mia eStudios
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
MICROBIAL GENETICS -tranformation and tranduction.pdf
MICROBIAL GENETICS -tranformation and tranduction.pdfMICROBIAL GENETICS -tranformation and tranduction.pdf
MICROBIAL GENETICS -tranformation and tranduction.pdf
DHARMENDRA SAHU
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDMMIA Reiki Yoga S6 Free Workshop Money Pt 2
LDM & Mia eStudios
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
MICROBIAL GENETICS -tranformation and tranduction.pdf
MICROBIAL GENETICS -tranformation and tranduction.pdfMICROBIAL GENETICS -tranformation and tranduction.pdf
MICROBIAL GENETICS -tranformation and tranduction.pdf
DHARMENDRA SAHU
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 

Fi enhancement technique how-to-guide on the usage of business transaction events (bte).doc

  • 1. SDN Contribution FI Enhancement Technique – How-To-Guide on the Usage of Business Transaction Events (BTE) Applies to: SAP 4.6C and Above Summary: This article provides a step-by-step guide on the usage of Business Transaction Events, as an Enhancement technique in the Financial Accounting Module of the SAP R/3 system. Created on: 2 May 2006 Author Bio Lakshman Tandra is working in Intelligroup from more than 9 years. He is member of Netweaver / ESA core team and currently oversees competency building activities at Intelligroup. © 2006 SAP AG 1
  • 2. Table of Contents FI ENHANCEMENT TECHNIQUE – HOW-TO-GUIDE ON THE USAGE OF BUSINESS TRANSACTION EVENTS (BTE) ................................................................................................................................................................ 1 APPLIES TO:................................................................................................................................................................... 1 AUTHOR BIO................................................................................................................................................................... 1 TABLE OF CONTENTS................................................................................................................................................. 2 WHAT ARE BUSINESS TRANSACTION EVENTS.................................................................................................. 3 DIFFERENCE BETWEEN BADI’S AND BTE’S ........................................................................................................ 3 TYPES OF INTERFACES.............................................................................................................................................. 4 FINDING BUSINESS TRANSACTION EVENTS ....................................................................................................... 5 BASIC STEPS IN CONFIGURING BUSINESS TRANSACTION EVENTS........................................................... 5 EXAMPLE BUSINESS SCENARIO FOR BTE - PROCESS INTERFACE............................................................ 6 RELATED TRANSACTION CODES.......................................................................................................................... 15 DISCLAIMER AND LIABILITY NOTICE ................................................................................................................... 16 © 2006 SAP AG 2
  • 3. What are Business Transaction Events The enhancement technique (Open FI) that were developed for 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. This can be easily adopted / customized to the business needs wherein SAP does not provide the standard functionality through customization or enhancements. This functionality is primarily used in FI in the areas of dunning, credit management, banking etc. For Example: Standard Dunning functionality in SAP sends the notice to the Pay to partner function (based on the partner functions in SD module i.e. pay to hits the books in Accounts Receivable in FI module), whereas the requirement could be to send the same to Bill to party, based on the premise that the original invoice was sent to him as per the partner functions in SD. Difference between BADI’s and BTE’s The concepts behind the Business Add-Ins enhancement technique and Open FI are basically the same. However, the two enhancement techniques do differ from each other in the following points: Open FI can only be used to make program enhancements, that is, you can only enhance source code using Open FI. You cannot enhance user interface elements with Open FI like you can with Business Add-Ins. Open FI assumes that enhancement will only take place on three levels (SAP - partners - customers), whereas with Business Add-Ins you can create and implement enhancements in as many software layers as you like. Open FI uses function modules for program enhancements. With Business Add-Ins, ABAP Objects are used enhance programs. © 2006 SAP AG 3
  • 4. Types of Interfaces There are two types of interface available a) Publish and Subscribe Interface b) Process Interface in the General Ledger Accounting (FI-GL), Accounts Receivable and Accounts Payable (FI-AR/FI-AP) and Sales and Distribution (SD) components. Publish and Subscribe Interface Publish & Subscribe interfaces (also called "informing interfaces" in the following) These should inform you about particular events (such as a document being entered) in the SAP standard application and make the data generated as a result available to the external software. The external software does not return any data to the standard R/3 System. Examples of such events in the R/3 System are: • Master record was created, changed, or blocked • Document was entered, parked, changed, or reversed • Items were cleared or reset Additional processing can be caused in the additional component on the basis of these events and data: • Starting a workflow • Generating or changing additional data • Requesting correspondence Process Interface Process interfaces (also referred to as "process" in the following) Process interfaces are used to submit business processes to a different control which cannot be realized with the standard system, that is process interfaces replace standard processes. Here you can structure determination of individual field contents or of specific reactions to process flows individually. It is possible to connect different external developments to the standard R/3 System. The additional developments are generally carried out using the ABAP/4 Development Workbench. • This way you can, for example, influence the control of payment transactions. Selection of payment method, house bank and partner bank can be made using the payment data (currency, amount, and payee) according to a selection logic which you have defined. © 2006 SAP AG 4
  • 5. Finding Business Transaction Events SAP Reference IMG -> Financial Accounting -> Financial Accounting Global Settings -> Business Transaction Events • For Publish and Subscribe Interfaces, Environment - > Info system (P/S) • For Process Interfaces, Environment -> Infosystem(Processes) Find for Character String “OPEN_FI_PERFORM” in source code Basic Steps in Configuring Business Transaction Events Make sure the application is active for Business Transaction Events. Identify the BTE Copy the sample interface function module into a "Z” or “Y” function module. Write the ABAP code into the source code section of the new "Z” or “Y” function module. You may choose to create a "Z” or “Y” program to enter the code into and then insert the "Z" or “Y” program into your function module source code. Save and activate the function module. Assign the function module to the event, country and application. © 2006 SAP AG 5
  • 6. Example Business Scenario for BTE - Process Interface Company A would like to the copy the Assignment field with custom value ‘Demo BTE’ when an accounting document is posted for a certain Company Code for accounting purposes to analyze the data. To accomplish this requirement, Company A will use the Business Transaction Event 1120, Post Document: SAP Internal Field Substitution. Depending on the business scenarios, generally the reference document number field and assignment number field will be populated with a unique identifier for analyzing the accounting data. For the purpose of this document, I have used a scenario of populating the text field while creating accounting document. Steps 1. IMG Menu Path: Financial Accounting ->Financial Accounting Global Settings->Business Transaction Events-> Environment-> Infosystem (Processes). 2. Find the correct Business Event. You are updating a field, so you need to select the Processes Info System instead of the Publish and Subscribe Info System. 3. Execute the search with the defaults. © 2006 SAP AG 6
  • 7. 4. Find the correct interface for updating a document: Document Posting: Field Substitution header/items 5. Place cursor on the event 1120 and click on the Sample Function Module. © 2006 SAP AG 7
  • 8. 6. You are now in transaction SE37 – Function Builder. This is the function module (SAMPLE_PROCESS_00001120) you will need to copy into a "Z" or “Y” name function module for your coding 7. Click on the Copy button. 8. Specify the "Z" or “Y” function module name in the To Function Module field 9. Specify a Function Group. If you need to create a "Z" or “Y” 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. © 2006 SAP AG 8
  • 9. 10. In Function Builder (transaction SE37), enter the new "Z" or “Y” 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 source code as per the requirement: Loop at t_bseg. * Move the Text into all line items allocation field. Loop at t_bsegsub. t_bsegsub-zuonr = ‘Demo BTE’. Modify t_bsegsub index sy-tabix. endloop. "t_bsegsub endloop. "t_bseg 14. Save and activate the function module. 15. To assign Function module to the Event, first create a product say “ZPRODUCT” © 2006 SAP AG 9
  • 10. Click on the “New Entries” button. © 2006 SAP AG 10
  • 11. Enter the Product name and make sure you select the “Active” check box, otherwise the BTE will not trigger. Now assign the function module “Z_SAMPLE_PROCESS_00001120” create in step 7 to the Event. Depending on the requirement, Country and Application has to be specified. © 2006 SAP AG 11
  • 12. 16. Test the BTE by creating accounting document from FB01 Transaction © 2006 SAP AG 12
  • 13. Specify the required fields to post the accounting document. © 2006 SAP AG 13
  • 14. 17. To check whether the Assignment field is populated with “Demo BTE”, display the created accounting from FB03 and check for the Assignment value. © 2006 SAP AG 14
  • 15. Related Transaction Codes 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 © 2006 SAP AG 15
  • 16. Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. © 2006 SAP AG 16
  翻译: