ANEPI SAP (Interface Structure for Posting to Assets) Structure details
Description: Interface Structure for Posting to Assets
Structure field list including key, data, relationships and ABAP select examples
ANEPI is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Interface Structure for Posting to Assets" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_ANEPI TYPE ANEPI.
The ANEPI table consists of various fields, each holding specific information or linking keys about Interface Structure for Posting to Assets data available in SAP. These include MANDT (Client), BUKRS (Company Code), ANLN1 (Main Asset Number), ANLN2 (Asset Subnumber).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP ANEPI structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
LFDNR | Accounting Document Line Item Number | POSNR_ACC | NUMC | 10 | POSNR_ACC | ||||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | ANLH | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | ANLA | ALPHA | ANLN2 | AN2 | |
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
LNRAN | Sequence number of asset line items in fiscal year | LNRAN | NUMC | 5 | ANEK | LNRAN | |||
AFABE | Real depreciation area | AFABE_D | NUMC | 2 | T093 | AFABE | AFB | ||
ZUJHR | Asset acquisition year (currently not used) | DZUJHR | NUMC | 4 | GJAHR | GJAHR | |||
ZUCOD | Sub-classification of asset acquisitions(currently not used) | DZUCOD | NUMC | 4 | AZCOD | ||||
PERAF | Depreciation calculation period | PERAF | NUMC | 3 | PERAF | ||||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
BZDAT | Asset value date | BZDAT | DATS | 8 | DATUM | ||||
BWASL | Asset Transaction Type | BWASL | CHAR | 3 | TABW | BWASL | BWA | ||
XAFAR | Indicator: Errors in depreciation | XAFAR | NUMC | 1 | XAFAR | ||||
ANBTR | Amount posted | ANBTR | CURR | 13(2) | ANLKWERT | ||||
NAFAB | Ordinary depreciation on transactions | NAFAB | CURR | 13(2) | ANLKWERT | ||||
SAFAB | Special depreciation on transactions | SAFAB | CURR | 13(2) | ANLKWERT | ||||
ZINSB | Interest on transaction | DZINSB | CURR | 13(2) | ANLKWERT | ||||
XANTW | Indicator: Proportional values posted automatically | XANTW | CHAR | 1 | XFELD | ||||
XAWBT | Indicator: Different posting amount entered | XAWBT | CHAR | 1 | XFELD | ||||
LNSAN | Sequence number of reversed asset line items | LNSAN | NUMC | 5 | ANEK | LNRAN | |||
AUGLN | Current number of the clearing asset line item | AM_AUGLN | NUMC | 5 | Assigned to domain | LNRAN | |||
NAFAV | Proportional accumulated ordinary depreciation | NAFAV | CURR | 13(2) | ANLKWERT | ||||
SAFAV | Proportional cumulative special depreciation | SAFAV | CURR | 13(2) | ANLKWERT | ||||
AAFAV | Proportional cumulative unplanned depreciation | AAFAV | CURR | 13(2) | ANLKWERT | ||||
MAFAV | Proportional cumulative transfer of reserves | MAFAV | CURR | 13(2) | ANLKWERT | ||||
AUFNV | Proportional cum. revaluation on ordinary depreciation | AUFNV | CURR | 13(2) | ANLKWERT | ||||
AUFWV | Proportional cumulative revaluation on replacement value | AUFWV | CURR | 13(2) | ANLKWERT | ||||
INVZV | Proportional cumulative investment grants | INVZV | CURR | 13(2) | ANLKWERT | ||||
AUFWL | Proportional revaluation for the year on replacement value | AUFWL | CURR | 13(2) | ANLKWERT | ||||
INVZL | Proportional investment grant for the year | INVZL | CURR | 13(2) | ANLKWERT | ||||
NAFAL | Proportional ordinary depreciation for the year | NAFAL | CURR | 13(2) | ANLKWERT | ||||
SAFAL | Proportional special depreciation for the year | SAFAL | CURR | 13(2) | ANLKWERT | ||||
AAFAL | Proportional unplanned depreciation for the year | AAFAL | CURR | 13(2) | ANLKWERT | ||||
MAFAL | Proportional transfer of reserves for the year | MAFAL | CURR | 13(2) | ANLKWERT | ||||
AUFNL | Proportional revaluation of annual ordinary dep. | AUFNL | CURR | 13(2) | ANLKWERT | ||||
ERLBT | Revenue from asset sale | ERLBT | CURR | 13(2) | ANLKWERT | ||||
VERKO | Costs from asset retirement | VERKO_D | CURR | 13(2) | ANLKWERT | ||||
SANWV | Prop. statistical acquisition value retired | SANWV | CURR | 13(2) | ANLKWERT | ||||
MINERL | Loss from asset retirement | MINERL | CURR | 13(2) | ANLKWERT | ||||
MEHERL | Gain from asset retirement | MEHERL | CURR | 13(2) | ANLKWERT | ||||
GAFABER | Cross-system depreciation area | GLOBAFABER | CHAR | 2 | Assigned to domain | ALPHA | GLOAFABER | ||
TMETH | Transfer method | TMETH | CHAR | 2 | ALPHA | BEWMETH | |||
RBWRT | Net book value | RBWRT | CURR | 13(2) | ANLKWERT | ||||
RZBTR | Repayment amount resulting from retirement of inv. support | RZBTR | CURR | 13(2) | ANLKWERT | ||||
ACQ_DIFF | Capitalization difference | ACQ_DIFF | CURR | 13(2) | ANLKWERT | ||||
XAKZU | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
XIFREL | Indicator: Post gain/loss to asset | XIFREL | CHAR | 1 | XFELD | ||||
XERBW | Indicator: Determine revenue from net book value | XERBW | CHAR | 1 | XFELD | ||||
BBTRV | Base amount for distribution of revenue or retmt costs | BBTRV | CURR | 13(2) | ANLKWERT | ||||
PROZ_ERLBT | Percentage of retirement revenue | PROZ_ERLBT | DEC | 16(13) | DEC16_13 | ||||
PROZ_VERKO | Percentage of retirement costs | PROZ_VERKO | DEC | 16(13) | DEC16_13 | ||||
PROZ_ABGWE | Percentage for determining values at asset retirement | PROZ_ABGWE | DEC | 16(13) | DEC16_13 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
CURTP | Currency Type and Valuation View | CURTP | CHAR | 2 | CURTP | ||||
AFABG | Depreciation calculation start date | AFABG | DATS | 8 | DATUM | ||||
SAFBG | Start date for special depreciation | SAFBG | DATS | 8 | DATUM | ||||
AFASL | Depreciation key | AFASL | CHAR | 4 | Assigned to domain | AFASL | SH_AFASL | ||
NDJAR | Planned useful life in years | NDJAR | NUMC | 3 | JARAF | ||||
NDPER | Planned useful life in periods | NDPER | NUMC | 3 | PERAF | ||||
NDABJ | Expired useful life in years at start of the fiscal year | NDABJ | NUMC | 3 | JARAF | ||||
NDABP | Expired useful life in periods at start of fiscal year | NDABP | NUMC | 3 | PERAF | ||||
ANDSJ | Yrs Expired up to Fisc.Yr Start from Start of Spec.Dep. | ANDSJ | NUMC | 3 | JARAF | ||||
ANDSP | Expired useful life in periods during FY from SDep start dat | ANDSP | NUMC | 3 | PERAF | ||||
INVSL | Investment support key | INVSL | CHAR | 2 | Assigned to domain | INVSL |
Key field | Non-key field |
How do I retrieve data from SAP structure ANEPI using ABAP code?
As ANEPI is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ANEPI as there is no data to select.How to access SAP table ANEPI
Within an ECC or HANA version of SAP you can also view further information about ANEPI and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects