P_IncgFormatGeneralAttribute05

DDL: P_INCGFORMATGENERALATTRIBUTE05 Type: view_entity CONSUMPTION

P_IncgFormatGeneralAttribute05 is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (P_IncgFormatGeneralAttribute04, P_IncgFormatGeneralAttribute01) and exposes 5 fields with key fields HierarchyTreeType, HierarchyTree, HierarchyTreeVersion.

Data Sources (2)

SourceAliasJoin Type
P_IncgFormatGeneralAttribute04 LastVersion inner
P_IncgFormatGeneralAttribute01 Version from

Annotations (6)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY HierarchyTreeType P_IncgFormatGeneralAttribute01 HierarchyTreeType Mapping Type ID
KEY HierarchyTree P_IncgFormatGeneralAttribute01 HierarchyTree Format Mapping Name
KEY HierarchyTreeVersion
LastChangeDateTime P_IncgFormatGeneralAttribute01 LastChangeDateTime Timestamp
IsCustomerFormat P_IncgFormatGeneralAttribute01 IsCustomerFormat

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_IncgFormatGeneralAttribute05.
-- 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_IncgFormatGeneralAttribute05 AS
SELECT
  Version.HierarchyTreeType AS HierarchyTreeType,
  Version.HierarchyTree AS HierarchyTree,
  min(Version.HierarchyTreeVersion) AS HierarchyTreeVersion,
  Version.LastChangeDateTime AS LastChangeDateTime,
  Version.IsCustomerFormat AS IsCustomerFormat
FROM P_IncgFormatGeneralAttribute01 AS Version
INNER JOIN P_IncgFormatGeneralAttribute04 AS LastVersion ON /* join condition not captured in parsed metadata */
;