P_WrntyClaimVersionMax

DDL: P_WRNTYCLAIMVERSIONMAX Type: view_entity COMPOSITE Package: VDM_LO_WTY

Maximum Versions for Warranty Claim

P_WrntyClaimVersionMax is a Composite CDS View that provides data about "Maximum Versions for Warranty Claim" in SAP S/4HANA. It reads from 1 data source (I_WrntyClaimVersion) and exposes 3 fields with key field WrntyClaimHeaderUUID. It has 1 association to related views. Part of development package VDM_LO_WTY.

Data Sources (1)

SourceAliasJoin Type
I_WrntyClaimVersion I_WrntyClaimVersion from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_WrntyClaimHeader _WrntyClaimHeader $projection.WrntyClaimHeaderUUID = _WrntyClaimHeader.WrntyClaimHeaderUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey WrntyClaimHeaderUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
Feature LO_WTY_CLAIM_MANAGEMENT view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY WrntyClaimHeaderUUID WrntyClaimHeaderUUID Internal Number
WrntyVersionNumber
_WrntyClaimHeader _WrntyClaimHeader

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_WrntyClaimVersionMax.
-- 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_WrntyClaimVersionMax AS
SELECT
  WrntyClaimHeaderUUID,
  max(WrntyVersionNumber) AS WrntyVersionNumber
FROM I_WrntyClaimVersion
LEFT OUTER JOIN I_WrntyClaimHeader AS _WrntyClaimHeader ON WrntyClaimHeaderUUID = _WrntyClaimHeader.WrntyClaimHeaderUUID  -- association [1..1]
;