BAPI1022_DEP_AREAS SAP (Depreciation areas (all logical field groups)) Structure details
Description: Depreciation areas (all logical field groups)
Related tables to BAPI1022_DEP_AREAS
Access table BAPI1022_DEP_AREAS
Structure field list including key, data, relationships and ABAP select examples
BAPI1022_DEP_AREAS 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 "Depreciation areas (all logical field groups)" 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_BAPI1022_DEP_AREAS TYPE BAPI1022_DEP_AREAS.
The BAPI1022_DEP_AREAS table consists of various fields, each holding specific information or linking keys about Depreciation areas (all logical field groups) data available in SAP. These include DESCRIPT (Short name for depreciation area), DEACTIVATE (Indicator: Depreciation area is deactivated), DEP_KEY (Depreciation key), ULIFE_YRS (Planned useful life in years).. 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: Cannot Be Enhanced
SAP BAPI1022_DEP_AREAS 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 |
AREA | Real depreciation area | BF_AFABE_D | NUMC | 2 | BF_AFABE | AFB | |||
DESCRIPT | Short name for depreciation area | AFBKTX | CHAR | 12 | TEXT12 | ||||
DEACTIVATE | Indicator: Depreciation area is deactivated | BF_XAFBE | CHAR | 1 | BF_XFELD | ||||
DEP_KEY | Depreciation key | BF_AFASL | CHAR | 4 | BF_AFASL | ||||
ULIFE_YRS | Planned useful life in years | BF_NDJAR | NUMC | 3 | BF_JARAF | ||||
ULIFE_PRDS | Planned useful life in periods | BF_NDPER | NUMC | 3 | BF_PERAF | ||||
EXP_ULIFE_YRS | Expired useful life in years at start of the fiscal year | BF_NDABJ | NUMC | 3 | BF_JARAF | ||||
EXP_ULIFE_PRDS | Expired useful life in periods at start of fiscal year | BF_NDABP | NUMC | 3 | BF_PERAF | ||||
EXP_ULIFE_SDEP_YRS | Yrs Expired up to Fisc.Yr Start from Start of Spec.Dep. | BF_ANDSJ | NUMC | 3 | BF_JARAF | ||||
EXP_ULIFE_SDEP_PRDS | Expired useful life in periods during FY from SDep start dat | BF_ANDSP | NUMC | 3 | BF_PERAF | ||||
ORIG_ULIFE_YRS | Original useful life in years | BF_NDURJ | NUMC | 3 | BF_JARAF | ||||
ORIG_ULIFE_PRDS | Original useful life in periods | BF_NDURP | NUMC | 3 | BF_PERAF | ||||
CHANGE_YR | Depreciation key for the changeover year | BF_UMJAR | NUMC | 4 | GJAHR | GJAHR | |||
DEP_UNITS | Number of units depreciated in unit-of-prod. depreciation | RSTCK | DEC | 15 | PACK8 | ||||
ODEP_START_DATE | Depreciation calculation start date | BF_AFABG | DATS | 8 | DATUM | ||||
SDEP_START_DATE | Start date for special depreciation | BF_SAFBG | DATS | 8 | DATUM | ||||
INTEREST_START_DATE | Start date for interest calculation | BF_ZINBG | DATS | 8 | DATUM | ||||
READINESS | Asset Accounting: Date of operating readiness | BF_INBDA | DATS | 8 | DATUM | ||||
INDEX | Index series for replacement values | BF_WBIND | CHAR | 5 | BF_WBIND | ||||
AGE_INDEX | Index series for replacement values by age | BF_ALIND | CHAR | 5 | BF_WBIND | ||||
VAR_DEP_PORTION | Variable depreciation portion | BF_APROP | DEC | 7(4) | DEC3_4 | ||||
SCRAPVALUE | Asset scrap value | BF_SCHRW | DEC | 23(4) | BAPICURR | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
CURRENCY_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
NEG_VALUES | Indicator: Negative values allowed | BF_XNEGA | CHAR | 1 | BF_XFELD | ||||
GRP_ASSET | Group asset | BF_ANLGR | CHAR | 12 | ALPHA | BF_ANLN1 | AN1 | ||
GRP_ASSET_SUBNO | Subnumber of group asset | BF_ANLGR2 | CHAR | 4 | ALPHA | BF_ANLN2 | |||
ACQ_YR | Acquisition year of the asset (manually changeable) | BF_VYEAR | NUMC | 4 | GJAHR | GJAHR | |||
ACQ_PRD | Asset Accounting: Acquis. month (in depreciation area) | BF_VMNTH | NUMC | 3 | POPER | ||||
SCRAPVALUE_PRCTG | Scrap Value as Percentage of APC | SCHRW_PROZ | DEC | 14(11) | |||||
FROM_DATE | Date for beginning of validity | BF_ADATU | DATS | 8 | DATUM | ADT | |||
TO_DATE | Date validity ends | BF_BDATU | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI1022_DEP_AREAS using ABAP code?
As BAPI1022_DEP_AREAS 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 BAPI1022_DEP_AREAS as there is no data to select.How to access SAP table BAPI1022_DEP_AREAS
Within an ECC or HANA version of SAP you can also view further information about BAPI1022_DEP_AREAS 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