I_FixedAssetCountryData

DDL: I_FIXEDASSETCOUNTRYDATA Type: view BASIC Package: FINS_FIS_AA_MD

Country/Region Specific Fixed Asset

I_FixedAssetCountryData is a Basic CDS View (Dimension) that provides data about "Country/Region Specific Fixed Asset" in SAP S/4HANA. It reads from 1 data source (glo_faat_md) and exposes 53 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset. It has 4 associations to related views. Part of development package FINS_FIS_AA_MD.

Data Sources (1)

SourceAliasJoin Type
glo_faat_md glo_faat_md from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IFIASTCNTRYDATA view
AbapCatalog.preserveKey true view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
EndUserText.label Country/Region Specific Fixed Asset view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey FixedAsset view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.sapObjectNodeType.name FixedAsset view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode glo_faat_md comp_code
KEY MasterFixedAsset glo_faat_md asset_no
KEY FixedAsset glo_faat_md asset_subno
NationalClassification glo_faat_md glo_natl_clfn_code
TaxDepreciationGroup glo_faat_md glo_tax_depr_grp
RU_LongSerialNumber glo_faat_md glo_rus_sernr
RU_WorkwearMaterial glo_faat_md glo_rus_matnr
RU_RetiredMasterFixedAsset glo_faat_md glo_rus_ret_asset_num
RU_RetiredFixedAsset glo_faat_md glo_rus_ret_asset_sub
RU_ProdTraceabilityStartDate glo_faat_md glo_rus_trc_begd
RU_ProdTraceabilityEndDate glo_faat_md glo_rus_trc_endd
RU_AssetTNVED glo_faat_md glo_rus_trc_tnved
RU_AssetTransportType glo_faat_md glo_rus_ttx_type
RU_VehicleIdNumber glo_faat_md glo_rus_ttx_vin
RU_ManufacturingDate glo_faat_md glo_rus_ttx_mnfd
RU_VehicleEcologicalClass glo_faat_md glo_rus_eco_cls
RU_PropertyAddress glo_faat_md glo_rus_prt_addr
RU_PropertyOwnershipRegnDate
RU_PropertyOwnershipTermnDate
JP_Annex16AssetStructure glo_faat_md glo_jp_ax16_strc
JP_Annex16AssetItem glo_faat_md glo_jp_ax16_item
JP_Annex16LeasingAgrmtDate glo_faat_md glo_jp_ax16_lease_agreement_da
JP_PrptyTxRptCity glo_faat_md glo_jp_ptx_city_code
JP_PrptyTxRptClassfctnKey glo_faat_md glo_jp_ptx_classification_key
JP_PrptyTxRptSpclDepr glo_faat_md glo_jp_ptx_special_dep_code
JP_PrptyTxRptAddlDepr
IN_AssetBlock glo_faat_md glo_in_blk_key
IN_AssetPutToUseDate glo_faat_md glo_in_ast_use
IN_AdditionalAssetBlock glo_faat_md glo_in_adnlblk
IN_AssetIsResearchAndDev glo_faat_md glo_in_r_d_asset
IN_AssetIsPriorYear glo_faat_md glo_in_prior_yr
PT_VehicleTypeByEnergy glo_faat_md glo_pt_vehicletype
PT_VehicleIsWithoutLimit glo_faat_md glo_pt_isvehiclewolimit
PT_BigRepairAssetLink glo_faat_md glo_pt_repairassetlink
PT_LandAssetLink glo_faat_md glo_pt_landassetlink
PT_AssetReportFormCategory glo_faat_md glo_pt_assetrepformcat
PT_AmortizedAssetIsReevaluated glo_faat_md glo_pt_isamassetreval
IL_InvmtCtrInternalCode glo_faat_md glo_il_internal_code
IL_InvmtCtrApprovalDocNmbr glo_faat_md glo_il_approval_number
IL_InvmtCtrApprovalVersion glo_faat_md glo_il_approval_version
IL_InvmtCtrBogusAssetNumber glo_faat_md glo_il_bogus_anln1
IL_InvmtCtrAssetVersion glo_faat_md glo_il_asset_version
RS_GroupDeprExclusionYear glo_faat_md glo_rs_exclusion_year
RS_AssetLastInvoiceDate glo_faat_md glo_rs_last_invoice_date
PL_AcquisitionProductionDate glo_faat_md glo_pl_acqn_prodn_date
PL_AcquisitionDocumentType glo_faat_md glo_pl_acqn_doc_type
PL_AcquisitionFormNumber glo_faat_md glo_pl_acqn_form_nmbr
PL_AssetTaxGroup glo_faat_md glo_pl_ast_tax_group
Country t001 land1
_CompanyCode _CompanyCode
_Country _Country
_FixedAsset _FixedAsset
_MasterFixedAsset _MasterFixedAsset
@AbapCatalog: {sqlViewName:'IFIASTCNTRYDATA', preserveKey: true}
@Analytics: { dataCategory: #DIMENSION,
              dataExtraction: {
                  enabled: true,
                  delta.changeDataCapture: {
                      mapping:[
                          { table: 'glo_faat_md', role: #MAIN,
                            viewElement: ['CompanyCode', 'MasterFixedAsset','FixedAsset'],
                            tableElement: ['comp_code', 'asset_no','asset_subno']
                          },
                          { table: 't001', role: #LEFT_OUTER_TO_ONE_JOIN,
                            viewElement: ['CompanyCode'],
                            tableElement: ['bukrs']
                          }]
                        }
                    }
                 }
@EndUserText.label: 'Country/Region Specific Fixed Asset'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@ObjectModel: { representativeKey: 'FixedAsset',
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #L,
                usageType.dataClass: #MASTER }
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE]
@Metadata:{ignorePropagatedAnnotations: true, allowExtensions:true}
@ObjectModel.sapObjectNodeType.name: 'FixedAsset'

define view I_FixedAssetCountryData

  as select from glo_faat_md
    left outer to one join t001                                 on t001.bukrs = glo_faat_md.comp_code
  //Association with Asset Master Reference

  association [1..1] to I_FixedAsset       as _FixedAsset       on  $projection.CompanyCode      = _FixedAsset.CompanyCode
                                                                and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
                                                                and $projection.FixedAsset       = _FixedAsset.FixedAsset

  association [0..1] to I_CompanyCode      as _CompanyCode      on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_Country          as _Country          on  $projection.Country = _Country.Country
  association [0..1] to I_MasterFixedAsset as _MasterFixedAsset on  $projection.CompanyCode      = _MasterFixedAsset.CompanyCode
                                                                and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
{
      //Key fields

      @ObjectModel.foreignKey.association: '_CompanyCode'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
  key glo_faat_md.comp_code as CompanyCode,
      @ObjectModel.foreignKey.association: '_MasterFixedAsset'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_MasterFixedAssetStdVH', element: 'MasterFixedAsset' },
                                            additionalBinding:  [ { localElement: 'CompanyCode', element:'CompanyCode' } ]
                                        } ]
  key glo_faat_md.asset_no as MasterFixedAsset,
  key glo_faat_md.asset_subno as FixedAsset,

      //National Classification

      glo_faat_md.glo_natl_clfn_code as NationalClassification,
      glo_faat_md.glo_tax_depr_grp as TaxDepreciationGroup,

      //RU General Data

      glo_faat_md.glo_rus_sernr as RU_LongSerialNumber,
      glo_faat_md.glo_rus_matnr as RU_WorkwearMaterial,
      glo_faat_md.glo_rus_ret_asset_num as RU_RetiredMasterFixedAsset,
      glo_faat_md.glo_rus_ret_asset_sub as RU_RetiredFixedAsset,
    //RU Traceability

      glo_faat_md.glo_rus_trc_begd as RU_ProdTraceabilityStartDate,
      glo_faat_md.glo_rus_trc_endd as RU_ProdTraceabilityEndDate,  
      glo_faat_md.glo_rus_trc_tnved as RU_AssetTNVED,      
      //RU Transport Tax

      glo_faat_md.glo_rus_ttx_type as RU_AssetTransportType,
      glo_faat_md.glo_rus_ttx_vin as RU_VehicleIdNumber,
      glo_faat_md.glo_rus_ttx_mnfd as RU_ManufacturingDate,
      glo_faat_md.glo_rus_eco_cls as RU_VehicleEcologicalClass,
      glo_faat_md.glo_rus_prt_addr as RU_PropertyAddress,
      cast(glo_faat_md.glo_rus_prt_owrd as firu_real_estate_own_regn_date) as RU_PropertyOwnershipRegnDate,
      cast(glo_faat_md.glo_rus_prt_owtd as firu_real_estate_own_term_date) as RU_PropertyOwnershipTermnDate,

      //JP specific fields for Property Tax Report and Annex-16 Report

      glo_faat_md.glo_jp_ax16_strc as JP_Annex16AssetStructure,
      glo_faat_md.glo_jp_ax16_item as JP_Annex16AssetItem,
      glo_faat_md.glo_jp_ax16_lease_agreement_da as JP_Annex16LeasingAgrmtDate,
      glo_faat_md.glo_jp_ptx_city_code as JP_PrptyTxRptCity,
      glo_faat_md.glo_jp_ptx_classification_key as JP_PrptyTxRptClassfctnKey,
      glo_faat_md.glo_jp_ptx_special_dep_code as JP_PrptyTxRptSpclDepr,
      cast(glo_faat_md.glo_jp_ptx_additional_depr_cod as glo_jp_propt_prdcd) as JP_PrptyTxRptAddlDepr,

      //IN specific fields

      glo_faat_md.glo_in_blk_key as IN_AssetBlock,
      glo_faat_md.glo_in_ast_use as IN_AssetPutToUseDate,
      glo_faat_md.glo_in_adnlblk as IN_AdditionalAssetBlock,
      glo_faat_md.glo_in_r_d_asset as IN_AssetIsResearchAndDev,
      glo_faat_md.glo_in_prior_yr as IN_AssetIsPriorYear,

      //PT specific fields for Fiscal Maps

      glo_faat_md.glo_pt_vehicletype as PT_VehicleTypeByEnergy,
      glo_faat_md.glo_pt_isvehiclewolimit as PT_VehicleIsWithoutLimit,
      glo_faat_md.glo_pt_repairassetlink as PT_BigRepairAssetLink,
      glo_faat_md.glo_pt_landassetlink as PT_LandAssetLink,
      glo_faat_md.glo_pt_assetrepformcat as PT_AssetReportFormCategory,
      glo_faat_md.glo_pt_isamassetreval as PT_AmortizedAssetIsReevaluated,

      //IL Investment center

      glo_faat_md.glo_il_internal_code as IL_InvmtCtrInternalCode,
      glo_faat_md.glo_il_approval_number as IL_InvmtCtrApprovalDocNmbr,
      glo_faat_md.glo_il_approval_version as IL_InvmtCtrApprovalVersion,
      glo_faat_md.glo_il_bogus_anln1 as IL_InvmtCtrBogusAssetNumber,
      glo_faat_md.glo_il_asset_version as IL_InvmtCtrAssetVersion,
      
      //RS specific fields in new asset master

      glo_faat_md.glo_rs_exclusion_year as RS_GroupDeprExclusionYear,
      glo_faat_md.glo_rs_last_invoice_date as RS_AssetLastInvoiceDate,
      
      //PL specific fields in new asset master

      glo_faat_md.glo_pl_acqn_prodn_date   as PL_AcquisitionProductionDate,
      glo_faat_md.glo_pl_acqn_doc_type     as PL_AcquisitionDocumentType,
      glo_faat_md.glo_pl_acqn_form_nmbr    as PL_AcquisitionFormNumber,
      glo_faat_md.glo_pl_ast_tax_group     as PL_AssetTaxGroup,
      
      @ObjectModel.foreignKey.association: '_Country'
      t001.land1 as Country,

      // Define association to parent

      @ObjectModel.association.type: [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _CompanyCode,
      _Country,
      _FixedAsset,
      _MasterFixedAsset
}