P_FixedAsset

DDL: P_FIXEDASSET Type: view BASIC

P_FixedAsset is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (anla, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus, faat_md_root) and exposes 213 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, MasterFixedAsset, FixedAsset.

Data Sources (4)

SourceAliasJoin Type
anla anla from
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
faat_md_root root union_all

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIXASSET view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (213)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode anla bukrs Value
KEY MasterFixedAsset anla anln1 Asset
KEY FixedAsset anla anln2 Sub-number
AssetClass anla anlkl Asset Class
AssetSerialNumber anla sernr Serial Number of Proposal Descriptions
Quantity anla menge WarrCountValue
BaseUnit anla meins Material Base Unit
Inventory anla invnr Inventory No.
FixedAssetDescription anla txt50 Well Code Des.
AssetAdditionalDescription anla txa50 Description (2)
Currency t001 waers Transaction Currency
OriglAcqnAmtInCoCodeCrcy anla urwrt Original Value
PartnerCompany anla vbund Trading Partner
AssetManufacturerName anla herst Manufacturer
InHouseProdnPercent anla antei In-H.Prod.Perc.
AssetSupplierName anla liefe Supplier Name
InventoryNote anla invzu Inventory Note
Group1AssetEvaluationKey anla ord41 Eval.group 1
Group2AssetEvaluationKey anla ord42 Eval. Group 2
Group3AssetEvaluationKey anla ord43 Eval. Group 3
Group4AssetEvaluationKey anla ord44 Eval.group 4
Group5AssetEvaluationKey anla gdlgrp Eval. Group 5
AssetAccountDetermination anla ktogr Account Determ.
HasHistory anla aneqk Manage Historically
AssetCapitalizationDate anla aktiv MR active
FirstAcquisitionFiscalYear anla zujhr Acquisition Yr
FirstAcquisitionFiscalPeriod anla zuper First Acq. Per.
AssetDeactivationDate anla deakt Deact.Date
PlannedRetirementDate anla gplab Pl. Retir. On
FixedAssetOrderDate anla bstdt Ordered On
OriginalMasterFixedAsset anla aibn1 Original Asset
FixedAssetGroup anla anlue Asset Super No.
InvestmentReason anla izwek Invest. Reason
AssetIsRealEstate anla aimmo Connection to SAP Real Estate Management
AreaSizeUnit anla feins Area Unit
InvestmentOrder anla eaufn Inv. Order
InvestmentProjectWBSElement anla posnr WBS Element
InvestmentProjectWBSElement_2
InventoryIsCounted anla inken Inventory Ind.
LastInventoryDate anla ivdat Last Inventory
AssetSynchronizationRule anla act_change_pm Change asset
OriginalAcquisitionFiscalYear anla urjhr Org. Acq. Year
AssetTypeName anla typbz Type Name
Supplier anla lifnr Vendor
AssetCountryOfOrigin anla land1 Origin C/R
NoticeOfAssessmentTaxID anla ehwnr Assmt Tax No.
LastAssessmentNoticeDate anla ehwzu Notice on
EnvrnmtlInvestmentReason anla umwkz Envir. Invest.
aedatasfis_aedat_anlaendasLastChangeDate
FixedAssetFinDataCmpltns anla aneqs Complete.
AccountIsMarkedForDeletion anla xloev Deletion Flag
AccountIsBlockedForPosting anla xspeb Func Is Blocked
AcquisitionValueDate anla zugdt First Acq. on
OriginalFixedAssetValueDate anla aibdt Acq.Orig.Ast.On
AssetUnderConstIsInvmtMsr anla xinvm Inv. Measure
LastRetirementValueDate anla abgdt Last Retirement
LastChangedByUser anla aenam Last Changed By
FixedAssetPropertyType anla eigkz Property Indic.
CreationDate anla erdat Entered On
CreatedByUser anla ernam User
ManualDepreciationReason anla grund Reason for mvt.
LastReorganizationDate anla last_reorg_date Reorganization Date
LegacyDataTransferDate anla ldt_date Transfer Date
IsGroupAsset anla xanlgr Group Asset
IsLineItemSettled anla xopvw OI Management
OriginalFixedAsset anla aibn2 Asset Sub-No. AuC
MasterFixedAssetSearchTerm anla mcoa1 Description
AssetStatusAtPurchase anla xafabch Used indicator
AssetIsAcquiredUsed Used indicator
IsMainAsset Main Asset
AssetLifecycleStatus Status
AssetCompletenessStatus Completeness Status
AssetUnderConstructionStatus AuC Status
AssetCreationValidityDate validity Date (YYMM)
CreationDateTime Time Stamp
LastChangeDateTime Time Stamp
AssetScreenLayout Master Data Layout
OriginalAcquisitionAmount Original Value
OriginalAcquisitionCurrency Orig Acq Crcy
PropertyClass anla vmgli Prop.classif.
LocalTaxOffice anla fiamt Tax Office
Municipality anla stadt Municipality
LandRegisterDate anla gruvo Land Regist. of
LandRegisterEntrySequence anla grlfd LandRegEntSeqNo
LandRegisterEntryDate anla grein Entry by
LandRegisterVolume anla grbnd Lnd Reg. Volume
LandRegisterPage anla grblt Land Reg. Page
LandRegisterMap anla flurk Ld.Reg.Map.No
LandPlot anla flurn Plot No.
ConveyanceDate anla aufla Conveyance
AreaSize anla grufl Area
LeaseSupplier anla leafi Lessor
LeaseAgreement anla lvtnr Agreement no.
LeaseAgreementDate anla lvdat Agreement Date
LeaseTermEndDate anla lkdat Notice date
LeaseTermStartDate anla leabg Leas.start date
LeaseDurationInFiscalYears anla lejar Lease Length
LeaseDurationInFiscalPeriods anla leper Periods
LeaseType anla leart Type
LeasedAssetNote anla letxt Suppl. text
LegacyAsset
LegacyFixedAssetCompanyCode Legacy Comp. Code
LegacyMasterFixedAsset Legacy Main No.
LegacyFixedAsset Legacy Subnumber
LegacyDataTransferSequence anla ldt_seqno Sequence Number
AssetIsForPostCapitalization Post-capital.
AssetAuthorizationContext
ObjectInternalID anla objnr Object number
comp_codeasCompanyCode
KEY MasterFixedAsset faat_md_root asset_no Asset
KEY FixedAsset faat_md_root asset_subno Sub-number
AssetClass main asset_class Asset Class
AssetSerialNumber main serial_number Serial Number of Proposal Descriptions
Quantity WarrCountValue
BaseUnit main base_unit Material Base Unit
Inventory main inventory_number Inventory No.
FixedAssetDescription main description Well Code Des.
AssetAdditionalDescription main add_description Description (2)
Currency t001 waers Transaction Currency
OriglAcqnAmtInCoCodeCrcy Original Value
PartnerCompany main trade_id Trading Partner
AssetManufacturerName main manufacturer Manufacturer
InHouseProdnPercent main inhouse_prod_percent In-H.Prod.Perc.
AssetSupplierName Supplier Name
InventoryNote main inventory_note Inventory Note
Group1AssetEvaluationKey Eval.group 1
Group2AssetEvaluationKey Eval. Group 2
Group3AssetEvaluationKey Eval. Group 3
Group4AssetEvaluationKey Eval.group 4
Group5AssetEvaluationKey Eval. Group 5
AssetAccountDetermination main gl_account_det Account Determ.
HasHistory Manage Historically
AssetCapitalizationDate MR active
FirstAcquisitionFiscalYear Acquisition Yr
FirstAcquisitionFiscalPeriod First Acq. Per.
AssetDeactivationDate Deact.Date
PlannedRetirementDate Pl. Retir. On
FixedAssetOrderDate main purchase_order_date Ordered On
OriginalMasterFixedAsset main original_asset Original Asset
FixedAssetGroup main asset_super_no Asset Super No.
InvestmentReason main invest_reason Invest. Reason
AssetIsRealEstate main real_estate_asset Connection to SAP Real Estate Management
AreaSizeUnit main surface_area_unit Area Unit
InvestmentOrder main investment_io_origin Inv. Order
InvestmentProjectWBSElement main investment_wbs_origin WBS Element
InvestmentProjectWBSElement_2
InventoryIsCounted main inventory_indicator Inventory Ind.
LastInventoryDate main inventory_date Last Inventory
AssetSynchronizationRule Change asset
OriginalAcquisitionFiscalYear main original_acq_year Org. Acq. Year
AssetTypeName main asset_type_name Type Name
Supplier main supplier_no Vendor
AssetCountryOfOrigin main origin_country Origin C/R
NoticeOfAssessmentTaxid main assessment_tax_number Assmt Tax No.
LastAssessmentNoticeDate main assessment_date Notice on
EnvrnmtlInvestmentReason main environmental_investment Envir. Invest.
FixedAssetFinDataCmpltns Complete.
AccountIsBlockedForPosting faat_md_root is_blocked Func Is Blocked
AcquisitionValueDate First Acq. on
OriginalFixedAssetValueDate main original_acq_date Acq.Orig.Ast.On
LastRetirementValueDate Last Retirement
LastChangedByUser main lastchange_user Last Changed By
FixedAssetPropertyType main property_ind Property Indic.
CreationDate Entered On
CreatedByUser main creation_user User
ManualDepreciationReason Reason for mvt.
LastReorganizationDate main last_reorg_date Reorganization Date
LegacyDataTransferDate main legacy_transfer_date Transfer Date
IsGroupAsset Group Asset
OriginalFixedAsset main original_subasset Asset Sub-No. AuC
MasterFixedAssetSearchTerm Description
AssetStatusAtPurchase Used indicator
AssetIsAcquiredUsed main asset_acquired_used Used indicator
IsMainAsset faat_md_root is_main_asset Main Asset
AssetLifecycleStatus faat_md_root lifecycle_status Status
AssetCompletenessStatus faat_md_root completeness_status Completeness Status
AssetUnderConstructionStatus faat_md_root auc_status AuC Status
AssetCreationValidityDate faat_md_root validity_date validity Date (YYMM)
CreationDateTime main creation_datetime Time Stamp
LastChangeDateTime main lastchange_datetime Time Stamp
AssetScreenLayout main screen_layout Master Data Layout
OriginalAcquisitionAmount main original_acq_value Original Value
OriginalAcquisitionCurrency main original_acq_value_curr Orig Acq Crcy
PropertyClass main property_key Prop.classif.
LocalTaxOffice main land_tax_office Tax Office
Municipality main land_municipality Municipality
LandRegisterDate main land_register_of Land Regist. of
LandRegisterEntrySequence main land_register_entry_number LandRegEntSeqNo
LandRegisterEntryDate main land_register_entry Entry by
LandRegisterVolume main land_register_volume Lnd Reg. Volume
LandRegisterPage main land_register_page Land Reg. Page
LandRegisterMap main land_register_map_no Ld.Reg.Map.No
LandPlot main land_plot_number Plot No.
ConveyanceDate main conveyance_date Conveyance
AreaSize main surface_area Area
LeaseSupplier main lease_company Lessor
LeaseAgreement main lease_agreement_no Agreement no.
LeaseAgreementDate main lease_agreement_date Agreement Date
LeaseTermEndDate main lease_notice_date Notice date
LeaseTermStartDate main lease_start_date Leas.start date
LeaseDurationInFiscalYears main lease_years Lease Length
LeaseDurationInFiscalPeriods main lease_periods Periods
LeaseType main lease_type Type
LeasedAssetNote main lease_data_text Suppl. text
LegacyAsset
LegacyFixedAssetCompanyCode main legacy_comp_code Legacy Comp. Code
LegacyMasterFixedAsset main legacy_asset_no Legacy Main No.
LegacyFixedAsset main legacy_asset_subno Legacy Subnumber
LegacyDataTransferSequence main legacy_transfer_seq_no Sequence Number
AssetIsForPostCapitalization faat_md_root is_post_capitalization Post-capital.
AssetAuthorizationContext
ObjectInternalID main object_nr Object number
AssetRedesignSwitchIsActive P_TF_AssetRedesignSwitchStatus IsActive Object active?

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_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 P_FixedAsset AS
SELECT
  anla.bukrs AS CompanyCode,
  anla.anln1 AS MasterFixedAsset,
  anla.anln2 AS FixedAsset,
  anla.anlkl AS AssetClass,
  anla.sernr AS AssetSerialNumber,
  anla.menge AS Quantity,
  anla.meins AS BaseUnit,
  anla.invnr AS Inventory,
  anla.txt50 AS FixedAssetDescription,
  anla.txa50 AS AssetAdditionalDescription,
  t001.waers AS Currency,
  anla.urwrt AS OriglAcqnAmtInCoCodeCrcy,
  anla.vbund AS PartnerCompany,
  anla.herst AS AssetManufacturerName,
  anla.antei AS InHouseProdnPercent,
  anla.liefe AS AssetSupplierName,
  anla.invzu AS InventoryNote,
  anla.ord41 AS Group1AssetEvaluationKey,
  anla.ord42 AS Group2AssetEvaluationKey,
  anla.ord43 AS Group3AssetEvaluationKey,
  anla.ord44 AS Group4AssetEvaluationKey,
  anla.gdlgrp AS Group5AssetEvaluationKey,
  anla.ktogr AS AssetAccountDetermination,
  anla.aneqk AS HasHistory,
  anla.aktiv AS AssetCapitalizationDate,
  anla.zujhr AS FirstAcquisitionFiscalYear,
  anla.zuper AS FirstAcquisitionFiscalPeriod,
  anla.deakt AS AssetDeactivationDate,
  anla.gplab AS PlannedRetirementDate,
  anla.bstdt AS FixedAssetOrderDate,
  anla.aibn1 AS OriginalMasterFixedAsset,
  anla.anlue AS FixedAssetGroup,
  anla.izwek AS InvestmentReason,
  anla.aimmo AS AssetIsRealEstate,
  anla.feins AS AreaSizeUnit,
  anla.eaufn AS InvestmentOrder,
  anla.posnr AS InvestmentProjectWBSElement,
  cast(anla.posnr as faa_inv_wbs_element_int preserving type) AS InvestmentProjectWBSElement_2,
  anla.inken AS InventoryIsCounted,
  anla.ivdat AS LastInventoryDate,
  anla.act_change_pm AS AssetSynchronizationRule,
  anla.urjhr AS OriginalAcquisitionFiscalYear,
  anla.typbz AS AssetTypeName,
  anla.lifnr AS Supplier,
  anla.land1 AS AssetCountryOfOrigin,
  anla.ehwnr AS NoticeOfAssessmentTaxID,
  anla.ehwzu AS LastAssessmentNoticeDate,
  anla.umwkz AS EnvrnmtlInvestmentReason,
  case when anla.aedat = '' then cast('00000000' as fis_aedat_anla) when anla.aedat <> '' then cast(anla.aedat as fis_aedat_anla) end as LastChangeDate AS aedatasfis_aedat_anlaendasLastChangeDate,
  anla.aneqs AS FixedAssetFinDataCmpltns,
  anla.xloev AS AccountIsMarkedForDeletion,
  anla.xspeb AS AccountIsBlockedForPosting,
  anla.zugdt AS AcquisitionValueDate,
  anla.aibdt AS OriginalFixedAssetValueDate,
  anla.xinvm AS AssetUnderConstIsInvmtMsr,
  anla.abgdt AS LastRetirementValueDate,
  anla.aenam AS LastChangedByUser,
  anla.eigkz AS FixedAssetPropertyType,
  anla.erdat AS CreationDate,
  anla.ernam AS CreatedByUser,
  anla.grund AS ManualDepreciationReason,
  anla.last_reorg_date AS LastReorganizationDate,
  anla.ldt_date AS LegacyDataTransferDate,
  anla.xanlgr AS IsGroupAsset,
  anla.xopvw AS IsLineItemSettled,
  anla.aibn2 AS OriginalFixedAsset,
  anla.mcoa1 AS MasterFixedAssetSearchTerm,
  anla.xafabch AS AssetStatusAtPurchase,
  cast('' as xafabch) AS AssetIsAcquiredUsed,
  cast('' as faa_md_xmain) AS IsMainAsset,
  cast('' as faa_md_lc_status) AS AssetLifecycleStatus,
  cast('' as faa_md_compl_status) AS AssetCompletenessStatus,
  cast('' as faa_md_auc_status) AS AssetUnderConstructionStatus,
  cast('00000000' as faa_md_validity_date) AS AssetCreationValidityDate,
  cast(0 as timestamp) AS CreationDateTime,
  cast(0 as timestamp) AS LastChangeDateTime,
  cast(anla.felei as faa_layout) AS AssetScreenLayout,
  cast(0 as urwrt) AS OriginalAcquisitionAmount,
  cast('' as faa_md_org_acq_curr) AS OriginalAcquisitionCurrency,
  anla.vmgli AS PropertyClass,
  anla.fiamt AS LocalTaxOffice,
  anla.stadt AS Municipality,
  anla.gruvo AS LandRegisterDate,
  anla.grlfd AS LandRegisterEntrySequence,
  anla.grein AS LandRegisterEntryDate,
  anla.grbnd AS LandRegisterVolume,
  anla.grblt AS LandRegisterPage,
  anla.flurk AS LandRegisterMap,
  anla.flurn AS LandPlot,
  anla.aufla AS ConveyanceDate,
  anla.grufl AS AreaSize,
  anla.leafi AS LeaseSupplier,
  anla.lvtnr AS LeaseAgreement,
  anla.lvdat AS LeaseAgreementDate,
  anla.lkdat AS LeaseTermEndDate,
  anla.leabg AS LeaseTermStartDate,
  anla.lejar AS LeaseDurationInFiscalYears,
  anla.leper AS LeaseDurationInFiscalPeriods,
  anla.leart AS LeaseType,
  anla.letxt AS LeasedAssetNote,
  cast('' as faa_legacyasset) AS LegacyAsset,
  cast('' as faa_md_ldt_comp_code) AS LegacyFixedAssetCompanyCode,
  cast('' as faa_md_ldt_asset_no) AS LegacyMasterFixedAsset,
  cast('' as faa_md_ldt_asset_subno) AS LegacyFixedAsset,
  anla.ldt_seqno AS LegacyDataTransferSequence,
  cast('' as faa_md_xpostcap) AS AssetIsForPostCapitalization,
  cast('CLASSIC' as faa_authcntxt) AS AssetAuthorizationContext,
  anla.objnr AS ObjectInternalID,
  P_TF_AssetRedesignSwitchStatus.IsActive as AssetRedesignSwitchIsActive AS comp_codeasCompanyCode,
  P_TF_AssetRedesignSwitchStatus.IsActive AS AssetRedesignSwitchIsActive
FROM anla
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_md_root
;