R_VarCnfCstrtSrcCdLineTP

DDL: R_VARCNFCSTRTSRCCDLINETP Type: view_entity TRANSACTIONAL Package: VCH_RAP_MD_CNET

VC Constraint Source Code Line - TP

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

Data Sources (1)

SourceAliasJoin Type
I_VarCnfCstrtSourceCodeLine I_VarCnfCstrtSourceCodeLine from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_VarCnfConstraintNetTP _ConstraintNet _ConstraintNet.VarCnfConstraintNetName = $projection.VarCnfConstraintNetName

Annotations (7)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY VarCnfConstraintNetName VarCnfConstraintNetName
KEY VarCnfConstraintName VarCnfConstraintName
KEY ChangeNumber ChangeNumber Change Number
KEY VarCnfConstraintCodeLineNumber VarCnfConstraintCodeLineNumber
VarCnfConstraintCodeLineText VarCnfConstraintCodeLineText
_SourceCode _SourceCode
_ConstraintNet _ConstraintNet

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_VarCnfCstrtSrcCdLineTP.
-- 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_VarCnfCstrtSrcCdLineTP AS
SELECT
  VarCnfConstraintNetName,
  VarCnfConstraintName,
  ChangeNumber,
  VarCnfConstraintCodeLineNumber,
  VarCnfConstraintCodeLineText
FROM I_VarCnfCstrtSourceCodeLine
LEFT OUTER JOIN R_VarCnfConstraintNetTP AS _ConstraintNet ON _ConstraintNet.VarCnfConstraintNetName = VarCnfConstraintNetName  -- association [1..1]
;