FAA_CompDrvdAreaSplitNum
Compare Derived Area Split Number
FAA_CompDrvdAreaSplitNum is a CDS View that provides data about "Compare Derived Area Split Number" in SAP S/4HANA. It reads from 6 data sources and exposes 29 fields with key fields bukrs, anln1, anln2, gjahr, awtyp.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | inner |
| acdoca | acdoca | inner |
| I_AssetValuationView | AssetValuationView | inner |
| I_DepreciationAreaForLedger | CalculatedDeprAreaForLedger | inner |
| faat_doc_it | doc_it | from |
| faagtt_plan_val | plan_values | union_all |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAAVPDASN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Compare Derived Area Split Number | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bukrs | faat_doc_it | bukrs | |
| KEY | anln1 | faat_doc_it | anln1 | |
| KEY | anln2 | faat_doc_it | anln2 | |
| KEY | gjahr | faat_doc_it | gjahr | |
| KEY | awtyp | faat_doc_it | awtyp | |
| KEY | awref | faat_doc_it | awref | |
| KEY | aworg | faat_doc_it | aworg | |
| KEY | awsys | faat_doc_it | awsys | |
| KEY | subta | faat_doc_it | subta | |
| KEY | afabe | faat_doc_it | afabe | |
| KEY | slalittype | faat_doc_it | slalittype | |
| KEY | drcrk | faat_doc_it | drcrk | |
| KEY | poper | |||
| KEY | source_table | Source table | ||
| bukrs | ||||
| KEY | anln1 | faagtt_plan_val | anln1 | |
| KEY | anln2 | faagtt_plan_val | anln2 | |
| KEY | gjahr | faagtt_plan_val | gjahr | |
| KEY | awtyp | |||
| KEY | awref | |||
| KEY | aworg | |||
| KEY | awsys | |||
| KEY | subta | |||
| KEY | afabe | faagtt_plan_val | afabe | |
| KEY | slalittype | faagtt_plan_val | slalittype | |
| KEY | drcrk | |||
| KEY | poper | faagtt_plan_val | poper | |
| KEY | source_table | Source table | ||
| counter |
@AbapCatalog.sqlViewName: 'FAAVPDASN'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Compare Derived Area Split Number'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XXL
define view FAA_CompDrvdAreaSplitNum
as select from faat_doc_it as doc_it
inner join I_DepreciationAreaForLedger as CalculatedDeprAreaForLedger on doc_it.bukrs = CalculatedDeprAreaForLedger.CompanyCode
and doc_it.afabe = CalculatedDeprAreaForLedger.AssetDepreciationArea
inner join I_AssetValuationView as AssetValuationView on CalculatedDeprAreaForLedger.AssetValuationView = AssetValuationView.AssetValuationView
and AssetValuationView.AssetValuationViewType = 'C01'
inner join acdoca as acdoca on doc_it.bukrs = acdoca.rbukrs
and doc_it.anln1 = acdoca.anln1
and doc_it.anln2 = acdoca.anln2
and doc_it.gjahr = acdoca.gjahr
and doc_it.awtyp = acdoca.awtyp
and doc_it.awref = acdoca.awref
and doc_it.aworg = acdoca.aworg
and doc_it.awsys = acdoca.awsys
and doc_it.subta = acdoca.subta
and doc_it.afabe = acdoca.afabe
and doc_it.slalittype = acdoca.slalittype
//and doc_it.drcrk = acdoca.drcrk
{
key doc_it.bukrs,
key doc_it.anln1,
key doc_it.anln2,
key doc_it.gjahr,
key doc_it.awtyp,
key doc_it.awref,
key doc_it.aworg,
key doc_it.awsys,
key doc_it.subta,
key doc_it.afabe,
key doc_it.slalittype,
key doc_it.drcrk,
key cast( '000' as poper preserving type ) as poper,
@EndUserText.label: 'Source table'
@EndUserText.quickInfo: 'Source table'
key cast( 'DOC_IT ' as char20 preserving type ) as source_table,
cast( count( * ) as int4 preserving type ) as counter
}
group by
doc_it.bukrs,
doc_it.anln1,
doc_it.anln2,
doc_it.gjahr,
doc_it.awtyp,
doc_it.awref,
doc_it.aworg,
doc_it.awsys,
doc_it.subta,
doc_it.afabe,
doc_it.slalittype,
doc_it.drcrk
union all select from faagtt_plan_val as plan_values
inner join acdoca as acdoca on plan_values.bukrs = acdoca.rbukrs
and plan_values.anln1 = acdoca.anln1
and plan_values.anln2 = acdoca.anln2
and plan_values.gjahr = acdoca.gjahr
and plan_values.afabe = acdoca.afabe
and plan_values.poper = acdoca.depr_period
and plan_values.slalittype = acdoca.slalittype
{
key plan_values.bukrs,
key plan_values.anln1,
key plan_values.anln2,
key plan_values.gjahr,
key cast( ' ' as awtyp preserving type ) as awtyp,
key cast( ' ' as awref preserving type ) as awref,
key cast( ' ' as aworg preserving type ) as aworg,
key cast( ' ' as awsys preserving type ) as awsys,
key cast( '000000' as fins_subta preserving type ) as subta,
key plan_values.afabe,
key plan_values.slalittype,
key cast( ' ' as shkzg preserving type ) as drcrk,
key plan_values.poper,
@EndUserText.label: 'Source table'
@EndUserText.quickInfo: 'Source table'
key cast( 'PLAN_VALUES ' as char20 preserving type ) as source_table,
cast( count( * ) as int4 preserving type ) as counter
}
group by
plan_values.bukrs,
plan_values.anln1,
plan_values.anln2,
plan_values.gjahr,
plan_values.afabe,
plan_values.slalittype,
plan_values.poper
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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