Scenario On Business Transaction Events (Btes) : Zfibf
Scenario On Business Transaction Events (Btes) : Zfibf
IMG Menu Path: Financial Accounting !Financial Accounting Glo"al #ettings !Business $ransaction %&ents ! %n&iron'ent ! In(osyste' )Processes*+
Click on e ecute! "ook for the a##ro#riate event that fulfills our re$uire%ent!
&ou'le click on the corres#onding BTE! Click on the (a%#le Function %odule!
Co#) the interface into the custo% function %odule (*+)! The desired logic is coded in the custo% function %odule! The interface of the function %odule should never 'e changed!
Additional logic can "e coded in the (unction 'odule+ #a&e and acti&ate the (unction 'odule+
$he ne,t step is to create a Product that links the e&ent -ith the (unction 'odule+ Products are created in the sa'e transaction FIBF+
%nter the product na'e description and 2F. destination i( applica"le+ $he check "o, A is to acti&ate the product+
$he ne,t step is to link the (unction 'odule and the e&ent using the product created+ $he path is sho-n "elo-+
.lick ne- entries and enter the e&ent and the (unction 'odule+
$esting the B$%+ For our case go to transaction FK34, that changes the &endor data+
6pon sa&e, the B$% associated -ith the e&ent -ill "e triggered+
,##l) a 'reak #oint in the function %odule associated with the event to check the triggering!
E a%#le (cenario- .hen we run FB"/0, we need to have additional colu%ns (Custo% Fields) Billing 1lant and &escri#tion!
0ow for the a'ove re$uire%ent, we need to do following in FIBF tcode (BTE)!
(elect the a##ro#riate event which gets triggered during the e ecution of the tcode FB"/0! ,gainst the Event assign the 1roduct na%e which was created a'ove and assign a function %odule na%e (the #rocedure to create the correct function %odule can 'e found at this link htt#-33www!sa#technical!co%3Tutorials34thers3BTE31age5!ht% )
In FB"/0, we need to have two additional colu%ns, Billing #lant and &escri#tion! For this we need to a##end a structure with two fields in 6F14( structure and 6F14(7 structure!
(elect 8E(
TE(T-