P_SrvcOpenOrderWorkList
P_SrvcOpenOrderWorkList is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_ServiceOrderEnhcd, I_SrvcEmployeeDetsByLoginUser, I_ServiceDocumentItemEnhcd) and exposes 27 fields with key fields ServiceOrder, ServiceDocumentItem.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceOrderEnhcd | _ServiceOrder | inner |
| I_SrvcEmployeeDetsByLoginUser | _SrvcEmployeeDetsByLoginUser | inner |
| I_ServiceDocumentItemEnhcd | I_ServiceDocumentItemEnhcd | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrder | I_ServiceDocumentItemEnhcd | ServiceDocument | Transaction ID |
| KEY | ServiceDocumentItem | I_ServiceDocumentItemEnhcd | ServiceDocumentItem | Service Document |
| ServiceOrderDescription | I_ServiceDocumentItemEnhcd | ServiceDocumentDescription | ||
| BusinessPartnerName | ||||
| ServiceOrderPriority | I_ServiceOrderEnhcd | ServiceOrderPriority | ||
| ServiceDocumentPriorityName | ||||
| RequestedServiceStartDate | I_ServiceOrderEnhcd | RequestedServiceStartDate | ||
| RequestedServiceEndDate | I_ServiceOrderEnhcd | RequestedServiceEndDate | ||
| ActualDurationInHours | I_ServiceOrderEnhcd | ActualDurationInHours | ||
| ResponsibleEmployee | I_ServiceOrderEnhcd | ResponsibleEmployee | Employee Resp. | |
| ServiceOrderStatus | I_ServiceOrderEnhcd | ServiceOrderStatus | ||
| SrvcConfGrossAmount | I_ServiceOrderEnhcd | SrvcConfGrossAmount | ||
| ServiceDocGrossAmount | I_ServiceOrderEnhcd | ServiceDocGrossAmount | ||
| TransactionCurrency | I_ServiceOrderEnhcd | TransactionCurrency | Transaction Currency | |
| SalesOrganization | I_ServiceDocumentItemEnhcd | SalesOrganization | Sales Organization | |
| DistributionChannel | I_ServiceDocumentItemEnhcd | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | I_ServiceDocumentItemEnhcd | Division | Internal Division ID | |
| SalesOffice | I_ServiceDocumentItemEnhcd | SalesOffice | Sales Office | |
| SalesGroup | I_ServiceDocumentItemEnhcd | SalesGroup | Sales Group | |
| ServiceObjectType | I_ServiceDocumentItemEnhcd | ServiceObjectType | Object Type | |
| ServiceDocumentUUID | I_ServiceDocumentItemEnhcd | ServiceDocumentUUID | Object GUID | |
| ServiceDocumentType | I_ServiceDocumentItemEnhcd | ServiceDocumentType | Transaction Type | |
| SalesOrganizationOrgUnitID | I_ServiceDocumentItemEnhcd | SalesOrganizationOrgUnitID | ||
| SalesOfficeOrgUnitID | I_ServiceDocumentItemEnhcd | SalesOfficeOrgUnitID | ||
| SalesGroupOrgUnitID | I_ServiceDocumentItemEnhcd | SalesGroupOrgUnitID | ||
| ServiceOrganization | I_ServiceDocumentItemEnhcd | ServiceOrganization | ||
| SoldToParty | I_ServiceDocumentItemEnhcd | SoldToParty | Sold-to Party |
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 P_SrvcOpenOrderWorkList.
-- 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 P_SrvcOpenOrderWorkList AS
SELECT
I_ServiceDocumentItemEnhcd.ServiceDocument AS ServiceOrder,
I_ServiceDocumentItemEnhcd.ServiceDocumentItem AS ServiceDocumentItem,
I_ServiceDocumentItemEnhcd.ServiceDocumentDescription AS ServiceOrderDescription,
_ServiceOrder._SoldToParty.BusinessPartnerName AS BusinessPartnerName,
_ServiceOrder.ServiceOrderPriority AS ServiceOrderPriority,
_ServiceOrder._ServiceDocumentPriority._ServiceDocumentPriorityText[1:Language = $session.system_language].ServiceDocumentPriorityName AS ServiceDocumentPriorityName,
_ServiceOrder.RequestedServiceStartDate AS RequestedServiceStartDate,
_ServiceOrder.RequestedServiceEndDate AS RequestedServiceEndDate,
_ServiceOrder.ActualDurationInHours AS ActualDurationInHours,
_ServiceOrder.ResponsibleEmployee AS ResponsibleEmployee,
_ServiceOrder.ServiceOrderStatus AS ServiceOrderStatus,
_ServiceOrder.SrvcConfGrossAmount AS SrvcConfGrossAmount,
_ServiceOrder.ServiceDocGrossAmount AS ServiceDocGrossAmount,
_ServiceOrder.TransactionCurrency AS TransactionCurrency,
I_ServiceDocumentItemEnhcd.SalesOrganization AS SalesOrganization,
I_ServiceDocumentItemEnhcd.DistributionChannel AS DistributionChannel,
I_ServiceDocumentItemEnhcd.Division AS Division,
I_ServiceDocumentItemEnhcd.SalesOffice AS SalesOffice,
I_ServiceDocumentItemEnhcd.SalesGroup AS SalesGroup,
I_ServiceDocumentItemEnhcd.ServiceObjectType AS ServiceObjectType,
I_ServiceDocumentItemEnhcd.ServiceDocumentUUID AS ServiceDocumentUUID,
I_ServiceDocumentItemEnhcd.ServiceDocumentType AS ServiceDocumentType,
I_ServiceDocumentItemEnhcd.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
I_ServiceDocumentItemEnhcd.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
I_ServiceDocumentItemEnhcd.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
I_ServiceDocumentItemEnhcd.ServiceOrganization AS ServiceOrganization,
I_ServiceDocumentItemEnhcd.SoldToParty AS SoldToParty
FROM I_ServiceDocumentItemEnhcd
INNER JOIN I_SrvcEmployeeDetsByLoginUser AS _SrvcEmployeeDetsByLoginUser ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceOrderEnhcd AS _ServiceOrder ON /* join condition not captured in parsed metadata */
;
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