C_UpcgSrvcContrItemRptgQuery
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)
| Source | Alias | Join Type |
|---|---|---|
| I_UpcgSrvcContrItemCube | I_UpcgSrvcContrItemCube | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | vdm_v_display_currency |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA