C_DspDocFlwServiceOrderVH
Service Order
C_DspDocFlwServiceOrderVH is a Consumption CDS View that provides data about "Service Order" in SAP S/4HANA. It reads from 1 data source (I_ServiceOrderStdVH) and exposes 22 fields with key fields ServiceOrder, ServiceDocumentType. It is exposed through 1 OData service (ASQL_F2692). Part of development package ODATA_PROCESS_FLOW_AR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceOrderStdVH | ServiceOrder | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | ServiceOrder | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Service Order | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2692 | ASQL_F2692 | C2 | NOT_RELEASED |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrder | I_ServiceOrderStdVH | ServiceDocument | Transaction ID |
| KEY | ServiceDocumentType | I_ServiceOrderStdVH | ServiceDocumentType | Transaction Type |
| ServiceDocumentTypeName | ||||
| SalesOrganization | I_ServiceOrderStdVH | SalesOrganization | Sales Organization | |
| DistributionChannel | I_ServiceOrderStdVH | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | I_ServiceOrderStdVH | Division | Internal Division ID | |
| SalesOffice | I_ServiceOrderStdVH | SalesOffice | Sales Office | |
| SalesGroup | I_ServiceOrderStdVH | SalesGroup | Sales Group | |
| SalesOrganizationOrgUnitID | I_ServiceOrderStdVH | SalesOrganizationOrgUnitID | ||
| SalesOfficeOrgUnitID | I_ServiceOrderStdVH | SalesOfficeOrgUnitID | ||
| SalesGroupOrgUnitID | I_ServiceOrderStdVH | SalesGroupOrgUnitID | ||
| AnchorDocument | ||||
| ReferenceDocumentType | ||||
| _ServiceOrder | _ServiceOrder | |||
| _SalesOrganization | I_ServiceOrderStdVH | _SalesOrganization | ||
| _DistributionChannel | I_ServiceOrderStdVH | _DistributionChannel | ||
| _Division | I_ServiceOrderStdVH | _Division | ||
| _SalesOffice | I_ServiceOrderStdVH | _SalesOffice | ||
| _SalesGroup | I_ServiceOrderStdVH | _SalesGroup | ||
| _SalesOrganizationOrgUnit_2 | I_ServiceOrderStdVH | _SalesOrganizationOrgUnit_2 | ||
| _SalesOfficeOrgUnit_2 | I_ServiceOrderStdVH | _SalesOfficeOrgUnit_2 | ||
| _SalesGroupOrgUnit_2 | I_ServiceOrderStdVH | _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 C_DspDocFlwServiceOrderVH.
-- 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 C_DspDocFlwServiceOrderVH AS
SELECT
ServiceOrder.ServiceDocument AS ServiceOrder,
ServiceOrder.ServiceDocumentType AS ServiceDocumentType,
ServiceOrder._ServiceDocumentType. _ServiceDocumentTypeText[1:Language = $session.system_language].ServiceDocumentTypeName AS ServiceDocumentTypeName,
ServiceOrder.SalesOrganization AS SalesOrganization,
ServiceOrder.DistributionChannel AS DistributionChannel,
ServiceOrder.Division AS Division,
ServiceOrder.SalesOffice AS SalesOffice,
ServiceOrder.SalesGroup AS SalesGroup,
ServiceOrder.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
ServiceOrder.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
ServiceOrder.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
cast( ServiceOrder.ServiceDocument as fac_ddf_anchor_document ) AS AnchorDocument,
cast( 'CSVO' as fis_awtyp ) AS ReferenceDocumentType,
ServiceOrder._SalesOrganization AS _SalesOrganization,
ServiceOrder._DistributionChannel AS _DistributionChannel,
ServiceOrder._Division AS _Division,
ServiceOrder._SalesOffice AS _SalesOffice,
ServiceOrder._SalesGroup AS _SalesGroup,
ServiceOrder._SalesOrganizationOrgUnit_2 AS _SalesOrganizationOrgUnit_2,
ServiceOrder._SalesOfficeOrgUnit_2 AS _SalesOfficeOrgUnit_2,
ServiceOrder._SalesGroupOrgUnit_2 AS _SalesGroupOrgUnit_2
FROM I_ServiceOrderStdVH AS ServiceOrder
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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