Menu

SAP Function Module CALCULATE_TAX_FROM_NET_AMOUNT

Ermittlung der Steuerprozentsaetze und des Steuerbetrages

The Function Module CALCULATE_TAX_FROM_NET_AMOUNT (Ermittlung der Steuerprozentsaetze und des Steuerbetrages) is a standard Function Module in SAP ERP and is part of the function group TAX1 within the package FBAS.

Technical Information

Function Module CALCULATE_TAX_FROM_NET_AMOUNT
Short Text Ermittlung der Steuerprozentsaetze und des Steuerbetrages
Function Group TAX1
Package FBAS
Module Type Normal Module

Importing Parameters

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 wird mitprotokolliert
I_PRSDT LIKE KOMK-PRSDT Datum zur Steuerfindung
I_TXJCD LIKE BSEG-TXJCD SPACE Tax jurisdiction code
I_WAERS LIKE BKPF-WAERS Currency key
I_WRBTR LIKE BSEG-WRBTR Net amount
I_ZBD1P LIKE BSEG-ZBD1P 0 Cash discount percentage rate

Exporting Parameters

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 calculated which is allocated
E_FWSTE LIKE BSET-FWSTE Tax calculated (total)

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ACCOUNT_NOT_FOUND Fehler bei der Kontenfindung
BUKRS_NOT_FOUND Company code specified does not exist
COUNTRY_NOT_FOUND The country specified in T001 does not exist
KALSM_NOT_FOUND Kalkulationsschema wurde nicht gefunden
KNUMH_NOT_FOUND Konditionssatz nicht gefunden
KSCHL_NOT_FOUND Konditionsart 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 einer Funktion mit falschen Parametern
TXJCD_NOT_VALID Jurisdiction nict zulässig oder fehlerhafte Länge
UNKNOWN_ERROR Unbekannter Fehler