C_UpcgSrvcContrItemRptgQuery

DDL: C_UPCGSRVCCONTRITEMRPTGQUERY SQL: CUPCGCITEMRPTGQ Type: view CONSUMPTION

Service Contract Items

C_UpcgSrvcContrItemRptgQuery is a Consumption CDS View that provides data about "Service Contract Items" in SAP S/4HANA. It reads from 1 data source (I_UpcgSrvcContrItemCube) and exposes 36 fields with key fields ServiceObjectType, ServiceContract, ServiceContractItem.

Data Sources (1)

SourceAliasJoin Type
I_UpcgSrvcContrItemCube I_UpcgSrvcContrItemCube from

Parameters (1)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency

Annotations (13)

NameValueLevelField
EndUserText.label Service Contract Items view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CUPCGCITEMRPTGQ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
Analytics.query true view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceContract ServiceContract Service Contract
KEY ServiceContractItem ServiceContractItem Service Contract Item
ServiceContractType ServiceContractType
ServiceContractDescription ServiceContractDescription
ServiceContractItemProduct ServiceContractItemProduct
ServiceContractItemStartDate ServiceContractItemStartDate Service Contract Item Start Date
ServiceContractItemEndDate ServiceContractItemEndDate Service Contract Item End Date
SrvcContrStartMonth SrvcContrStartMonth Calendar Month (Start)
SrvcContrStartQuarter SrvcContrStartQuarter Calendar Quarter (Start)
SrvcContrStartYear SrvcContrStartYear Calendar Year (Start)
SrvcContrEndMonth SrvcContrEndMonth Calendar Month (End)
SrvcContrEndQuarter SrvcContrEndQuarter Calendar Quarter (End)
SrvcContrEndYear SrvcContrEndYear Calendar Year (End)
ServiceDocItemCreationDate ServiceDocItemCreationDate
PostingDate PostingDate Posting Date
ServiceContractItemStatus ServiceContractItemStatus Item Life Cycle Status
ServiceContractItemCanclnParty ServiceContractItemCanclnParty Cancellation Party
ServiceContractItmCanclnReason ServiceContractItmCanclnReason Cancellation Reason
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
SoldToParty SoldToParty Sold-to Party
RespEmployeeBusinessPartnerId RespEmployeeBusinessPartnerId
RefBusinessSolutionOrder RefBusinessSolutionOrder Solution Order
SoldToPartyCountry SoldToPartyCountry
SoldToPartyRegion SoldToPartyRegion
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
DisplayCurrency
NmbrOfServiceContractItems NmbrOfServiceContractItems No. of Service Contract Items
NrOfExprgServiceContractItems NrOfExprgServiceContractItems No. of Expiring Service Contract Items in Next 6 Months
NrOfCancldServiceContractItems NrOfCancldServiceContractItems No. of Canceled Service Contract Items

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_UpcgSrvcContrItemRptgQuery.
-- 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: CUPCGCITEMRPTGQ
-- Parameters: P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW C_UpcgSrvcContrItemRptgQuery AS
SELECT
  ServiceObjectType,
  ServiceContract,
  ServiceContractItem,
  ServiceContractType,
  ServiceContractDescription,
  ServiceContractItemProduct,
  ServiceContractItemStartDate,
  ServiceContractItemEndDate,
  SrvcContrStartMonth,
  SrvcContrStartQuarter,
  SrvcContrStartYear,
  SrvcContrEndMonth,
  SrvcContrEndQuarter,
  SrvcContrEndYear,
  ServiceDocItemCreationDate,
  PostingDate,
  ServiceContractItemStatus,
  ServiceContractItemCanclnParty,
  ServiceContractItmCanclnReason,
  ProfitCenter,
  ControllingArea,
  PurchaseOrderByCustomer,
  SoldToParty,
  RespEmployeeBusinessPartnerId,
  RefBusinessSolutionOrder,
  SoldToPartyCountry,
  SoldToPartyRegion,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  NmbrOfServiceContractItems,
  NrOfExprgServiceContractItems,
  NrOfCancldServiceContractItems
FROM I_UpcgSrvcContrItemCube
;