C_WrntyCustClmOvwClmPerMnth

DDL: C_WRNTYCUSTCLMOVWCLMPERMNTH SQL: CWTYCUSTOVPCLMS Type: view CONSUMPTION

Stacked Chart for Customer Claim Per Month

C_WrntyCustClmOvwClmPerMnth is a Consumption CDS View that provides data about "Stacked Chart for Customer Claim Per Month" in SAP S/4HANA. It reads from 2 data sources (R_WrntyClaimVersionTP, I_WrntyClaimHeader) and exposes 22 fields. It has 3 associations to related views. It is exposed through 1 OData service (UI_WARRANTYCUSTCLAIM_OVW).

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 (3)

CardinalityTargetAliasCondition
[0..1] I_CalendarDate _CalendarDate I_WrntyClaimHeader.WrntyClaimCreationDate = _CalendarDate.CalendarDate
[0..1] I_Customer _Customer $projection.WarrantyCustomer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.WrntySupplier = _Supplier.Supplier

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CWTYCUSTOVPCLMS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #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 Customer Claim Per Month view

OData Services (1)

ServiceBindingVersionContractRelease
UI_WARRANTYCUSTCLAIM_OVW UI_WARRANTYCUSTCLAIM_OVW V2 C1 NOT_RELEASED

Fields (22)

KeyFieldSource TableSource FieldDescription
resultElementStartDate
resultElementFirstDayOfWeekDate
WrntyClaimHeaderUUID
WarrantyClaimNumber WarrantyClaimNumber Claim
WarrantyCustomer WarrantyCustomer Partner
Plant Plant Valuation Area
WrntyClaimCreationDate I_WrntyClaimHeader WrntyClaimCreationDate Created On
WarrantyClaimWeek _CalendarDate CalendarWeek Calendar Week
WrntyDecisionCode R_WrntyClaimVersionTP WrntyDecisionCode Decision
WrntyBillingDocumentDate R_WrntyClaimVersionTP WrntyBillingDocumentDate Billing Date
WarrantyClaimType WarrantyClaimType WtyClmType
WrntySupplier WrntySupplier Partner(Suplr)
WrntyCustClmProcessingStatus I_WrntyClaimHeader WrntyCustClmProcessingStatus Processing Status
SalesOrganization R_WrntyClaimVersionTP SalesOrganization Sales Organization
WrntyClaimDecisionCodeCategory
WrntyCustClaimRespPerson WrntyCustClaimRespPerson Person Respons.
WrntyDecisionCodeText
NumberOfItems Number of Claims
_CalendarDate _CalendarDate
_Supplier _Supplier
_DecisionCode _DecisionCode
_Customer _Customer

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

CREATE VIEW C_WrntyCustClmOvwClmPerMnth AS
SELECT
  resultElement : 'StartDate' AS resultElementStartDate,
  resultElement : 'FirstDayOfWeekDate' AS resultElementFirstDayOfWeekDate,
  binding : [{ targetParameter : 'P_CheckStatus', type : #PARAMETER, value : 'P_CheckStatus' AS WrntyClaimHeaderUUID,
  WarrantyClaimNumber,
  WarrantyCustomer,
  Plant,
  I_WrntyClaimHeader.WrntyClaimCreationDate AS WrntyClaimCreationDate,
  _CalendarDate.CalendarWeek AS WarrantyClaimWeek,
  _WrntyClaimVersion.WrntyDecisionCode AS WrntyDecisionCode,
  _WrntyClaimVersion.WrntyBillingDocumentDate AS WrntyBillingDocumentDate,
  WarrantyClaimType,
  WrntySupplier,
  I_WrntyClaimHeader.WrntyCustClmProcessingStatus AS WrntyCustClmProcessingStatus,
  _WrntyClaimVersion.SalesOrganization AS SalesOrganization,
  _WrntyClaimVersion._DecisionCode.WrntyClaimDecisionCodeCategory AS WrntyClaimDecisionCodeCategory,
  WrntyCustClaimRespPerson,
  _WrntyClaimVersion._DecisionCode._Text[1:Language=$session.system_language].WrntyDecisionCodeText AS WrntyDecisionCodeText,
  cast(1 as abap.int4) AS NumberOfItems
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 I_Customer AS _Customer ON WarrantyCustomer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON WrntySupplier = _Supplier.Supplier  -- association [0..1]
;