Hierarchy
⤷ IS-B-BCA (Application Component) Bank Customer Accounts
⤷ FKBI (Package) Bank Customer Accounts: In-House Bank Functions
IMG Activity
ID | IHC_005_BADI | Implement BAdI for Calculating Charges in FI |
Transaction Code | S_PLN_06000371 | (empty) |
Created on | 20030704 | |
Customizing Attributes | IHC_005_BADI | Implement BAdI for Calculating Charges in FI |
Customizing Activity |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | IHC_005_BADI |
Use
In the in-house cash center you can post charges separately to other items. To calculate charges, you have to implement the following business add-in (BAdI) in the FI system of the head office: Returns in Account Statement, Customer Add-In (FIEB_RETURNS_ADDIN).
Requirements
For the FI system of the head office, you are using at least SAP R/3 Enterprise Core 4.70 (SAP_APPL_470).
Standard settings
Activities
- In Customizing for bank accounting, choose Business Transactions -> Payment Transactions -> Electronic Account Statement -> Business Add-Ins (BAdIs) -> BAdI: Processing Returns.
- Implement the BAdI in accordance with the BAdI documentation. Note the following special features:
- Create a class for the BAdI that implements the interface IF_EX_FIEB_RETURN_ADDIN.
- Implement the method change_return_charges. An example of the coding is shown below.
Example coding for implementing the BAdI FIEB_RETURNS_ADDIN
method if_ex_fieb_returns_addin~change_return_charges .
* Local data
constants:
l_con_charge_text(15) value 'Gebühr:'.
data:
l_start,
l_rest,
l_charge(4),
l_ihc_relevant,
lw_febre type febre,
lw_febvw type febvw,
ls_febko_ext type febkoxt_bf,
ls_febep_ext type febepxt_bf,
ls_febko_int type febkoin_bf,
ls_febep_int type febepin_bf,
lt_febcl type table of febcl.
* Start processing
* Prepare data structure
move-corresponding i_febko to: ls_febko_int, ls_febko_ext.
move-corresponding i_febep to: ls_febep_int, ls_febep_ext.
select single * from febvw
into lw_febvw
where anwnd = i_febko-anwnd and
absnd = i_febko-absnd and
azidt = i_febko-azidt.
if sy-subrc is initial.
move-corresponding lw_febvw to: ls_febko_ext.
endif.
select * into table lt_febcl from febcl
where
kukey = i_febep-kukey and
esnum = i_febep-esnum.
clear l_ihc_relevant.
clear c_return_charges.
* Check if IHC relevant
call function 'BKK_IHB_BASTA_IN_CHECK'
exporting
i_febko_ext = ls_febko_ext
i_febep_ext = ls_febep_ext
i_febko_int = ls_febko_int
i_febep_int = ls_febep_int
importing
e_register_area_2 = l_ihc_relevant
tables
t_febre = t_febre
t_febcl = lt_febcl.
check l_ihc_relevant is not initial.
* Check all reference texts
loop at t_febre into lw_febre.
check lw_febre-vwezw cs l_con_charge_text.
split lw_febre-vwezw at space into l_start l_charge l_rest.
move l_charge to c_return_charges-kwbtr.
if i_febep-epvoz = 'H'.
multiply c_return_charges-kwbtr by -1.
endif.
exit.
endloop.
endmethod.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | IHC_005_BADI | 0 | KFM0000005 | FSCM In-House Cash |
Maintenance Objects
Maintenance object type |
History
Last changed by/on | SAP | 20030708 |
SAP Release Created in | 200 |