Menu

SAP Function Module ANEP_AFARECHNEN

Afa auf die in Tab. XANEP übergebenen Einzelposten rechnen

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module ANEP_AFARECHNEN (Afa auf die in Tab. XANEP übergebenen Einzelposten rechnen) is a standard Function Module in SAP ERP and is part of the function group AFAR within the package AB.

Technical Information

Function Module ANEP_AFARECHNEN
Short Text Afa auf die in Tab. XANEP übergebenen Einzelposten rechnen
Function Group AFAR
Package AB
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_ANTS LIKE ANTS Field string of DDIC structure ANTS
I_CAL_CLOSED_FYEARS LIKE ANLB-XNEGA SPACE Recalculate closed fiscal years
I_DATBIS LIKE ANEP-BZDAT '00000000' is no longer used
I_FEHLER LIKE ANLB-XNEGA SPACE Suppress error output (x)
I_NACHAKT LIKE ANLB-XNEGA SPACE Post-capitalization
I_PERBIS LIKE ANEP-PERAF SPACE Depreciation invoice up to this period
I_TRACE LIKE ANLB-XNEGA SPACE Depreciation trace switch

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_KAFABE LIKE ANLB-AFABE Depreciation area showing reduction

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_ANEA LIKE ANEA Table of proportional values
T_ANEP LIKE ANEP Table of line items
T_ANFM LIKE ANFM Error table
T_ANLB LIKE ANLB Table of company-code-dependent values for an asset
T_ANLC LIKE ANLC Table of year-related values of an asset
T_ANLZ LIKE ANLZ G/L account number

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DEPR_NOT_POSIBLE No depreciation calculation due to table inconsistency
MAN_AUTO_AFA Manual and automatic depreciation not allowed
MINWERT_VERLETZT Line item violates minimum value rule
NORMAL_AFA_VERLETZT Positive/negative sign rule for ord. depreciation is violated.
PERIOD_FALSE
RBW_VIRT_AFABER_VERLETZT Remaining book value rule is violated in derived deprec. area
SONDER_AFA_VERLETZT Positive/negative sign rule for spec.depreciation is violated.