P_WrntyClaimVersionMax

DDL: P_WRNTYCLAIMVERSIONMAX SQL: PWRNTYCLMVRNM Type: view COMPOSITE

P_WrntyClaimVersionMax is a Composite CDS View 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.

Data Sources (1)

SourceAliasJoin Type
I_WrntyClaimVersion I_WrntyClaimVersion from

Associations (1)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PWRNTYCLMVRNM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE 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.
-- SQL view name: PWRNTYCLMVRNM

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]
;