C_WrntySuplrClmOvwClmPerMnth

DDL: C_WRNTYSUPLRCLMOVWCLMPERMNTH SQL: CWTYSUPOVPCLMS Type: view CONSUMPTION

Stacked Chart for Supplier Claim Per Month

C_WrntySuplrClmOvwClmPerMnth is a Consumption CDS View that provides data about "Stacked Chart for Supplier Claim Per Month" in SAP S/4HANA. It reads from 2 data sources (R_WrntyClaimVersionTP, I_WrntyClaimHeader) and exposes 21 fields. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
R_WrntyClaimVersionTP _WrntyClaimVersion inner
I_WrntyClaimHeader I_WrntyClaimHeader from

Parameters (3)

NameTypeDefault
P_CheckStatus check_status
P_ReportingPeriodStartDate vdm_v_key_date
P_ReportingPeriodEndDate vdm_v_key_date

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CalendarDate _CalendarDate I_WrntyClaimHeader.WrntyClaimCreationDate = _CalendarDate.CalendarDate
[0..1] R_WrntyClaimVersionTP _WrntySuplrActvVersion $projection.WrntyClaimHeaderUUID = _WrntySuplrActvVersion.WrntyClaimHeaderUUID and _WrntySuplrActvVersion.WrntyClmVersIsActvSuplrVersion = 'X'
[0..1] I_Supplier _Supplier $projection.WrntySupplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.WarrantyCustomer = _Customer.Customer

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CWTYSUPOVPCLMS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Claim Overview By Month view
UI.headerInfo.typeNamePlural Claim Overview By Month view
UI.headerInfo.title.value Date view
UI.headerInfo.title.label Date view
EndUserText.label Stacked Chart for Supplier Claim Per Month view

Fields (21)

KeyFieldSource TableSource FieldDescription
resultElementStartDate
resultElementFirstDayOfWeekDate
WrntyClaimHeaderUUID
WarrantyClaimNumber I_WrntyClaimHeader WarrantyClaimNumber Claim
WrntySupplier I_WrntyClaimHeader WrntySupplier Partner(Suplr)
Plant I_WrntyClaimHeader Plant Valuation Area
WrntyVersionUUID R_WrntyClaimVersionTP WrntyVersionUUID Internal Number
WrntyClaimCreationDate I_WrntyClaimHeader WrntyClaimCreationDate Created On
WarrantyClaimType WarrantyClaimType WtyClmType
WarrantyCustomer WarrantyCustomer Partner
WrntySuplrClmProcessingStatus I_WrntyClaimHeader WrntySuplrClmProcessingStatus ProcgStatus(Suplr)
WrntyClaimDecisionCodeCategory
PurchasingOrganization _WrntySuplrActvVersion PurchasingOrganization Purchasing Organization
WrntySuplrClaimRespPerson WrntySuplrClaimRespPerson PersnRespSuplr
WarrantyClaimWeek _CalendarDate CalendarWeek Calendar Week
NumberOfItems Number of Item
WrntyDecisionCode R_WrntyClaimVersionTP WrntyDecisionCode Decision
WrntyDecisionCodeText
_Supplier _Supplier
_Customer _Customer
_CalendarDate _CalendarDate

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 C_WrntySuplrClmOvwClmPerMnth.
-- 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: CWTYSUPOVPCLMS
-- Parameters: P_CheckStatus : check_status, P_ReportingPeriodStartDate : vdm_v_key_date, P_ReportingPeriodEndDate : vdm_v_key_date

CREATE VIEW C_WrntySuplrClmOvwClmPerMnth AS
SELECT
  resultElement : 'StartDate' AS resultElementStartDate,
  resultElement : 'FirstDayOfWeekDate' AS resultElementFirstDayOfWeekDate,
  binding : [{ targetParameter : 'P_CheckStatus', type : #PARAMETER, value : 'P_CheckStatus' AS WrntyClaimHeaderUUID,
  I_WrntyClaimHeader.WarrantyClaimNumber AS WarrantyClaimNumber,
  I_WrntyClaimHeader.WrntySupplier AS WrntySupplier,
  I_WrntyClaimHeader.Plant AS Plant,
  _WrntyClaimVersion.WrntyVersionUUID AS WrntyVersionUUID,
  I_WrntyClaimHeader.WrntyClaimCreationDate AS WrntyClaimCreationDate,
  WarrantyClaimType,
  WarrantyCustomer,
  I_WrntyClaimHeader.WrntySuplrClmProcessingStatus AS WrntySuplrClmProcessingStatus,
  _WrntyClaimVersion._DecisionCode.WrntyClaimDecisionCodeCategory AS WrntyClaimDecisionCodeCategory,
  _WrntySuplrActvVersion.PurchasingOrganization AS PurchasingOrganization,
  WrntySuplrClaimRespPerson,
  _CalendarDate.CalendarWeek AS WarrantyClaimWeek,
  cast(1 as abap.int4) AS NumberOfItems,
  _WrntyClaimVersion.WrntyDecisionCode AS WrntyDecisionCode,
  _WrntyClaimVersion._DecisionCode._Text[1:Language=$session.system_language].WrntyDecisionCodeText AS WrntyDecisionCodeText
FROM I_WrntyClaimHeader
INNER JOIN R_WrntyClaimVersionTP AS _WrntyClaimVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON I_WrntyClaimHeader.WrntyClaimCreationDate = _CalendarDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN R_WrntyClaimVersionTP AS _WrntySuplrActvVersion ON WrntyClaimHeaderUUID = _WrntySuplrActvVersion.WrntyClaimHeaderUUID AND _WrntySuplrActvVersion.WrntyClmVersIsActvSuplrVersion = 'X'  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON WrntySupplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON WarrantyCustomer = _Customer.Customer  -- association [0..1]
;