FI
Function module
Used the same way in S/4HANA
FI_TAX_CALCULATION Calculate FI Tax Lines
Calculates the tax lines (BSET) of an FI document from its header (BKPF) and item (BSEG) data according to the tax codes. It is used in custom developments that simulate tax amounts before posting or rebuild tax lines. The tax code and tax base must be filled correctly in the items; the results are returned in the T_BSET table.
- Function group
- TAX2
- Remote-enabled (RFC)
- No
- Type
- Function module
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_RWBSET_HEAD | RWBSET_HEAD | Tax line header data | — |
Tables parameters
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'FI_TAX_CALCULATION'
TABLES
t_bkpf = lt_t_bkpf
t_bseg = lt_t_bseg
t_bset = lt_t_bset
t_bsec = lt_t_bsec
t_rwbset = lt_t_rwbset.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.