R_VarCnfHistlConstraintNetTP

DDL: R_VARCNFHISTLCONSTRAINTNETTP Type: view_entity TRANSACTIONAL Package: VCH_RAP_MD_CNET

VC Historical Constraint Net - TP

R_VarCnfHistlConstraintNetTP is a Transactional CDS View that provides data about "VC Historical Constraint Net - TP" in SAP S/4HANA. It reads from 1 data source (I_VarCnfHistlConstraintNet) and exposes 18 fields with key fields VarCnfConstraintNetName, ChangeNumber. It has 2 associations to related views. Part of development package VCH_RAP_MD_CNET.

Data Sources (1)

SourceAliasJoin Type
I_VarCnfHistlConstraintNet I_VarCnfHistlConstraintNet from

Associations (2)

CardinalityTargetAliasCondition
[0..*] R_VarCnfHistlConstraintTP _HistoricalConstraint _HistoricalConstraint.VarCnfConstraintNetName = $projection.VarCnfConstraintNetName and _HistoricalConstraint.ValidityStartDate <= $projection.ValidityEndDate and _HistoricalConstraint.ValidityEndDate >= $projection.ValidityStartDate
[1..*] R_VarCnfHistlCstrtNetTextTP _HistoricalText _HistoricalText.VarCnfConstraintNetName = $projection.VarCnfConstraintNetName and _HistoricalText.ValidityStartDate <= $projection.ValidityEndDate and _HistoricalText.ValidityEndDate >= $projection.ValidityStartDate

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label VC Historical Constraint Net - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY VarCnfConstraintNetName VarCnfConstraintNetName
KEY ChangeNumber ChangeNumber Change Number
ObjectDependencyStatus ObjectDependencyStatus
ObjectDependencyGroup ObjectDependencyGroup
ObjDpndcyAuthorizationGroup ObjDpndcyAuthorizationGroup
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
IsDeleted IsDeleted TRUE
_ConstraintNet _ConstraintNet
_HistoricalConstraint _HistoricalConstraint
_HistoricalText _HistoricalText
_StatusText _StatusText
_GroupText _GroupText
_AuthorizationGroupText _AuthorizationGroupText

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 R_VarCnfHistlConstraintNetTP.
-- 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 R_VarCnfHistlConstraintNetTP AS
SELECT
  VarCnfConstraintNetName,
  ChangeNumber,
  ObjectDependencyStatus,
  ObjectDependencyGroup,
  ObjDpndcyAuthorizationGroup,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ValidityStartDate,
  ValidityEndDate,
  IsDeleted
FROM I_VarCnfHistlConstraintNet
LEFT OUTER JOIN R_VarCnfHistlConstraintTP AS _HistoricalConstraint ON _HistoricalConstraint.VarCnfConstraintNetName = VarCnfConstraintNetName AND _HistoricalConstraint.ValidityStartDate <= ValidityEndDate AND _HistoricalConstraint.ValidityEndDate >= ValidityStartDate  -- association [0..*]
LEFT OUTER JOIN R_VarCnfHistlCstrtNetTextTP AS _HistoricalText ON _HistoricalText.VarCnfConstraintNetName = VarCnfConstraintNetName AND _HistoricalText.ValidityStartDate <= ValidityEndDate AND _HistoricalText.ValidityEndDate >= ValidityStartDate  -- association [1..*]
;