A_ServiceContractTemplate

DDL: A_SERVICECONTRACTTEMPLATE Type: view_entity CONSUMPTION

Service Contact Template

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

Data Sources (1)

SourceAliasJoin Type
R_ServiceContractTemplateTP R_ServiceContractTemplateTP projection

Annotations (9)

NameValueLevelField
EndUserText.label Service Contact Template view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name ServiceContractTemplate_Type view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY ServiceContractTemplate ServiceContractTemplate Transaction ID
ServiceObjectType ServiceObjectType Object Type
ServiceContractTemplateType ServiceContractTemplateType Transaction Type
SrvcContrTmplDescription SrvcContrTmplDescription
Language Language Report Text Language
ServiceDocCreationDateTime ServiceDocCreationDateTime
ServiceDocChangedDateTime ServiceDocChangedDateTime
ServiceDocumentCreatedByUser ServiceDocumentCreatedByUser
ServiceDocumentChangedByUser ServiceDocumentChangedByUser
PostingDate PostingDate Posting Date for GR
SrvcContrTmplValdtyStrtDteTime SrvcContrTmplValdtyStrtDteTime
SrvcContrTmplValdtyEndDateTime SrvcContrTmplValdtyEndDateTime
SrvcContrDuration SrvcContrDuration
SrvcContrDurationUnitSAPCode SrvcContrDurationUnitSAPCode
SrvcContrDurationUnitISOCode _SrvcContrTmplDurnUnit UnitOfMeasureISOCode
SrvcContrTmplStatus SrvcContrTmplStatus
SrvcContrTmplHasError ServiceDocumentHasError
SrvcContrTmplIsNew SrvcContrTmplIsNew
SrvcContrTmplIsInProcess SrvcContrTmplIsInProcess
SrvcContrTmplIsReleased SrvcContrTmplIsReleased
SrvcContrTmplIsCompleted SrvcContrTmplIsCompleted
RespEmployeeBusinessPartnerId RespEmployeeBusinessPartnerId Employee Resp.
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Purchase Order Date

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 A_ServiceContractTemplate.
-- 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 A_ServiceContractTemplate AS
SELECT
  ServiceContractTemplate,
  ServiceObjectType,
  ServiceContractTemplateType,
  SrvcContrTmplDescription,
  Language,
  ServiceDocCreationDateTime,
  ServiceDocChangedDateTime,
  ServiceDocumentCreatedByUser,
  ServiceDocumentChangedByUser,
  PostingDate,
  SrvcContrTmplValdtyStrtDteTime,
  SrvcContrTmplValdtyEndDateTime,
  SrvcContrDuration,
  SrvcContrDurationUnitSAPCode,
  _SrvcContrTmplDurnUnit.UnitOfMeasureISOCode AS SrvcContrDurationUnitISOCode,
  SrvcContrTmplStatus,
  ServiceDocumentHasError AS SrvcContrTmplHasError,
  SrvcContrTmplIsNew,
  SrvcContrTmplIsInProcess,
  SrvcContrTmplIsReleased,
  SrvcContrTmplIsCompleted,
  RespEmployeeBusinessPartnerId,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderDate
FROM R_ServiceContractTemplateTP
;