C_ServiceContractTemplateVH

DDL: C_SERVICECONTRACTTEMPLATEVH Type: view_entity CONSUMPTION

Service Contract Template

C_ServiceContractTemplateVH is a Consumption CDS View that provides data about "Service Contract Template" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 14 fields with key field ServiceContractTemplate.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey ServiceContractTemplate view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Service Contract Template view
Search.searchable true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ServiceContractTemplate ServiceDocument Template ID
SrvcContrTmplDescription ServiceDocumentDescription Description
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceObjectType ServiceObjectType Object Type
SalesOrganization SalesOrganization Sales Organization
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
RespEmployeeBusinessPartnerId ResponsibleEmployee Employee Resp.

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_ServiceContractTemplateVH.
-- 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_ServiceContractTemplateVH AS
SELECT
  ServiceDocument AS ServiceContractTemplate,
  ServiceDocumentDescription AS SrvcContrTmplDescription,
  ServiceDocumentType,
  ServiceObjectType,
  SalesOrganization,
  SalesOffice,
  SalesGroup,
  DistributionChannel,
  Division,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceOrganization,
  ResponsibleEmployee AS RespEmployeeBusinessPartnerId
FROM I_ServiceDocumentEnhcd
;