A_UtilsSlsContractItemDuration

DDL: A_UTILSSLSCONTRACTITEMDURATION Type: view_entity CONSUMPTION

Utilities Sales Contract Item Duration

A_UtilsSlsContractItemDuration is a Consumption CDS View that provides data about "Utilities Sales Contract Item Duration" in SAP S/4HANA. It reads from 1 data source (R_UtilsSlsContrItemDurationTP) and exposes 7 fields with key fields UtilsSalesContractObjectType, UtilitiesSalesContract, UtilitiesSalesContractItem, SrvcDocDurationType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_UtilsSlsContrItemDurationTP R_UtilsSlsContrItemDurationTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_UtilitiesSalesContract _UtilitiesSalesContract $projection.UtilsSalesContractObjectType = _UtilitiesSalesContract.UtilsSalesContractObjectType and $projection.UtilitiesSalesContract = _UtilitiesSalesContract.UtilitiesSalesContract

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Utilities Sales Contract Item Duration view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
OData.entityType.name UtilsSlsContractItemDuration_Type view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY UtilsSalesContractObjectType UtilsSalesContractObjectType
KEY UtilitiesSalesContract UtilitiesSalesContract
KEY UtilitiesSalesContractItem UtilitiesSalesContractItem
KEY SrvcDocDurationType SrvcDocDurationType
SrvcDocDurationValue SrvcDocDurationValue
SrvcDocDurationUnit SrvcDocDurationUnit
_UtilitiesSalesContract _UtilitiesSalesContract

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_UtilsSlsContractItemDuration.
-- 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_UtilsSlsContractItemDuration AS
SELECT
  UtilsSalesContractObjectType,
  UtilitiesSalesContract,
  UtilitiesSalesContractItem,
  SrvcDocDurationType,
  SrvcDocDurationValue,
  SrvcDocDurationUnit
FROM R_UtilsSlsContrItemDurationTP
LEFT OUTER JOIN A_UtilitiesSalesContract AS _UtilitiesSalesContract ON UtilsSalesContractObjectType = _UtilitiesSalesContract.UtilsSalesContractObjectType AND UtilitiesSalesContract = _UtilitiesSalesContract.UtilitiesSalesContract  -- association [0..1]
;