R_VarCnfCstrtSourceCodeTP

DDL: R_VARCNFCSTRTSOURCECODETP Type: view_entity TRANSACTIONAL Package: VCH_RAP_MD_CNET

VC Constraint Source Code - TP

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

Data Sources (1)

SourceAliasJoin Type
I_VarCnfConstraintSourceCode I_VarCnfConstraintSourceCode from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_VarCnfConstraintNetTP _ConstraintNet _ConstraintNet.VarCnfConstraintNetName = $projection.VarCnfConstraintNetName
[1..*] R_VarCnfCstrtSrcCdLineTP _SourceCodeLine

Annotations (7)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY VarCnfConstraintNetName VarCnfConstraintNetName
KEY VarCnfConstraintName VarCnfConstraintName
KEY ChangeNumber ChangeNumber Change Number
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
IsDeleted IsDeleted TRUE
_Constraint _Constraint
_ConstraintNet _ConstraintNet
_SourceCodeLine _SourceCodeLine

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_VarCnfCstrtSourceCodeTP.
-- 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_VarCnfCstrtSourceCodeTP AS
SELECT
  VarCnfConstraintNetName,
  VarCnfConstraintName,
  ChangeNumber,
  ValidityStartDate,
  ValidityEndDate,
  IsDeleted
FROM I_VarCnfConstraintSourceCode
LEFT OUTER JOIN R_VarCnfConstraintNetTP AS _ConstraintNet ON _ConstraintNet.VarCnfConstraintNetName = VarCnfConstraintNetName  -- association [1..1]
LEFT OUTER JOIN R_VarCnfCstrtSrcCdLineTP AS _SourceCodeLine ON /* condition not available in parsed metadata */  -- association [1..*]
;