C_EDCValidation

DDL: C_EDCVALIDATION Type: view_entity CONSUMPTION

EDC Consistency Validation

C_EDCValidation is a Consumption CDS View that provides data about "EDC Consistency Validation" in SAP S/4HANA. It reads from 1 data source (I_EDCValidation) and exposes 22 fields with key fields EDCRecordUUID, EDCValidationType, EDCCheckID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_EDCValidation I_EDCValidation from

Associations (3)

CardinalityTargetAliasCondition
[0..1] R_EDCValidationTypeText _EDCValidationTypeText $projection.EDCType = _EDCValidationTypeText.EDCType and $projection.EDCValidationType = _EDCValidationTypeText.EDCValidationType and _EDCValidationTypeText.Language = $session.system_language
[0..1] R_EDCCheckIDText _EDCCheckTypeText $projection.EDCCheckID = _EDCCheckTypeText.EDCCheckID and _EDCCheckTypeText.Language = $session.system_language
[1..1] R_EDCCheckIDPosition _EDCCheckIDPosition $projection.EDCCheckID = _EDCCheckIDPosition.EDCCheckID and _EDCCheckIDPosition.EDCType = $projection.EDCType and _EDCCheckIDPosition.EDCValidationType = $projection.EDCValidationType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label EDC Consistency Validation view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY EDCRecordUUID I_EDCValidation EDCRecordUUID Consistency GUID
KEY EDCValidationType I_EDCValidation EDCValidationType Comparison Type
KEY EDCCheckID _EDCValidationCheck EDCCheckID
EDCValidationSqncNmbr I_EDCValidation EDCValidationSqncNmbr Validation Seq No
EDCType I_EDCValidation EDCType Consistency Scen.
EDCValidationStatus I_EDCValidation EDCValidationStatus Cons chk status
EDCCheckStatus
EDCSqncNmbr I_EDCValidation EDCSqncNmbr Cons. Seq No
EDCCreatedByUser I_EDCValidation EDCCreatedByUser Version Created By
EDCCreatedOnDateTime I_EDCValidation EDCCreatedOnDateTime Variant created on
EDCChangedByUser I_EDCValidation EDCChangedByUser User Name
EDCChangedOnDateTime I_EDCValidation EDCChangedOnDateTime Variant Changed on
EDCOrganizationalUnit I_EDCValidation EDCOrganizationalUnit Org. Unit ID
EDCOrganizationalUnitValue I_EDCValidation EDCOrganizationalUnitValue
EDCCheckPositionNumber _EDCCheckIDPosition EDCCheckPositionNumber
EDCCheckExecutionSequence _EDCCheckIDPosition EDCCheckExecutionSequence
EDCCompany _EDCDocumentList EDCCompany
EDCValidationTypeText _EDCValidationTypeText EDCValidationTypeText
EDCCheckIDText _EDCCheckTypeText EDCCheckIDText
EDCNumberOfInProcessResults
EDCNumberOfAllResults
EDCCheckRelevanceReasonText

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 C_EDCValidation.
-- 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 C_EDCValidation AS
SELECT
  I_EDCValidation.EDCRecordUUID AS EDCRecordUUID,
  I_EDCValidation.EDCValidationType AS EDCValidationType,
  _EDCValidationCheck.EDCCheckID AS EDCCheckID,
  I_EDCValidation.EDCValidationSqncNmbr AS EDCValidationSqncNmbr,
  I_EDCValidation.EDCType AS EDCType,
  I_EDCValidation.EDCValidationStatus AS EDCValidationStatus,
  substring(I_EDCValidation.EDCValidationStatus, cast(_EDCCheckIDPosition.EDCCheckPositionNumber as abap.int1), 1) AS EDCCheckStatus,
  I_EDCValidation.EDCSqncNmbr AS EDCSqncNmbr,
  I_EDCValidation.EDCCreatedByUser AS EDCCreatedByUser,
  I_EDCValidation.EDCCreatedOnDateTime AS EDCCreatedOnDateTime,
  I_EDCValidation.EDCChangedByUser AS EDCChangedByUser,
  I_EDCValidation.EDCChangedOnDateTime AS EDCChangedOnDateTime,
  I_EDCValidation.EDCOrganizationalUnit AS EDCOrganizationalUnit,
  I_EDCValidation.EDCOrganizationalUnitValue AS EDCOrganizationalUnitValue,
  _EDCCheckIDPosition.EDCCheckPositionNumber AS EDCCheckPositionNumber,
  _EDCCheckIDPosition.EDCCheckExecutionSequence AS EDCCheckExecutionSequence,
  _EDCDocumentList.EDCCompany AS EDCCompany,
  _EDCValidationTypeText.EDCValidationTypeText AS EDCValidationTypeText,
  _EDCCheckTypeText.EDCCheckIDText AS EDCCheckIDText,
  cast(0 as abap.int8 ) AS EDCNumberOfInProcessResults,
  cast(0 as abap.int8 ) AS EDCNumberOfAllResults,
  cast(' ' as abap.char(120)) AS EDCCheckRelevanceReasonText
FROM I_EDCValidation
LEFT OUTER JOIN R_EDCValidationTypeText AS _EDCValidationTypeText ON EDCType = _EDCValidationTypeText.EDCType AND EDCValidationType = _EDCValidationTypeText.EDCValidationType AND _EDCValidationTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN R_EDCCheckIDText AS _EDCCheckTypeText ON EDCCheckID = _EDCCheckTypeText.EDCCheckID AND _EDCCheckTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN R_EDCCheckIDPosition AS _EDCCheckIDPosition ON EDCCheckID = _EDCCheckIDPosition.EDCCheckID AND _EDCCheckIDPosition.EDCType = EDCType AND _EDCCheckIDPosition.EDCValidationType = EDCValidationType  -- association [1..1]
;