Menu

SAP Function Module DEPREC_SIMUL_MAINTENANCE

Pflege der AfA-Parameter für die AfA-Simulation

The Function Module DEPREC_SIMUL_MAINTENANCE (Pflege der AfA-Parameter für die AfA-Simulation) is a standard Function Module in SAP ERP and is part of the function group AIPS within the package AIS.

Technical Information

Function Module DEPREC_SIMUL_MAINTENANCE
Short Text Pflege der AfA-Parameter für die AfA-Simulation
Function Group AIPS
Package AIS
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_BUKRS LIKE ANIA-BUKRS Company code
I_BUKRS_CHANGE LIKE T020-AKTYP SPACE Check flag company code change
I_DYNNR LIKE SY-DYNNR '0102' Screen module screen header - default 102
I_IVPRO LIKE TAPRF-IVPRO SPACE Investitionsprofil
I_KOKRS LIKE TKA01-KOKRS SPACE Controlling area for validation of activity type
I_OBJNR LIKE ANIA-OBJNR RW object number or internally unique number
I_REPID LIKE SY-REPID SYST-CPROG Calling program screen module default - SY-REPID
I_TRTYP LIKE T020-AKTYP Transaction type
I_XINVPR LIKE T020-AKTYP SPACE Schalter Aufruf aus Investitionsprogramm

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_MASS_MSG TYPE MASS_MSGS Optionale Struktur mit Messages
E_PARM_FLAG LIKE Flag tax depreciation simulation parameters were maintained (Xfield)

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
AFASIM_VORHANDEN Tax depreciation simulation data exists - Bukrs_Change
ANLAGENKLASSE_FEHLT Asset class in stored data is missing
BUKRS_KEIN_AM_BUKRS Company code is not defined for AM
INKONSISTENTE_DATEN Tax depreciation simulation data are incomplete
PERIODEN_NICHT_DEF Period version is not defined for company code
RW_OBJECT_FEHLT No object number was given during the call
TRTYP_FALSCH Transaction type is not supported