The Function Module CALCULATE_TAX_FROM_GROSSAMOUNT (Errechnet aus einem Bruttobetrag die darin enthaltenen Steuern) is a standard Function Module in SAP ERP and is part of the function group TAX1 within the package FBAS.
Function Module | CALCULATE_TAX_FROM_GROSSAMOUNT |
Short Text | Errechnet aus einem Bruttobetrag die darin enthaltenen Steuern |
Function Group | TAX1 |
Package | FBAS |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_ACCDATA | TYPE | BSEG | Belegsegment Buchhaltung | |
I_ACCNT_EXT | LIKE | COM_TAX-ACCNT_NO | Kontonummer ext.Steuersystem (Befreiung) | |
I_BUKRS | LIKE | BKPF-BUKRS | Company code | |
I_MWSKZ | LIKE | BSEG-MWSKZ | Tax code | |
I_PROTOKOLL | TYPE | C | Pricing-Aufruf wird mitprotokolliert | |
I_PRSDT | LIKE | KOMK-PRSDT | Datum zur Steuerberechnung | |
I_TXJCD | LIKE | BSEG-TXJCD | SPACE | Tax jurisdiction code |
I_WAERS | LIKE | BKPF-WAERS | Currency key | |
I_WRBTR | LIKE | BSEG-WRBTR | Gross amount | |
I_ZBD1P | LIKE | BSEG-ZBD1P | 0 | Cash discount percentage rate |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_FWAST | LIKE | BSET-FWSTE | Calculated deductible tax | |
E_FWNAV | LIKE | BSET-FWSTE | Non-deductible tax calculated (total) | |
E_FWNVV | LIKE | BSET-FWSTE | Non-deductible tax assignable | |
E_FWSTE | LIKE | BSET-FWSTE | Tax calculated (total) |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
T_MWDAT | LIKE | RTAX1U15 | Table of tax values and percentage rates |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ACCOUNT_NOT_FOUND | Abstimmkonto nicht gefunden |
BUKRS_NOT_FOUND | Company code specified does not exist |
COUNTRY_NOT_FOUND | The country specified in T001 does not exist |
KALSM_NOT_FOUND | Kalkulationschema wurde nicht gefunden |
KNUMH_NOT_FOUND | Konditionssatz wurde nicht gefunden |
KSCHL_NOT_FOUND | Konditionsart wurde nicht gefunden |
KTOSL_NOT_FOUND | Vorgangsschlüssel nicht gefunden |
MWSKZ_NOT_DEFINED | Tax code not defined in calculation procedure |
MWSKZ_NOT_VALID | Tax code not allowed in the calculation procedure |
PARAMETER_ERROR | Aufruf der Funktion mit fehlerhaften Parametern |
TXJCD_NOT_VALID | Unzulässiger Steuerstandortcode |
UNKNOWN_ERROR | Unbekannter Fehler |