I_ServiceContractItemCube
Service Contract Item - Cube
I_ServiceContractItemCube is a Composite CDS View (Cube) that provides data about "Service Contract Item - Cube" in SAP S/4HANA. It reads from 1 data source (P_ServiceContractItemCube) and exposes 56 fields with key fields ServiceObjectType, ServiceContract, ServiceContractItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ServiceContractItemCube | P_ServiceContractItemCube | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | vdm_v_display_currency |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_ServiceDocumentItem | _ServiceDocItemExt | $projection.ServiceObjectType = _ServiceDocItemExt.ServiceCategory and $projection.ServiceContract = _ServiceDocItemExt.ServiceOrderItem and $projection.ServiceContractItem = _ServiceDocItemExt.ServiceLineExternalID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ISRVCCONTRITMCB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | ServiceContractItem | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| EndUserText.label | Service Contract Item - Cube | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | ServiceObjectType | Object Type | |
| KEY | ServiceContract | ServiceContract | Transaction ID | |
| KEY | ServiceContractItem | ServiceContractItem | Item Number in Doc. | |
| ServiceContractItemDescription | ServiceContractItemDescription | |||
| ServiceContractType | ServiceContractType | Transaction Type | ||
| RefBusinessSolutionOrderItem | RefBusinessSolutionOrderItem | |||
| Product | Product | Product Sold | ||
| ServiceContractItemStatus | ServiceContractItemStatus | |||
| ServiceDocumentItemIsOpen | ServiceDocumentItemIsOpen | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | External Reference | ||
| DisplayCurrency | ||||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| ServiceOrganization | ServiceOrganization | |||
| SalesOrganizationOrgUnitID | SalesOrganizationOrgUnitID | |||
| SalesOfficeOrgUnitID | SalesOfficeOrgUnitID | |||
| SalesGroupOrgUnitID | SalesGroupOrgUnitID | |||
| ServiceContractItemStartDate | ServiceContractItemStartDate | |||
| ServiceContractItemEndDate | ServiceContractItemEndDate | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| RespEmployeeBusinessPartnerId | ResponsibleEmployee | Employee Resp. | ||
| ContactPersonBusinessPartnerId | ContactPerson | Contact Person Key | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| RefBusinessSolutionOrder | RefBusinessSolutionOrder | |||
| NrOfExprgServiceContractItems | NrOfExprgServiceContractItems | |||
| ActualProcessingEndDate | ActualProcessingEndDate | |||
| _ServiceObjType | _ServiceObjType | |||
| _ServiceContract | _ServiceContract | |||
| _ServiceDocument | _ServiceDocument | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _ServiceContractType | _ServiceContractType | |||
| _ServiceDocumentIsOpen | _ServiceDocumentIsOpen | |||
| _ServiceDocItemStatus | _ServiceDocItemStatus | |||
| _SrvcDocItmLifecycleStatus | _SrvcDocItmLifecycleStatus | |||
| _ExpiringCalendarMonth | _ExpiringCalendarMonth | |||
| _DistributionChannel | _DistributionChannel | |||
| _CalendarMonth | _CalendarMonth | |||
| _Division | _Division | |||
| _SalesGroup | _SalesGroup | |||
| _RespEmployee | _RespEmployee | |||
| _Product | _Product | |||
| _ContactPerson | _ContactPerson | |||
| _ShipToParty | _ShipToParty | |||
| _SalesOffice | _SalesOffice | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToParty | _SoldToParty | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _ServiceOrganizationOrgUnit_2 | _ServiceOrganizationOrgUnit_2 | |||
| _SalesOrganizationOrgUnit_2 | _SalesOrganizationOrgUnit_2 | |||
| _SalesOfficeOrgUnit_2 | _SalesOfficeOrgUnit_2 | |||
| _SalesGroupOrgUnit_2 | _SalesGroupOrgUnit_2 |
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 I_ServiceContractItemCube.
-- 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.
-- Parameters: P_DisplayCurrency : vdm_v_display_currency
CREATE VIEW I_ServiceContractItemCube AS
SELECT
ServiceObjectType,
ServiceContract,
ServiceContractItem,
ServiceContractItemDescription,
ServiceContractType,
RefBusinessSolutionOrderItem,
Product,
ServiceContractItemStatus,
ServiceDocumentItemIsOpen,
TransactionCurrency,
CalendarMonth,
PurchaseOrderByCustomer,
cast(:P_DisplayCurrency as currency) AS DisplayCurrency,
SalesOrganization,
DistributionChannel,
Division,
SalesOffice,
SalesGroup,
ServiceOrganization,
SalesOrganizationOrgUnitID,
SalesOfficeOrgUnitID,
SalesGroupOrgUnitID,
ServiceContractItemStartDate,
ServiceContractItemEndDate,
SoldToParty,
ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
ContactPerson AS ContactPersonBusinessPartnerId,
ShipToParty,
RefBusinessSolutionOrder,
NrOfExprgServiceContractItems,
ActualProcessingEndDate
FROM P_ServiceContractItemCube
LEFT OUTER JOIN E_ServiceDocumentItem AS _ServiceDocItemExt ON ServiceObjectType = _ServiceDocItemExt.ServiceCategory AND ServiceContract = _ServiceDocItemExt.ServiceOrderItem AND ServiceContractItem = _ServiceDocItemExt.ServiceLineExternalID -- association [0..1]
;
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