C_ServiceOrderTemplateVH

DDL: C_SERVICEORDERTEMPLATEVH SQL: CSRVORDTMPLVH Type: view CONSUMPTION

List of Service Templates

C_ServiceOrderTemplateVH is a Consumption CDS View that provides data about "List of Service Templates" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 22 fields with key field ServiceDocument.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSRVORDTMPLVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label List of Service Templates view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Search.searchable true view
Consumption.ranked true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument Transaction ID
ServiceDocumentDescription ServiceDocumentDescription
ServiceObjectType ServiceObjectType Object Type
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocumentTypeName
ResponsibleEmployee ResponsibleEmployee Employee Resp.
ResponsibleEmployeeName _RespEmployee BusinessPartnerName Extracted Customer Name
ProductID _ServiceDocRefObj ProductID Product ID
ServiceDocumentIsReleased ServiceDocumentIsReleased
ServiceDocumentHasError ServiceDocumentHasError
SrvcDocTemplateSearchTermText SrvcDocTemplateSearchTermText
ServiceOrganization ServiceOrganization
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceDocumentTemplateType ServiceDocumentTemplateType
_ServiceDocRefObj _ServiceDocRefObj

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_ServiceOrderTemplateVH.
-- 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.
-- SQL view name: CSRVORDTMPLVH

CREATE VIEW C_ServiceOrderTemplateVH AS
SELECT
  ServiceDocument,
  ServiceDocumentDescription,
  ServiceObjectType,
  ServiceDocumentType,
  _ServiceDocumentType._ServiceDocumentTypeText[1:Language = $session.system_language].ServiceDocumentTypeName AS ServiceDocumentTypeName,
  ResponsibleEmployee,
  _RespEmployee.BusinessPartnerName AS ResponsibleEmployeeName,
  _ServiceDocRefObj.ProductID AS ProductID,
  ServiceDocumentIsReleased,
  ServiceDocumentHasError,
  SrvcDocTemplateSearchTermText,
  ServiceOrganization,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceDocumentTemplateType
FROM I_ServiceDocumentEnhcd
;