P_MasterFixedAsset

DDL: P_MASTERFIXEDASSET Type: view BASIC

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

Data Sources (4)

SourceAliasJoin Type
anlh anlh 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 PFIMASTFIXASSET 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 (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY MasterFixedAsset anln1 Asset
MasterFixedAssetDescription anlhtxt Well Code Des.
comp_codeasCompanyCode
KEY MasterFixedAsset faat_md_root asset_no Asset
MasterFixedAssetDescription main description Well Code Des.
AssetAuthorizationContext

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_MasterFixedAsset.
-- 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_MasterFixedAsset AS
SELECT
  bukrs AS CompanyCode,
  anln1 AS MasterFixedAsset,
  anlhtxt AS MasterFixedAssetDescription,
  cast('CLASSIC' as faa_authcntxt) as AssetAuthorizationContext AS comp_codeasCompanyCode,
  cast('NEW' as faa_authcntxt) AS AssetAuthorizationContext
FROM anlh
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_md_root
;