P_DeprTraceSegmentAmount
P_DeprTraceSegmentAmount is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (faat_dctr_segamt) and exposes 69 fields with key fields comp_code, asset_no, asset_subno, depr_area, fisc_year.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| faat_dctr_segamt | faat_dctr_segamt | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PDTSEGAMT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (69)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | comp_code | comp_code | Procuring Comp. Cde | |
| KEY | asset_no | asset_no | Asset | |
| KEY | asset_subno | asset_subno | Sub-number | |
| KEY | depr_area | depr_area | Deprec. Area | |
| KEY | fisc_year | fisc_year | Year | |
| KEY | amount_type | amount_type | Value Type | |
| KEY | curr_type | curr_type | Currency Type | |
| KEY | period_to | period_to | To Period | |
| currency | currency | Valuation Crcy | ||
| basevalue | basevalue | Base Value | ||
| baseval_prev | baseval_prev | BaseVal-PYA | ||
| percent_raw | percent_raw | Percent | ||
| amount | amount | Value Amount | ||
| amount_prev | amount_prev | Calc. Amt PY | ||
| minvalue | minvalue | Cutoff Value | ||
| cur_apc | cur_apc | Current Yr APC | ||
| cur_revl | cur_revl | CY Rev.Rep.Val. | ||
| cur_invs | cur_invs | CurrYrInv.Grant | ||
| cur_depr_o | cur_depr_o | Curr.Yr ODep. | ||
| cur_depr_s | cur_depr_s | Curr.Yr SDep. | ||
| cur_depr_u | cur_depr_u | CurrYr UDep. | ||
| cur_resv | cur_resv | CurrYr Reserves | ||
| cur_intr | cur_intr | Interest CY | ||
| cur_revl_d | cur_revl_d | CY Reval. ODep. | ||
| cur_downp | cur_downp | CurrYr Down Pmt | ||
| prev_cur_apc | prev_cur_apc | APC - CY Acq. | ||
| base_add | base_add | Add.Base Value | ||
| minval_prev | minval_prev | CutoffVal.PYA | ||
| netvalue | netvalue | Net Value | ||
| netval_prev | netval_prev | NBV - PYA | ||
| sum_apc | sum_apc | Total APC | ||
| sum_apc_prev | sum_apc_prev | Total APC - PYA | ||
| am_add | am_add | Add. Amt | ||
| am_add_prev | am_add_prev | Add. Amt PYA | ||
| sign | sign | Type of SIGN component in row type of a Ranges type | ||
| useful_life | useful_life | Useful Life | ||
| exp_life | exp_life | Exp.Useful Life | ||
| exp_life_new | exp_life_new | Exp.Life/Chngvr | ||
| exp_life_seg | exp_life_seg | Exp.Life/Seg. | ||
| peryear | peryear | Periods in FY | ||
| baseval_key | baseval_key | Base Value | ||
| base_add_key | base_add_key | Add.Base Value | ||
| baseval_max | baseval_max | Max.Base Val. | ||
| percent_key | percent_key | Calc. Method | ||
| percent_max | percent_max | Max. Percentage | ||
| percent_min | percent_min | Min.Perc. | ||
| amount_max | amount_max | Max.Amount | ||
| skip_amount | skip_amount | Skip Amount | ||
| check_amount | check_amount | Correct Amount | ||
| minval_memo | minval_memo | Memo Value | ||
| no_minval | no_minval | Below Zero | ||
| minval_key | minval_key | Cutoff Value | ||
| rounding_off | rounding_off | Do Not Round | ||
| use_days | use_days | Dep. to the Day | ||
| fyear_dt | fyear_dt | Fiscal Year | ||
| area_dt | area_dt | Deprec. Area | ||
| curr_type_dt | curr_type_dt | Currency Type | ||
| period_to_dt | period_to_dt | To Period | ||
| periods_dt | periods_dt | Periods | ||
| depr_key_dt | depr_key_dt | Dep. key | ||
| phase_dt | phase_dt | Phase | ||
| start_prd_dt | start_prd_dt | Start Period | ||
| start_yr_dt | start_yr_dt | Start Year | ||
| exp_life_dt | exp_life_dt | Exp.Useful Life | ||
| age_index_dt | age_index_dt | Aging Index | ||
| cap_date_dt | cap_date_dt | Activated On | ||
| has_tddp_dt | has_tddp_dt | Time-Dependent | ||
| use_days_dt | use_days_dt | Dep. to the Day | ||
| currency_dt | currency_dt | Currency |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_DeprTraceSegmentAmount.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PDTSEGAMT
CREATE VIEW P_DeprTraceSegmentAmount AS
SELECT
comp_code,
asset_no,
asset_subno,
depr_area,
fisc_year,
amount_type,
curr_type,
period_to,
currency,
basevalue,
baseval_prev,
percent_raw,
amount,
amount_prev,
minvalue,
cur_apc,
cur_revl,
cur_invs,
cur_depr_o,
cur_depr_s,
cur_depr_u,
cur_resv,
cur_intr,
cur_revl_d,
cur_downp,
prev_cur_apc,
base_add,
minval_prev,
netvalue,
netval_prev,
sum_apc,
sum_apc_prev,
am_add,
am_add_prev,
sign,
useful_life,
exp_life,
exp_life_new,
exp_life_seg,
peryear,
baseval_key,
base_add_key,
baseval_max,
percent_key,
percent_max,
percent_min,
amount_max,
skip_amount,
check_amount,
minval_memo,
no_minval,
minval_key,
rounding_off,
use_days,
fyear_dt,
area_dt,
curr_type_dt,
period_to_dt,
periods_dt,
depr_key_dt,
phase_dt,
start_prd_dt,
start_yr_dt,
exp_life_dt,
age_index_dt,
cap_date_dt,
has_tddp_dt,
use_days_dt,
currency_dt
FROM faat_dctr_segamt
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA