C_DspDocFlwServiceOrderVH

DDL: C_DSPDOCFLWSERVICEORDERVH Type: view_entity CONSUMPTION Package: ODATA_PROCESS_FLOW_AR

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)

SourceAliasJoin Type
I_ServiceOrderStdVH ServiceOrder from

Annotations (11)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
ASQL_F2692 ASQL_F2692 C2 NOT_RELEASED

Fields (22)

KeyFieldSource TableSource FieldDescription
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
;