R_FXDASTCOCODEDEPRAREATP

CDS View

Fixed Asset Company Code Area

R_FXDASTCOCODEDEPRAREATP is a CDS View in S/4HANA. Fixed Asset Company Code Area. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_FxdAstCoCodeDeprAreaTP view_entity projection CONSUMPTION Fixed Asset Company Code Area
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Fixed Asset Company Code Area'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
  usageType: {
        serviceQuality: #C,
        sizeCategory: #L,
        dataClass: #TRANSACTIONAL
    }
 }
define view entity R_FxdAstCoCodeDeprAreaTP as select from I_FxdAstCoCodeDeprArea
association to parent R_FxdAstCoCodeLdgrTP as _Ledger on $projection.CompanyCode = _Ledger.CompanyCode
                                                     and $projection.Ledger  = _Ledger.Ledger
association[1..1] to R_FxdAstCoCodeTP as _Root on $projection.CompanyCode = _Root.CompanyCode

association [0..1] to I_DeprAreaForLedgerText as _Text            on $projection.Ledger             = _Text.Ledger
                                                                  and $projection.CompanyCode          = _Text.CompanyCode
                                                                  and $projection.AssetDepreciationArea          = _Text.AssetDepreciationArea
                                                                  and _Text.Language                = $session.system_language
//association[0..1] to I_FiscalYearPeriod as _LastDay on $projection.fiscalyearvariant = _LastDay.FiscalYearVariant

//                                                      and $projection.AssetAcctgLastClosedFiscalYear = _LastDay.FiscalYear

//                                                      and $projection.postingperiodsnumberval = _LastDay.FiscalPeriod

{
  key CompanyCode,
  key Ledger,
//  @ObjectModel.text.element: ['AssetDepreciationAreaShortName']

  key AssetDepreciationArea,
  @EndUserText.label: 'Closed Fiscal Year'
  AssetAcctgLastClosedFiscalYear,
//  _Ledger.FiscalYearVariant,

//  _Ledger._CompanyCode._FiscalYearVariant.PostingPeriodsNumberVal,

  
  //Associations

  _Ledger,
  _Root,
  _Text
//  _LastDay

}