You are on page 1of 12
BTEs - Business Transaction Events Business Transaction Events (8TEs) have been available as of Release 4.0 and are another technique for implementing program exits, and only program exits BTEs are generally found in the general ledger accounting (FF-GL}, account receivable and payable (FAR and FLAP) and sales and distribution components. ABTE has a predefined interface and allows you to attach additional functionality in the form of service funtion module. You must create funtion module with the parameters you have previously dictated. The BTE is called bythe SAP standard program bya call to function OPEN_F|_PERFORM._or OUTBOUND_CALL_. This function checks if there are anyactive BTEs according to customizing, To find a BTE in fi transaction: “There are two function modules BF_FUNCTIONS_FIND Pur a break point anu then run your transaction Levent parameter of function BF_FUNCTIONS_READ is populated with the event name, Step by step procedure fi Simple BTE BTE- Business Transaction Event Enhancement type developed for F (Financial Accounting). SAP Reference IMG-> Financial Accounting -> Finanelal Accounting Global Sette -> Business Transaction Events (Customizing can be done via transaction FIEF, Sample teode-FBLSn(Add additional field). Scenariozin output now only have Customer no only.We need a customer name and Phone no to display. There are two structure are used. Structures names are-Rfpos and RFPOSXEXT. Stepl: open BF_FUNCTIONS_FIND function module. ee en ee) Recenoese SRLS acne sorte (ment eet wrong Tees eters SESE >) 0S RRErTON TRCN FIND > al | ze 1) See nica TT 0 Stage oe ae 1 | eats rmcraa ar roerzae, sean ‘We can find required BTE event here... Step2: Now go to FIBF transaction. (SAP Business Framework: Businees Transaction Events. som snes ‘You will get the above sereen. & events edt Goto Settings [Enyronment } Sistem Help @ii 714 G| Weastemies) & * Infosystem (Processes) jusiness Transaction Events 1H|\|2A oR SAP Business Framework: Environment->info system(P/S). Business Transaction Events: Publish & Subscribe Interfaces a BTE Search for Selection Attributes Attrbute Type No) Selection Attrib, BTE Interval Search Bere ern eer Cc —— J Be) (Doonty BTEs with Active Products [Mierke Ghevt Tavte Pinks Select attribute type as A and execute it. Business Transaction Events: Publish & Subscribe Interfaces GF Geactcomp. Bsanrietincionmaiie Mintetxe Boonton AFF NSRP ‘Selected TES: Tat Sor eRoceSsING Demvanen Before O1 Dery POST OOCIMENT: Footer put POST OOCUVENT: Check customer ire tem POSTDOCINENT: ——Checis at ine em vel POST DOCUMENT: Check reference 3 POSTDOCIMENT: ——Deplay References Button POST DOCUMENT: shor ta fra checks POST DOCUMENT: Anal checks completed POST DOCUMENT: Postng of standard cata REVERSE CLEARING! Folowing 2 stindad pasting REVERSE CLEARING: th Revstsa! ct Coarra Doc POST DOCUMENT: Accounting interface POST DOCIMENT: Invoke check POST DOCUMENT: GUL Calup at Line Iter Level POST OCCIMENT: Koy Tents POST OOCIMENT: — Functons fr Line Item CHANGE DOCUMENT: Save the standarc cata CHANGE DOCUMENT: GUI Cabin at Inaitem ved CHANGE DOCUMENT: Key texts CHANGE DOCUMENT: Ee, Function fr Line ttm CHANGE DOGUMENT: xchide Pk Cranges POST DOCUMENT: Exclude OK Codes (Env) CUSTCNER BALANCES! CaIkD Usha GU ment SERVICE MASTER DATA: Rost CUSTONER BALANCES! Kay tonts CUSTENER BALANCES! Prine fest output MATERIAL MASTER DATA: Post Here we can find N no events. ‘We have to select your events here.in our scenario our event is 1650. Business Transaction Events: Publish & Subscribe Interfaces & spact. com. @BSarole function mde Ointeias Zoouretion &9F DSao B Documentation (CuFt) Selected BTES Event Text (00001705 (00003710 ono01719 (00001720 00001730 (00003740 ‘ono01750 (oc001751. (00001760 o0003762 Select your Event and click Documental ‘DUNNING: Stat of dunning notice printout DUNNING: End of cunning notice printout DUNNING: Addition! actiwtes before panting (DUNNING: Printing of dunning notice (DUNNING CUSTOMIZING, Customicina (hay tat) DUNNING CUSTOMIZING: Addtianal Customing (DUNNING: Parameter mantenance (key text) DUNNING: Parameter maintenance (DUNNING: Azplication Cols MEN DUNNING: Application Coda MHND n.Here we can find full detail about the particular document. Ifyou want implement this function module.Double click the sample function module. Business Transaction Events: Publish & Subscribe Interfaces pact. comp, (@BSample function module | @interface ByDocumentation SB gd Sample module _(Shift+F2 Selected BTES Text DUNNING: Start of dunning notice printout (00001710 DUNNING: End of cunning notice printout 00001719 DUNNING: Additional activites before printing (00001720 DUNNING: Printing of dunning notice (00001730 DUNNING CUSTOMIZING: Customizing (key text) (00001740 DUNNING CUSTOMIZING: Additional Customizing (00001750 DUNNING: Parameter maintenance (key text) (00001751 DUNNING: Parameter mantenance (00001760 DUNNING: Appication Code MHNK ANANIZAT NUNINTUG: Biinieatinn Coke MERIT Function Builder: Initial Screen aot Se BF BD Reason... (CtrbtF5) Cupy the fur function group. n module.Betore copy we have to create own function group and activate that Don’t Change any Import and Export parameter . For our scenario is to add the fields and get the report tor that... Structure Name is ->RFPOS Add the field Name Using Append Scrucure..(Field level E1 Dictionary: Maintain Append Structure 6 FOE BF BBO twenty ogonicnn nt). Re (REGRESS RICA ener te [Stow Aeercng ce] a2 Gmaret fw Coronet yee CHaTIEE La De Sorte oo a wicuenary: umpiay suucUE 9 PRE st t BOB Herachy display Append structure... Structure ‘RFPOS | active Short Description [Line Item data for Customer/Vendor/G/L Account attributes: (oa ae erated redefined Ty0e | asi / 197 component "Component typs Data Type Length Dec... Shot Deserpten (poe Perea 2 pond Type PPEND (>) REPR REPOS an oo INCLUDE, OO REPRAPFEND = oo PROPANO REHORECHNRN CHAR Boo PPEMD © ZzaprEND ET. ap 0 ODemo Structure For BTR ZauANEL HAMEL GP (CHAR 35, Ocustomer Name 22PHOME none 10 OPhone No Do enhancement for field level.Structure-RFPOSXEXT Dictionary: Display Structure SP BRB sat ea BD Herarchy Display Append smucture, aan | SEE) ey re EE RBEBS BEES rene veo me Component. Jp Component tye Data Type Length Dac... Short Descrotion .eeea ee ST eae an nce oer a ae are a eee eo ozs Sees ee eee eee eee Sea —-— pr rae a eo aa eee Sa pe Scere Po a aac ao eae Dictionary: Display Structure SP te BOD trachy Dieay append ometuse ‘Structure RFPOSXEXT Tact Short oecaton Jr cHaN OR RESET #9) airbus rock panty fee OES BRAEIA] pctotod re | 180 / 172 Component Jp Component tye Data Type Length Dac... Short Description: 70 rump one ¢) oPetscrrel earbet © rae cue 13 2aount n Payment Garey O prew: cu 5) Cure for Autom Payment osm cus 2 ehh Tax Code © mee cue 10, ONtrnber of tho Invace the Trreacton Belongs to © sm come 13 2a Dscunt ama Second Locd Gaerey © sane coma 19) 2¢ah decount anount bcd eurency © paneo ars ¢)_Ocheck enstment date © omer cme 13 Ocheck Nuber From O waxy ¢)Osva etek (sa yen wom acer @)___ Ober Stuctuo Fx BTE ese ¢) Ober Suctae Fx BTE Omi oun 38) Otustemes Name After Enhance Write the code in Function module what we created. Function module ZeTE_fam_ 0000650 Ateeates 3 SFUNCTEOW Z5TE_EWH_OOOUTESD. Selget SINGLE ELPA trom knai into %POSTAB-Zzphone vier= Kunnr = 1_POSTAB-kones. Code: Select SINGLE TELFI from knal into E_POSTAB-ZZphone where kunnr = I_POSTAB-konto. STEPS: ‘Then Assign This function module to FIBF transac cis elt oto (Grange) Ewioert Sten ilo er Wdenufcaton Fa BBA Se 2h | @ of apat Procoss Modes New Entries: Overview of Added Entries ve B Product Text REC destination ze10 & _& & _& & Enter product name and text and select the check box.. (© Table View Edit Goto Selection —_Utiities(MM) System Help @ | ~ 18 €6@:808 08808 BF OB | Change View "Customer Products”: Overview % rewire DEB EE Product Text RFC destination a a feus-cum 7 EBBP P3_00_750 EIOUT Data Exchange R3 to CRM BUPA ETOUV Data Exchange R3 to CRM BUPA YSVEA Sunrier Vineyard - Appication for User Exit YYTELO1 —Appikation (fur UserEit) YYTELOS —Appication for User Exit DUNN Customer BELLO) Adding new feldin 110 28BNA Demo For SBNA z_xmt a I ) wv v) w wv) ) wv PP ears Click Save Button. duct to P/S mn Assign Pi les. & events gut Goto [gettings J Erviorment System — Help Teentifcaton «+ AUG) SS Products » © o8 Process Mocules > of apartner 1 of a customer (© Table view Edt Goto Selection —_Utiitis(M) System — Help @ “186 C@@\CHH BN Hf AA Ol! | Change View "Publish&Subscribe BTE: SAP Enhancement”: Overvit Y vewentres (BG B A EL Event Ctr Appl, Function Module pooo.o2s >) FI-TRF CHECK_TAX_RFD_o0001025 * oooo1ozs = TS-PSFM_CHECK_FL Ss Joosorozs sue sue sre _ova0i02s jooo102s RE —_-FEEX_CALLBACK_FAYHRNT_onO01025 Joooo.o2s ux uxH_a¥TERFACE_ovoOLo2s Joooo1e2s an |AR_ PROCESS 00001025 NUM_CHECK ‘ooon.025 oR “TURKEY_BOF_PERFORM_OnO01025 Jooaoxo2s mx rower rw: px_sTE 00001025 ‘oooo1025 Tr "TURKEY_BOE_PERFORU_00U01025 Jooscxo2s T= ‘TURKEY_50E_PERFORI_00001028 ooo.03a FI_DATA_¥0R_SELF_INVOICES ‘eoei0so | FI-CH FOM_cOLL_LITERFACE_e0001030 joooci0sa—FI-DH rom an_rTEFFAcr_00001030 Jooosisso | FI-TAK SeT_DEFTAX ITEM Enter Event And Funetion module Details. Now we can get additional fields With populated values in FBLSn.

You might also like