P_FixedAssetAssgmt

DDL: P_FIXEDASSETASSGMT Type: view BASIC

P_FixedAssetAssgmt is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (anlz, faat_md_tdd, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus) and exposes 75 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityEndDate, MasterFixedAsset.

Data Sources (4)

SourceAliasJoin Type
anlz anlz from
faat_md_tdd faat_md_tdd union_all
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFASSETASSGMT 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 (75)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode anlz bukrs Value
KEY MasterFixedAsset anlz anln1 Asset
KEY FixedAsset anlz anln2 Sub-number
KEY ValidityEndDate anlz bdatu Validity To Date
ControllingArea tka02 kokrs Org. Value
ValidityStartDate anlz adatu Validity From Date
VehicleLicensePlateNumber anlz kfzkz License Plate Number
CostCenter anlz kostl Posted Cost Center
Plant anlz werks Valuation Area
BusinessArea anlz gsber Business Area
AssetLocation anlz stort Text
Room anlz raumn Room Number
CostCtrActivityType anlz lstar Inward/Outward Acty
InternalOrder anlz caufn Int. Order
IsShutDown anlz xstil Shutdown
ResponsibleCostCenter anlz kostlv Resp. Cost Ctr
PersonnelNumber anlz pernr Personnel No.
MaintenanceOrder anlz iaufn Maint. Order
TaxJurisdiction anlz txjcd Tax Jur.
Fund anlz geber Sender Fund
WBSElementInternalID anlz ps_psp_pnr2 WBS Element
WBSElementInternalID_2
REInternalFinNumber
RealEstateObject
ProfitCenter anlz prctr Profit Center
Segment anlz segment Segment number
FunctionalArea anlz fkber obsolete
ShiftOperationFactor anlz msfak Shift Factor
GrantID anlz grant_nbr Grant
BudgetPeriod anlz budget_pd Budget Period
FundsCenter anlz fistl obsolete
FunctionalLocation anlz tplnr Functional loc.
BusinessPlace Business place
AssetAuthorizationContext
ReferenceDocumentType Reference Document Type
LogicalSystem Logical System
ReferenceDocumentContext Refer. Org.Unit
comp_codeasCompanyCode
KEY MasterFixedAsset faat_md_tdd asset_no Asset
KEY FixedAsset faat_md_tdd asset_subno Sub-number
KEY ValidityEndDate faat_md_tdd valid_to_date Validity To Date
ControllingArea tka02 kokrs Org. Value
ValidityStartDate faat_md_tdd valid_from_date Validity From Date
VehicleLicensePlateNumber faat_md_tdd car_license_plate License Plate Number
CostCenter faat_md_tdd cost_center Posted Cost Center
Plant faat_md_tdd plant Valuation Area
BusinessArea faat_md_tdd business_area Business Area
AssetLocation faat_md_tdd location Text
Room faat_md_tdd room Room Number
CostCtrActivityType faat_md_tdd activity_type Inward/Outward Acty
InternalOrder faat_md_tdd internal_order Int. Order
IsShutDown Shutdown
ResponsibleCostCenter faat_md_tdd responsible_cost_center Resp. Cost Ctr
PersonnelNumber faat_md_tdd personnel_number Personnel No.
MaintenanceOrder Maint. Order
TaxJurisdiction faat_md_tdd tax_jurisdiction Tax Jur.
Fund faat_md_tdd fund Sender Fund
WBSElementInternalID WBS Element
WBSElementInternalID_2
REInternalFinNumber
RealEstateObject
ProfitCenter faat_md_tdd profit_center Profit Center
Segment faat_md_tdd segment Segment number
FunctionalArea faat_md_tdd functional_area obsolete
ShiftOperationFactor Shift Factor
GrantID faat_md_tdd grant_id Grant
BudgetPeriod faat_md_tdd budget_period Budget Period
FundsCenter faat_md_tdd funds_center obsolete
FunctionalLocation Functional loc.
BusinessPlace faat_md_tdd business_place Business place
AssetAuthorizationContext
ReferenceDocumentType faat_md_tdd awtyp Reference Document Type
LogicalSystem faat_md_tdd awsys Logical System
ReferenceDocumentContext faat_md_tdd aworg Refer. Org.Unit
ReferenceDocument faat_md_tdd awref Reference Doc.

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_FixedAssetAssgmt.
-- 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_FixedAssetAssgmt AS
SELECT
  anlz.bukrs AS CompanyCode,
  anlz.anln1 AS MasterFixedAsset,
  anlz.anln2 AS FixedAsset,
  anlz.bdatu AS ValidityEndDate,
  tka02.kokrs AS ControllingArea,
  anlz.adatu AS ValidityStartDate,
  anlz.kfzkz AS VehicleLicensePlateNumber,
  anlz.kostl AS CostCenter,
  anlz.werks AS Plant,
  anlz.gsber AS BusinessArea,
  anlz.stort AS AssetLocation,
  anlz.raumn AS Room,
  anlz.lstar AS CostCtrActivityType,
  anlz.caufn AS InternalOrder,
  anlz.xstil AS IsShutDown,
  anlz.kostlv AS ResponsibleCostCenter,
  anlz.pernr AS PersonnelNumber,
  anlz.iaufn AS MaintenanceOrder,
  anlz.txjcd AS TaxJurisdiction,
  anlz.geber AS Fund,
  anlz.ps_psp_pnr2 AS WBSElementInternalID,
  cast(anlz.ps_psp_pnr2 as fis_wbsint_no_conv preserving type) AS WBSElementInternalID_2,
  cast(anlz.imkey as recaimkeyfi preserving type) AS REInternalFinNumber,
  cast(anlz.imkey as faa_deprecated_real_estate_obj preserving type) AS RealEstateObject,
  anlz.prctr AS ProfitCenter,
  anlz.segment AS Segment,
  anlz.fkber AS FunctionalArea,
  anlz.msfak AS ShiftOperationFactor,
  anlz.grant_nbr AS GrantID,
  anlz.budget_pd AS BudgetPeriod,
  anlz.fistl AS FundsCenter,
  anlz.tplnr AS FunctionalLocation,
  cast('' as bupla) AS BusinessPlace,
  cast('CLASSIC' as faa_authcntxt) AS AssetAuthorizationContext,
  cast('' as awtyp) AS ReferenceDocumentType,
  cast('' as awsys) AS LogicalSystem,
  cast('' as aworg) AS ReferenceDocumentContext,
  cast('' as awref) as ReferenceDocument AS comp_codeasCompanyCode,
  faat_md_tdd.awref AS ReferenceDocument
FROM anlz
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_md_tdd
;