I_ServiceOrderItemCube
Cube for Service Order Item
I_ServiceOrderItemCube is a Composite CDS View (Cube) that provides data about "Cube for Service Order Item" in SAP S/4HANA. It reads from 1 data source (P_ServiceOrderItemDataCube) and exposes 101 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ServiceOrderItemDataCube | P_ServiceOrderItemDataCube | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_ServiceDocumentItem | _ServiceDocItemExt | $projection.ServiceObjectType = _ServiceDocItemExt.ServiceCategory and $projection.ServiceDocument = _ServiceDocItemExt.ServiceOrderItem and $projection.ServiceDocumentItem = _ServiceDocItemExt.ServiceLineExternalID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Cube for Service Order Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ISRVCORDITMCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (101)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | ServiceObjectType | Object Type | |
| KEY | ServiceDocument | ServiceDocument | Transaction ID | |
| KEY | ServiceDocumentItem | ServiceDocumentItem | Service Document | |
| ServiceDocumentDescription | ServiceDocumentDescription | |||
| ServiceDocumentItemPriority | ServiceDocumentItemPriority | |||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ServiceDocumentCreationDate | ServiceDocumentCreationDate | |||
| ServiceDocumentPriority | ServiceDocumentPriority | |||
| ServiceDocumentStatus | ServiceDocumentStatus | |||
| ServiceDocumentIsOpen | ServiceDocumentIsOpen | |||
| ResponsibleEmployee | ResponsibleEmployee | Employee Resp. | ||
| ContactPersonBusinessPartnerId | ContactPersonBusinessPartnerId | |||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| RefBusinessSolutionOrder | RefBusinessSolutionOrder | |||
| ServiceDocumentItemStatus | ServiceDocumentItemStatus | |||
| ServiceDocumentItemHasError | ServiceDocumentItemHasError | |||
| ServiceDocumentItemIsOpen | ServiceDocumentItemIsOpen | |||
| ServiceDocItemCreationDate | ServiceDocItemCreationDate | |||
| ServiceDocItemCategory | ServiceDocItemCategory | |||
| ServiceDocumentItemNetAmount | ServiceDocumentItemNetAmount | |||
| RequestedServiceStartDateTime | RequestedServiceStartDateTime | |||
| RequestedServiceEndDateTime | RequestedServiceEndDateTime | |||
| RequestedServiceStartDate | RequestedServiceStartDate | |||
| RequestedServiceEndDate | RequestedServiceEndDate | |||
| ServiceFirstResponseByDate | ServiceFirstResponseByDate | |||
| SrvcDocItemSLADueByDate | SrvcDocItemSLADueByDate | |||
| PlannedServiceStartDate | PlannedServiceStartDate | |||
| PlannedServiceEndDate | PlannedServiceEndDate | |||
| SrvcOrdItmByReqdStrtWkNmbr | SrvcOrdItmByReqdStrtWkNmbr | |||
| SrvcOrdItmByReqdEndWkNmbr | SrvcOrdItmByReqdEndWkNmbr | |||
| SrvcOrdItmByPlndStrtWkNmbr | SrvcOrdItmByPlndStrtWkNmbr | |||
| SrvcOrdItmByPlndEndWkNmbr | SrvcOrdItmByPlndEndWkNmbr | |||
| SrvcOrdItmBy1stRspWkNmbr | SrvcOrdItmBy1stRspWkNmbr | |||
| SrvcOrdItmByToDoWkNmbr | SrvcOrdItmByToDoWkNmbr | |||
| NmbrOfIncompleteServiceOrders | NmbrOfIncompleteServiceOrders | |||
| NumberOfOverdueServiceOrders | NumberOfOverdueServiceOrders | |||
| int4endasNmbrOfSrvcOrdItmsByReqdStrtWk | ||||
| int4endasNmbrOfSrvcOrdItmsByReqdEndWk | ||||
| int4endasNmbrOfSrvcOrdItmsByPlndStrtWk | ||||
| int4endasNmbrOfSrvcOrdItmsByPlndEndWk | ||||
| int4endasNmbrOfSrvcOrdItmsBy1stRspWk | ||||
| int4endasNmbrOfSrvcOrdItmsByDueByWk | ||||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| ServiceOrganization | ServiceOrganization | |||
| SalesOrganizationOrgUnitID | SalesOrganizationOrgUnitID | |||
| SalesOfficeOrgUnitID | SalesOfficeOrgUnitID | |||
| SalesGroupOrgUnitID | SalesGroupOrgUnitID | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| ServiceReferenceObjectType | ServiceReferenceObjectType | |||
| Equipment | Equipment | Equipment check | ||
| ReferenceObjectID | ReferenceObjectID | Reference Object ID | ||
| SrvcRefObjName | SrvcRefObjName | |||
| RespyMgmtServiceTeam | RespyMgmtServiceTeam | |||
| RespyMgmtServiceTeamDesc | RespyMgmtServiceTeamDesc | |||
| TeamName | TeamName | |||
| Product | Product | Product Sold | ||
| _ServiceDocItemCategory | _ServiceDocItemCategory | |||
| _ServiceDocItemPriority | _ServiceDocItemPriority | |||
| _ServiceDocItemStatus | _ServiceDocItemStatus | |||
| _SrvcDocItmLifecycleStatus | _SrvcDocItmLifecycleStatus | |||
| _ServiceDocItemHasError | _ServiceDocItemHasError | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _ServiceDocument | _ServiceDocument | |||
| _ServiceObjType | _ServiceObjType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _SalesOrganizationOrgUnit | _SalesOrganizationOrgUnit | |||
| _SalesOfficeOrgUnit | _SalesOfficeOrgUnit | |||
| _SalesGroupOrgUnit | _SalesGroupOrgUnit | |||
| _SalesOrganizationOrgUnit_2 | _SalesOrganizationOrgUnit_2 | |||
| _SalesOfficeOrgUnit_2 | _SalesOfficeOrgUnit_2 | |||
| _SalesGroupOrgUnit_2 | _SalesGroupOrgUnit_2 | |||
| _SalesOrganization | _SalesOrganization | |||
| _SalesOffice | _SalesOffice | |||
| _SalesGroup | _SalesGroup | |||
| _Division | _Division | |||
| _DistributionChannel | _DistributionChannel | |||
| _SoldToParty | _SoldToParty | |||
| _RespEmployee | _RespEmployee | |||
| _ContactPerson | _ContactPerson | |||
| _ShipToParty | _ShipToParty | |||
| _ServiceDocumentPriority | _ServiceDocumentPriority | |||
| _ServiceDocumentStatus | _ServiceDocumentStatus | |||
| _SrvcDocLifecycleStatus | _SrvcDocLifecycleStatus | |||
| _ServiceDocumentIsOpen | _ServiceDocumentIsOpen | |||
| _ServiceDocumentItemIsOpen | _ServiceDocumentItemIsOpen | |||
| _SrvcOrdItmByReqdStrtWkNmbr | _SrvcOrdItmByReqdStrtWkNmbr | |||
| _SrvcOrdItmByReqdEndWkNmbr | _SrvcOrdItmByReqdEndWkNmbr | |||
| _SrvcOrdItmByPlndStrtWkNmbr | _SrvcOrdItmByPlndStrtWkNmbr | |||
| _SrvcOrdItmByPlndEndWkNmbr | _SrvcOrdItmByPlndEndWkNmbr | |||
| _SrvcOrdItmBy1stRspWkNmbr | _SrvcOrdItmBy1stRspWkNmbr | |||
| _SrvcOrdItmByToDoWkNmbr | _SrvcOrdItmByToDoWkNmbr | |||
| _Equipment | _Equipment | |||
| _SrvcReferenceObjectType | _SrvcReferenceObjectType | |||
| _ServiceTeamHeader | _ServiceTeamHeader | |||
| _Product | _Product |
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_ServiceOrderItemCube.
-- 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.
CREATE VIEW I_ServiceOrderItemCube AS
SELECT
ServiceObjectType,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentDescription,
ServiceDocumentItemPriority,
ServiceDocumentType,
PostingDate,
TransactionCurrency,
ServiceDocumentCreationDate,
ServiceDocumentPriority,
ServiceDocumentStatus,
ServiceDocumentIsOpen,
ResponsibleEmployee,
ContactPersonBusinessPartnerId,
ShipToParty,
RefBusinessSolutionOrder,
ServiceDocumentItemStatus,
ServiceDocumentItemHasError,
ServiceDocumentItemIsOpen,
ServiceDocItemCreationDate,
ServiceDocItemCategory,
ServiceDocumentItemNetAmount,
RequestedServiceStartDateTime,
RequestedServiceEndDateTime,
RequestedServiceStartDate,
RequestedServiceEndDate,
ServiceFirstResponseByDate,
SrvcDocItemSLADueByDate,
PlannedServiceStartDate,
PlannedServiceEndDate,
SrvcOrdItmByReqdStrtWkNmbr,
SrvcOrdItmByReqdEndWkNmbr,
SrvcOrdItmByPlndStrtWkNmbr,
SrvcOrdItmByPlndEndWkNmbr,
SrvcOrdItmBy1stRspWkNmbr,
SrvcOrdItmByToDoWkNmbr,
NmbrOfIncompleteServiceOrders,
NumberOfOverdueServiceOrders,
case when SrvcOrdItmByReqdStrtWkNmbr between '0000' and '0106' or SrvcOrdItmByReqdStrtWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsByReqdStrtWk AS int4endasNmbrOfSrvcOrdItmsByReqdStrtWk,
case when SrvcOrdItmByReqdEndWkNmbr between '0000' and '0106' or SrvcOrdItmByReqdEndWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsByReqdEndWk AS int4endasNmbrOfSrvcOrdItmsByReqdEndWk,
case when SrvcOrdItmByPlndStrtWkNmbr between '0000' and '0106' or SrvcOrdItmByPlndStrtWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsByPlndStrtWk AS int4endasNmbrOfSrvcOrdItmsByPlndStrtWk,
case when SrvcOrdItmByPlndEndWkNmbr between '0000' and '0106' or SrvcOrdItmByPlndEndWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsByPlndEndWk AS int4endasNmbrOfSrvcOrdItmsByPlndEndWk,
case when SrvcOrdItmBy1stRspWkNmbr between '0000' and '0106' or SrvcOrdItmBy1stRspWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsBy1stRspWk AS int4endasNmbrOfSrvcOrdItmsBy1stRspWk,
case when SrvcOrdItmByToDoWkNmbr between '0000' and '0106' or SrvcOrdItmByToDoWkNmbr = '' then cast(1 as abap.int4) end as NmbrOfSrvcOrdItmsByDueByWk AS int4endasNmbrOfSrvcOrdItmsByDueByWk,
SalesOrganization,
SalesOffice,
SalesGroup,
DistributionChannel,
Division,
ServiceOrganization,
SalesOrganizationOrgUnitID,
SalesOfficeOrgUnitID,
SalesGroupOrgUnitID,
SoldToParty,
ServiceReferenceObjectType,
Equipment,
ReferenceObjectID,
SrvcRefObjName,
RespyMgmtServiceTeam,
RespyMgmtServiceTeamDesc,
TeamName,
Product
FROM P_ServiceOrderItemDataCube
LEFT OUTER JOIN E_ServiceDocumentItem AS _ServiceDocItemExt ON ServiceObjectType = _ServiceDocItemExt.ServiceCategory AND ServiceDocument = _ServiceDocItemExt.ServiceOrderItem AND ServiceDocumentItem = _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