I_FixedAsset
Fixed Asset
I_FixedAsset (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.
Fixed Asset · Accounting and Financial Close
I_FixedAsset is a Basic CDS View (Dimension) that provides data about "Fixed Asset" in SAP S/4HANA. It reads from 1 data source (faat_md_root) and exposes 136 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset. It has 34 associations to related views. Part of development package FINS_FIS_AA_MD.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-AA-ANA-2CL |
| Capabilities | Data Source for Data Extraction,Analytical Dimension,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select |
| Extensible (Key User) | Yes |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides access to the master data of a fixed asset. The attributes of the fixed asset business entity include the company code, asset, and asset subnumber, as well as the asset class and the supplier.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are my fixed assets?</p></li> <li><p>What are my fixed assets of a certain asset class?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| faat_md_root | root | from |
Associations (34)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_FixedAssetAssgmt | _FixedAssetAssgmt | $projection.CompanyCode = _FixedAssetAssgmt.CompanyCode and $projection.MasterFixedAsset = _FixedAssetAssgmt.MasterFixedAsset and $projection.FixedAsset = _FixedAssetAssgmt.FixedAsset |
| [0..*] | I_FixedAssetDeprArea | _FixedAssetDeprArea | $projection.CompanyCode = _FixedAssetDeprArea.CompanyCode and $projection.MasterFixedAsset = _FixedAssetDeprArea.MasterFixedAsset and $projection.FixedAsset = _FixedAssetDeprArea.FixedAsset |
| [0..*] | I_AssetValuationForLedger | _AssetValuationForLedger | $projection.CompanyCode = _AssetValuationForLedger.CompanyCode and $projection.MasterFixedAsset = _AssetValuationForLedger.MasterFixedAsset and $projection.FixedAsset = _AssetValuationForLedger.FixedAsset |
| [0..*] | I_FixedAssetForLedger | _FixedAssetForLedger | $projection.CompanyCode = _FixedAssetForLedger.CompanyCode and $projection.MasterFixedAsset = _FixedAssetForLedger.MasterFixedAsset and $projection.FixedAsset = _FixedAssetForLedger.FixedAsset |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_MasterFixedAsset | _MasterFixedAsset | $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset |
| [0..1] | I_AssetClass | _AssetClass | $projection.AssetClass = _AssetClass.AssetClass |
| [0..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..1] | I_Globalcompany | _PartnerCompany | $projection.PartnerCompany = _PartnerCompany.Company |
| [0..1] | I_AssetAcctDetermination | _AssetAccountDetermination | $projection.AssetAccountDetermination = _AssetAccountDetermination.AssetAccountDetermination |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_Country | _AssetCountryOfOrigin | $projection.AssetCountryOfOrigin = _AssetCountryOfOrigin.Country |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.BaseUnit = _UnitOfMeasure.UnitOfMeasure |
| [0..1] | I_Group1AssetEvaluationKey | _Group1AssetEvaluationKey | $projection.Group1AssetEvaluationKey = _Group1AssetEvaluationKey.Group1AssetEvaluationKey |
| [0..1] | I_Group2AssetEvaluationKey | _Group2AssetEvaluationKey | $projection.Group2AssetEvaluationKey = _Group2AssetEvaluationKey.Group2AssetEvaluationKey |
| [0..1] | I_Group3AssetEvaluationKey | _Group3AssetEvaluationKey | $projection.Group3AssetEvaluationKey = _Group3AssetEvaluationKey.Group3AssetEvaluationKey |
| [0..1] | I_Group4AssetEvaluationKey | _Group4AssetEvaluationKey | $projection.Group4AssetEvaluationKey = _Group4AssetEvaluationKey.Group4AssetEvaluationKey |
| [0..1] | I_Group5AssetEvaluationKey | _Group5AssetEvaluationKey | $projection.Group5AssetEvaluationKey = _Group5AssetEvaluationKey.Group5AssetEvaluationKey |
| [0..1] | I_InvestmentReason | _InvestmentReason | $projection.InvestmentReason = _InvestmentReason.InvestmentReason |
| [0..1] | I_EnvrnmtlInvestmentReason | _EnvrnmtlInvestmentReason | $projection.EnvrnmtlInvestmentReason = _EnvrnmtlInvestmentReason.EnvrnmtlInvestmentReason |
| [0..1] | I_FixedAssetFinDataCmpltns | _FixedAssetFinDataCmpltns | $projection.FixedAssetFinDataCmpltns = _FixedAssetFinDataCmpltns.FixedAssetFinDataCmpltns |
| [0..1] | I_FixedAssetPropertyType | _FixedAssetPropertyType | $projection.FixedAssetPropertyType = _FixedAssetPropertyType.FixedAssetPropertyType |
| [0..1] | I_ManualDepreciationReason | _ManualDepreciationReason | $projection.ManualDepreciationReason = _ManualDepreciationReason.ManualDepreciationReason |
| [0..1] | I_FixedAssetGroup | _FixedAssetGroup | $projection.FixedAssetGroup = _FixedAssetGroup.FixedAssetGroup |
| [0..1] | I_InternalOrder | _InvestmentOrder | $projection.InvestmentOrder = _InvestmentOrder.InternalOrder |
| [0..1] | I_WBSElementBasicData | _InvestmentWBSElement | $projection.InvestmentProjectWBSElement_2 = _InvestmentWBSElement.WBSElementInternalID |
| [0..1] | I_AssetLifecycleStatus | _AssetLifecycleStatus | $projection.AssetLifecycleStatus = _AssetLifecycleStatus.AssetLifecycleStatus |
| [0..1] | I_AssetCompletenessStatus | _AssetCompletenessStatus | $projection.AssetCompletenessStatus = _AssetCompletenessStatus.AssetCompletenessStatus |
| [0..1] | I_AssetUnderConstructionStatus | _AssetUnderConstructionStatus | $projection.AssetUnderConstructionStatus = _AssetUnderConstructionStatus.AssetUnderConstructionStatus |
| [0..1] | I_AssetStatusAtPurchase | _AssetStatusAtPurchase | $projection.AssetStatusAtPurchase = _AssetStatusAtPurchase.AssetStatusAtPurchase |
| [0..1] | I_FixedAssetCountryData | _FixedAssetCountryData | $projection.CompanyCode = _FixedAssetCountryData.CompanyCode and $projection.MasterFixedAsset = _FixedAssetCountryData.MasterFixedAsset and $projection.FixedAsset = _FixedAssetCountryData.FixedAsset |
| [0..*] | I_GlobAssetAssignment | _GlobAssetAssignment | $projection.CompanyCode = _GlobAssetAssignment.CompanyCode and $projection.MasterFixedAsset = _GlobAssetAssignment.MasterFixedAsset and $projection.FixedAsset = _GlobAssetAssignment.FixedAsset |
| [0..1] | I_Currency | _OriginalAcquisitionCurrency | $projection.OriginalAcquisitionCurrency = _OriginalAcquisitionCurrency.Currency |
| [1..1] | E_FixedAsset | _Extension | $projection.MasterFixedAsset = _Extension.MasterFixedAsset and $projection.FixedAsset = _Extension.FixedAsset and $projection.CompanyCode = _Extension.CompanyCode |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.technicalName | IFIXASSET | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| EndUserText.label | Fixed Asset | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.sapObjectNodeType.name | FixedAsset | view | |
| ObjectModel.representativeKey | FixedAsset | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (136)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | faat_md_root | comp_code | Procuring Comp. Cde |
| KEY | MasterFixedAsset | faat_md_root | asset_no | Main Asset Number |
| KEY | FixedAsset | faat_md_root | asset_subno | Asset Subnumber |
| AssetClass | main | asset_class | Asset Class | |
| AssetSerialNumber | main | serial_number | Serial Number of Proposal Descriptions | |
| Quantity | Quantity | |||
| BaseUnit | main | base_unit | Base Unit of Measure | |
| Inventory | main | inventory_number | Inventory Number | |
| FixedAssetDescription | main | description | Asset Description | |
| AssetAdditionalDescription | main | add_description | Additional asset description | |
| Currency | t001 | waers | Transaction Currency | |
| OriglAcqnAmtInCoCodeCrcy | Original Acquisition Value | |||
| PartnerCompany | main | trade_id | Company ID of Trading Partner | |
| AssetManufacturerName | main | manufacturer | Manufacturer of Asset | |
| InHouseProdnPercent | main | inhouse_prod_percent | In-House Production Percentage | |
| AssetSupplierName | Name of Asset Supplier | |||
| InventoryNote | main | inventory_note | Supplementary Inventory Specifications | |
| Group1AssetEvaluationKey | Evaluation Group 1 | |||
| Group2AssetEvaluationKey | Evaluation Group 2 | |||
| Group3AssetEvaluationKey | Evaluation Group 3 | |||
| Group4AssetEvaluationKey | Evaluation Group 4 | |||
| Group5AssetEvaluationKey | Evaluation Group 5 | |||
| AssetAccountDetermination | main | gl_account_det | Account Determination | |
| HasHistory | Indicator: Historical Management | |||
| AssetCapitalizationDate | Asset Capitalization Date | |||
| FirstAcquisitionFiscalYear | Fiscal Year in Which First Acquisition Was Posted | |||
| FirstAcquisitionFiscalPeriod | Period in Which First Acquisition Was Posted | |||
| AssetDeactivationDate | Deactivation Date | |||
| PlannedRetirementDate | Planned Retirement Date | |||
| FixedAssetOrderDate | main | purchase_order_date | Asset Purchase Order Date | |
| OriginalMasterFixedAsset | main | original_asset | Original Asset That Was Transferred | |
| FixedAssetGroup | main | asset_super_no | Asset Super Number | |
| InvestmentReason | main | invest_reason | Reason for Investment | |
| AssetIsRealEstate | main | real_estate_asset | Connection to SAP Real Estate Management | |
| AreaSizeUnit | main | surface_area_unit | Area Unit | |
| InvestmentOrder | main | investment_io_origin | Investment Order | |
| InvestmentProjectWBSElement_2 | Asset WBS Element (Internal ID) | |||
| InvestmentProjectWBSElement | main | investment_wbs_origin | WBS Element of Investment Project | |
| InventoryIsCounted | main | inventory_indicator | Inventory Indicator | |
| LastInventoryDate | main | inventory_date | Last Inventory Date | |
| AssetSynchronizationRule | Change Asset Master Record from Equipment Master | |||
| OriginalAcquisitionFiscalYear | main | original_acq_year | Fiscal Year of Original Acquisition | |
| AssetTypeName | main | asset_type_name | Asset type name | |
| Supplier | main | supplier_no | Account Number of Supplier (Other Key Word) | |
| AssetCountryOfOrigin | main | origin_country | Asset's Country/Region of Origin | |
| NoticeOfAssessmentTaxID | main | assessment_tax_number | Tax Number of the Notice of Assessment | |
| LastAssessmentNoticeDate | main | assessment_date | Date of Last Notice of Assessment | |
| EnvrnmtlInvestmentReason | main | environmental_investment | Reason for Environmental Investment | |
| FixedAssetFinDataCmpltns | Completeness indicator for the asset | |||
| AccountIsBlockedForPosting | Indicator: Asset Locked to Acquisition Postings | |||
| AcquisitionValueDate | Asset Value Date of the First Posting | |||
| OriginalFixedAssetValueDate | main | original_acq_date | Original Acquisition Date of AuC/ Transferred Asset | |
| LastRetirementValueDate | Asset Value Date for the Last Retirement | |||
| LastChangedByUser | main | lastchange_user | Name of Person Who Changed Object | |
| FixedAssetPropertyType | main | property_ind | Property Indicator | |
| CreationDate | Record Creation Date | |||
| CreatedByUser | main | creation_user | Name of Person Responsible for Creating the Object | |
| ManualDepreciationReason | Reason for Manual Valuation of Net Assets | |||
| LastReorganizationDate | main | last_reorg_date | Date of Last Reorganization | |
| LegacyDataTransferDate | main | legacy_transfer_date | Legacy Data Transfer Date | |
| IsGroupAsset | Indicator: Asset is a Group Asset | |||
| OriginalFixedAsset | main | original_subasset | Original Asset That Was Transferred | |
| MasterFixedAssetSearchTerm | Search term for matchcode search | |||
| AssetIsAcquiredUsed | main | asset_acquired_used | Asset Acquired Used | |
| IsMainAsset | faat_md_root | is_main_asset | Indicator for Main Asset | |
| AssetLifecycleStatus | faat_md_root | lifecycle_status | Lifecycle Status | |
| AssetCompletenessStatus | faat_md_root | completeness_status | Completeness Status | |
| AssetUnderConstructionStatus | faat_md_root | auc_status | Asset Under Construction Status | |
| AssetCreationValidityDate | faat_md_root | validity_date | Validity Date from Asset Class | |
| CreationDateTime | main | creation_datetime | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| LastChangeDateTime | main | lastchange_datetime | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| AssetScreenLayout | main | screen_layout | Layout for Asset Master Data | |
| OriginalAcquisitionAmount | main | original_acq_value | Original Acquisition Value | |
| OriginalAcquisitionCurrency | main | original_acq_value_curr | Original Acquisition Value Currency | |
| PropertyClass | main | property_key | Property Classification Key | |
| LocalTaxOffice | main | land_tax_office | Local Tax Office | |
| Municipality | main | land_municipality | Municipality | |
| LandRegisterDate | main | land_register_of | Land Register of | |
| LandRegisterEntrySequence | main | land_register_entry_number | Land Register Entry: Sequence Number | |
| LandRegisterEntryDate | main | land_register_entry | Land Register Entry on | |
| LandRegisterVolume | main | land_register_volume | Land Register Volume | |
| LandRegisterPage | main | land_register_page | Land Register Page | |
| LandRegisterMap | main | land_register_map_no | Land Register Map Number | |
| LandPlot | main | land_plot_number | Plot Number | |
| ConveyanceDate | main | conveyance_date | Date of Conveyance | |
| AreaSize | main | surface_area | Surface Area | |
| LeaseSupplier | main | lease_company | Leasing Company | |
| LeaseAgreement | main | lease_agreement_no | Leasing agreement number | |
| LeaseAgreementDate | main | lease_agreement_date | Leasing Agreement Date | |
| LeaseTermEndDate | main | lease_notice_date | Leasing Agreement Notice Date | |
| LeaseTermStartDate | main | lease_start_date | Lease Start Date | |
| LeaseDurationInFiscalYears | main | lease_years | Length of Lease in Years | |
| LeaseDurationInFiscalPeriods | main | lease_periods | Length of Lease in Periods | |
| LeaseType | main | lease_type | Leasing type | |
| LeasedAssetNote | main | lease_data_text | Leasing data text | |
| LegacyAsset | Legacy Asset Number | |||
| LegacyFixedAssetCompanyCode | main | legacy_comp_code | Legacy Fixed Asset Company Code | |
| LegacyMasterFixedAsset | main | legacy_asset_no | Legacy Main Asset Number | |
| LegacyFixedAsset | main | legacy_asset_subno | Legacy Asset Subnumber | |
| LegacyDataTransferSequence | main | legacy_transfer_seq_no | Legacy Data Transfer - sequence number | |
| AssetIsForPostCapitalization | faat_md_root | is_post_capitalization | Fixed Asset with Post-Capitalization | |
| AssetAuthorizationContext | Asset Authorization Context | |||
| ObjectInternalID | main | object_nr | Object number | |
| _FixedAssetAssgmt | _FixedAssetAssgmt | |||
| _FixedAssetDeprArea | _FixedAssetDeprArea | |||
| _AssetValuationForLedger | _AssetValuationForLedger | |||
| _FixedAssetForLedger | _FixedAssetForLedger | |||
| _CompanyCode | _CompanyCode | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _AssetClass | _AssetClass | |||
| _Currency | _Currency | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _PartnerCompany | _PartnerCompany | |||
| _Group1AssetEvaluationKey | _Group1AssetEvaluationKey | |||
| _Group2AssetEvaluationKey | _Group2AssetEvaluationKey | |||
| _Group3AssetEvaluationKey | _Group3AssetEvaluationKey | |||
| _Group4AssetEvaluationKey | _Group4AssetEvaluationKey | |||
| _Group5AssetEvaluationKey | _Group5AssetEvaluationKey | |||
| _AssetAccountDetermination | _AssetAccountDetermination | |||
| _Supplier | _Supplier | |||
| _AssetCountryOfOrigin | _AssetCountryOfOrigin | |||
| _InvestmentReason | _InvestmentReason | |||
| _EnvrnmtlInvestmentReason | _EnvrnmtlInvestmentReason | |||
| _FixedAssetFinDataCmpltns | _FixedAssetFinDataCmpltns | |||
| _FixedAssetPropertyType | _FixedAssetPropertyType | |||
| _ManualDepreciationReason | _ManualDepreciationReason | |||
| _FixedAssetGroup | _FixedAssetGroup | |||
| _InvestmentOrder | _InvestmentOrder | |||
| _InvestmentWBSElement | _InvestmentWBSElement | |||
| _AssetLifecycleStatus | _AssetLifecycleStatus | |||
| _AssetCompletenessStatus | _AssetCompletenessStatus | |||
| _AssetUnderConstructionStatus | _AssetUnderConstructionStatus | |||
| _AssetStatusAtPurchase | _AssetStatusAtPurchase | |||
| _FixedAssetCountryData | _FixedAssetCountryData | |||
| _GlobAssetAssignment | _GlobAssetAssignment | |||
| _OriginalAcquisitionCurrency | _OriginalAcquisitionCurrency |
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 I_FixedAsset.
-- 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.
CREATE VIEW I_FixedAsset AS
SELECT
root.comp_code AS CompanyCode,
root.asset_no AS MasterFixedAsset,
root.asset_subno AS FixedAsset,
main.asset_class AS AssetClass,
main.serial_number AS AssetSerialNumber,
cast( 0 as am_menge ) AS Quantity,
main.base_unit AS BaseUnit,
main.inventory_number AS Inventory,
main.description AS FixedAssetDescription,
main.add_description AS AssetAdditionalDescription,
t001.waers AS Currency,
cast( 0 as urwrt ) AS OriglAcqnAmtInCoCodeCrcy,
main.trade_id AS PartnerCompany,
main.manufacturer AS AssetManufacturerName,
main.inhouse_prod_percent AS InHouseProdnPercent,
cast( '' as liefe ) AS AssetSupplierName,
main.inventory_note AS InventoryNote,
cast( '' as ord41 ) AS Group1AssetEvaluationKey,
cast( '' as ord42 ) AS Group2AssetEvaluationKey,
cast( '' as ord43 ) AS Group3AssetEvaluationKey,
cast( '' as ord44 ) AS Group4AssetEvaluationKey,
cast( '' as gdlgrp ) AS Group5AssetEvaluationKey,
main.gl_account_det AS AssetAccountDetermination,
cast( root.is_historical_managed as aneqk ) AS HasHistory,
cast( '00000000' as aktivd ) AS AssetCapitalizationDate,
cast( '0000' as dzujahr ) AS FirstAcquisitionFiscalYear,
cast( '000' as dzuper ) AS FirstAcquisitionFiscalPeriod,
cast( '00000000' as deakt ) AS AssetDeactivationDate,
cast( '00000000' as gplab ) AS PlannedRetirementDate,
main.purchase_order_date AS FixedAssetOrderDate,
main.original_asset AS OriginalMasterFixedAsset,
main.asset_super_no AS FixedAssetGroup,
main.invest_reason AS InvestmentReason,
main.real_estate_asset AS AssetIsRealEstate,
main.surface_area_unit AS AreaSizeUnit,
main.investment_io_origin AS InvestmentOrder,
cast( main.investment_wbs_origin as faa_inv_wbs_element_int preserving type ) AS InvestmentProjectWBSElement_2,
main.investment_wbs_origin AS InvestmentProjectWBSElement,
main.inventory_indicator AS InventoryIsCounted,
main.inventory_date AS LastInventoryDate,
cast( '' as aapm_act_change_pm ) AS AssetSynchronizationRule,
main.original_acq_year AS OriginalAcquisitionFiscalYear,
main.asset_type_name AS AssetTypeName,
main.supplier_no AS Supplier,
main.origin_country AS AssetCountryOfOrigin,
main.assessment_tax_number AS NoticeOfAssessmentTaxID,
main.assessment_date AS LastAssessmentNoticeDate,
main.environmental_investment AS EnvrnmtlInvestmentReason,
cast(root.completeness_status as aneqs) AS FixedAssetFinDataCmpltns,
cast( root.is_blocked as xspeb_anla ) AS AccountIsBlockedForPosting,
cast( '00000000' as dzugdat ) AS AcquisitionValueDate,
main.original_acq_date AS OriginalFixedAssetValueDate,
cast( '00000000' as abgdat ) AS LastRetirementValueDate,
main.lastchange_user AS LastChangedByUser,
main.property_ind AS FixedAssetPropertyType,
cast( substring( cast( main.creation_datetime as char17 ), 1, 8 ) as erdat ) AS CreationDate,
main.creation_user AS CreatedByUser,
cast( '' as grund ) AS ManualDepreciationReason,
main.last_reorg_date AS LastReorganizationDate,
main.legacy_transfer_date AS LegacyDataTransferDate,
cast( '' as xanlgr_1 ) AS IsGroupAsset,
main.original_subasset AS OriginalFixedAsset,
cast( main.description as mcoa1 ) AS MasterFixedAssetSearchTerm,
main.asset_acquired_used AS AssetIsAcquiredUsed,
root.is_main_asset AS IsMainAsset,
root.lifecycle_status AS AssetLifecycleStatus,
root.completeness_status AS AssetCompletenessStatus,
root.auc_status AS AssetUnderConstructionStatus,
root.validity_date AS AssetCreationValidityDate,
main.creation_datetime AS CreationDateTime,
main.lastchange_datetime AS LastChangeDateTime,
main.screen_layout AS AssetScreenLayout,
main.original_acq_value AS OriginalAcquisitionAmount,
main.original_acq_value_curr AS OriginalAcquisitionCurrency,
main.property_key AS PropertyClass,
main.land_tax_office AS LocalTaxOffice,
main.land_municipality AS Municipality,
main.land_register_of AS LandRegisterDate,
main.land_register_entry_number AS LandRegisterEntrySequence,
main.land_register_entry AS LandRegisterEntryDate,
main.land_register_volume AS LandRegisterVolume,
main.land_register_page AS LandRegisterPage,
main.land_register_map_no AS LandRegisterMap,
main.land_plot_number AS LandPlot,
main.conveyance_date AS ConveyanceDate,
main.surface_area AS AreaSize,
main.lease_company AS LeaseSupplier,
main.lease_agreement_no AS LeaseAgreement,
main.lease_agreement_date AS LeaseAgreementDate,
main.lease_notice_date AS LeaseTermEndDate,
main.lease_start_date AS LeaseTermStartDate,
main.lease_years AS LeaseDurationInFiscalYears,
main.lease_periods AS LeaseDurationInFiscalPeriods,
main.lease_type AS LeaseType,
main.lease_data_text AS LeasedAssetNote,
cast( main.legacy_asset_no as faa_legacyasset ) AS LegacyAsset,
main.legacy_comp_code AS LegacyFixedAssetCompanyCode,
main.legacy_asset_no AS LegacyMasterFixedAsset,
main.legacy_asset_subno AS LegacyFixedAsset,
main.legacy_transfer_seq_no AS LegacyDataTransferSequence,
root.is_post_capitalization AS AssetIsForPostCapitalization,
cast( 'NEW' as faa_authcntxt ) AS AssetAuthorizationContext,
main.object_nr AS ObjectInternalID
FROM faat_md_root AS root
LEFT OUTER JOIN I_FixedAssetAssgmt AS _FixedAssetAssgmt ON CompanyCode = _FixedAssetAssgmt.CompanyCode AND MasterFixedAsset = _FixedAssetAssgmt.MasterFixedAsset AND FixedAsset = _FixedAssetAssgmt.FixedAsset -- association [0..*]
LEFT OUTER JOIN I_FixedAssetDeprArea AS _FixedAssetDeprArea ON CompanyCode = _FixedAssetDeprArea.CompanyCode AND MasterFixedAsset = _FixedAssetDeprArea.MasterFixedAsset AND FixedAsset = _FixedAssetDeprArea.FixedAsset -- association [0..*]
LEFT OUTER JOIN I_AssetValuationForLedger AS _AssetValuationForLedger ON CompanyCode = _AssetValuationForLedger.CompanyCode AND MasterFixedAsset = _AssetValuationForLedger.MasterFixedAsset AND FixedAsset = _AssetValuationForLedger.FixedAsset -- association [0..*]
LEFT OUTER JOIN I_FixedAssetForLedger AS _FixedAssetForLedger ON CompanyCode = _FixedAssetForLedger.CompanyCode AND MasterFixedAsset = _FixedAssetForLedger.MasterFixedAsset AND FixedAsset = _FixedAssetForLedger.FixedAsset -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset -- association [0..1]
LEFT OUTER JOIN I_AssetClass AS _AssetClass ON AssetClass = _AssetClass.AssetClass -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_Globalcompany AS _PartnerCompany ON PartnerCompany = _PartnerCompany.Company -- association [0..1]
LEFT OUTER JOIN I_AssetAcctDetermination AS _AssetAccountDetermination ON AssetAccountDetermination = _AssetAccountDetermination.AssetAccountDetermination -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Country AS _AssetCountryOfOrigin ON AssetCountryOfOrigin = _AssetCountryOfOrigin.Country -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON BaseUnit = _UnitOfMeasure.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_Group1AssetEvaluationKey AS _Group1AssetEvaluationKey ON Group1AssetEvaluationKey = _Group1AssetEvaluationKey.Group1AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group2AssetEvaluationKey AS _Group2AssetEvaluationKey ON Group2AssetEvaluationKey = _Group2AssetEvaluationKey.Group2AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group3AssetEvaluationKey AS _Group3AssetEvaluationKey ON Group3AssetEvaluationKey = _Group3AssetEvaluationKey.Group3AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group4AssetEvaluationKey AS _Group4AssetEvaluationKey ON Group4AssetEvaluationKey = _Group4AssetEvaluationKey.Group4AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group5AssetEvaluationKey AS _Group5AssetEvaluationKey ON Group5AssetEvaluationKey = _Group5AssetEvaluationKey.Group5AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_InvestmentReason AS _InvestmentReason ON InvestmentReason = _InvestmentReason.InvestmentReason -- association [0..1]
LEFT OUTER JOIN I_EnvrnmtlInvestmentReason AS _EnvrnmtlInvestmentReason ON EnvrnmtlInvestmentReason = _EnvrnmtlInvestmentReason.EnvrnmtlInvestmentReason -- association [0..1]
LEFT OUTER JOIN I_FixedAssetFinDataCmpltns AS _FixedAssetFinDataCmpltns ON FixedAssetFinDataCmpltns = _FixedAssetFinDataCmpltns.FixedAssetFinDataCmpltns -- association [0..1]
LEFT OUTER JOIN I_FixedAssetPropertyType AS _FixedAssetPropertyType ON FixedAssetPropertyType = _FixedAssetPropertyType.FixedAssetPropertyType -- association [0..1]
LEFT OUTER JOIN I_ManualDepreciationReason AS _ManualDepreciationReason ON ManualDepreciationReason = _ManualDepreciationReason.ManualDepreciationReason -- association [0..1]
LEFT OUTER JOIN I_FixedAssetGroup AS _FixedAssetGroup ON FixedAssetGroup = _FixedAssetGroup.FixedAssetGroup -- association [0..1]
LEFT OUTER JOIN I_InternalOrder AS _InvestmentOrder ON InvestmentOrder = _InvestmentOrder.InternalOrder -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _InvestmentWBSElement ON InvestmentProjectWBSElement_2 = _InvestmentWBSElement.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_AssetLifecycleStatus AS _AssetLifecycleStatus ON AssetLifecycleStatus = _AssetLifecycleStatus.AssetLifecycleStatus -- association [0..1]
LEFT OUTER JOIN I_AssetCompletenessStatus AS _AssetCompletenessStatus ON AssetCompletenessStatus = _AssetCompletenessStatus.AssetCompletenessStatus -- association [0..1]
LEFT OUTER JOIN I_AssetUnderConstructionStatus AS _AssetUnderConstructionStatus ON AssetUnderConstructionStatus = _AssetUnderConstructionStatus.AssetUnderConstructionStatus -- association [0..1]
LEFT OUTER JOIN I_AssetStatusAtPurchase AS _AssetStatusAtPurchase ON AssetStatusAtPurchase = _AssetStatusAtPurchase.AssetStatusAtPurchase -- association [0..1]
LEFT OUTER JOIN I_FixedAssetCountryData AS _FixedAssetCountryData ON CompanyCode = _FixedAssetCountryData.CompanyCode AND MasterFixedAsset = _FixedAssetCountryData.MasterFixedAsset AND FixedAsset = _FixedAssetCountryData.FixedAsset -- association [0..1]
LEFT OUTER JOIN I_GlobAssetAssignment AS _GlobAssetAssignment ON CompanyCode = _GlobAssetAssignment.CompanyCode AND MasterFixedAsset = _GlobAssetAssignment.MasterFixedAsset AND FixedAsset = _GlobAssetAssignment.FixedAsset -- association [0..*]
LEFT OUTER JOIN I_Currency AS _OriginalAcquisitionCurrency ON OriginalAcquisitionCurrency = _OriginalAcquisitionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN E_FixedAsset AS _Extension ON MasterFixedAsset = _Extension.MasterFixedAsset AND FixedAsset = _Extension.FixedAsset AND CompanyCode = _Extension.CompanyCode -- association [1..1]
;
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