FAC_CDS_VE_VALIDATION_GROUP

DDL: FAC_CDS_VE_VALIDATION_GROUP SQL: FACVEGROUP Type: view

Validation Group

FAC_CDS_VE_VALIDATION_GROUP is a CDS View that provides data about "Validation Group" in SAP S/4HANA. It reads from 11 data sources and exposes 53 fields with key field VersionId. It has 9 associations to related views.

Data Sources (11)

SourceAliasJoin Type
fac_ve_scenariot _ScenarioText left_outer
fac_ve_scenariot _ScenarioText left_outer
fac_cds_uh_clfd_value CLASSFIED inner
fac_cds_uh_clfd_value CLASSFIED inner
uhdt_node node inner
uhdt_node node inner
FAC_CDS_VE_VALIDATION_SCENARIO scenario inner
FAC_CDS_VE_VALIDATION_SCENARIO scenario inner
uhdt_hier text_e left_outer
fac_cds_uh_version Version from
fac_cds_uh_version Version union_all

Associations (9)

CardinalityTargetAliasCondition
[0..1] FAC_VE_GRP_STATUST _StatusText _StatusText.ValidationGroupStatus = $projection.ValidationGroupStatus
[1..*] fac_cds_ve_group_node to_node $projection.VersionId = to_node.VersionId
[1..1] fac_cds_uh_category to_category $projection.HierarchyCategory = to_category.CategoryKey
[1..*] fac_cds_uh_clfd_value to_clfd_value $projection.VersionId = to_clfd_value.ObjectId
[0..*] FAC_CDS_UH_CD to_changelog $projection.VersionId = to_changelog.VersionId and to_changelog.Langauge = $session.system_language
[0..1] I_UserContactCard to_CreatedByContactCard $projection.CreatedBy = to_CreatedByContactCard.ContactCardID
[0..1] I_UserContactCard to_ChangedByContactCard $projection.ChangedBy = to_ChangedByContactCard.ContactCardID
[0..1] FAC_VE_GRP_RULE_COUNT _RuleCount $projection.VersionId = _RuleCount.VersionId
[1..1] fac_cds_uh_futb_hd_multiattr to_merged_attrvals $projection.VersionId = to_merged_attrvals.Ver_Id

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FACVEGROUP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Validation Group view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY VersionId fac_cds_uh_version VersionId Version
HierarchyCategory fac_cds_uh_version HierarchyCategory Type
ValidationGroupID uhdt_node node_lval Node Low Value
ValidationGroupDescription fac_cds_uh_version HierarchyText Description
ValidationScenarioID fac_cds_uh_clfd_value LowValue Low Value
ValidationGroupStatus fac_cds_uh_version VersionStatus Status
ValidationGroupStatusText _StatusText ValidationGroupStatusText
ComparisonVersionJson to_merged_attrvals AttributeValues
EnableAssignment FAC_CDS_VE_VALIDATION_SCENARIO EnableAssignment Assignment Enabled
CreatedAt fac_cds_uh_version CreatedAt Time Stamp
CreatedByFullName usnam_user UserDescription Full Name
CreatedBy fac_cds_uh_version CreatedBy User Name
ChangedAt fac_cds_uh_version UpdatedAt Version Update Time
ChangedBy fac_cds_uh_version UpdatedBy Version Updated By
ChangedByFullName ppnam_user UserDescription Full Name
LockedAt fac_cds_uh_version LockedAt Version Locked At
LockedBy fac_cds_uh_version LockedBy User Name
ScenarioText fac_ve_scenariot descr WSS Profile
RuleCount _RuleCount RuleCount
HierarchyId fac_cds_uh_version HierarchyId Hierarchy ID
_StatusText _StatusText
to_node to_node
to_changelog to_changelog
to_category to_category
to_CreatedByContactCard to_CreatedByContactCard
to_ChangedByContactCard to_ChangedByContactCard
VersionIdasVersionId
HierarchyCategory fac_cds_uh_version HierarchyCategory Type
ValidationGroupID uhdt_node node_lval Node Low Value
ValidationGroupDescription uhdt_hier hier_desc Description
ValidationScenarioID fac_cds_uh_clfd_value LowValue Low Value
ValidationGroupStatus fac_cds_uh_version VersionStatus Status
ValidationGroupStatusText _StatusText ValidationGroupStatusText
ComparisonVersionJson to_merged_attrvals AttributeValues
EnableAssignment FAC_CDS_VE_VALIDATION_SCENARIO EnableAssignment Assignment Enabled
CreatedAt fac_cds_uh_version CreatedAt Time Stamp
CreatedByFullName usnam_user UserDescription Full Name
CreatedBy fac_cds_uh_version CreatedBy User Name
ChangedAt fac_cds_uh_version UpdatedAt Version Update Time
ChangedBy fac_cds_uh_version UpdatedBy Version Updated By
ChangedByFullName ppnam_user UserDescription Full Name
LockedAt fac_cds_uh_version LockedAt Version Locked At
LockedBy fac_cds_uh_version LockedBy User Name
ScenarioText fac_ve_scenariot descr WSS Profile
RuleCount _RuleCount RuleCount
HierarchyId fac_cds_uh_version HierarchyId Hierarchy ID
_StatusText _StatusText
to_node to_node
to_changelog to_changelog
to_category to_category
to_CreatedByContactCard to_CreatedByContactCard
to_ChangedByContactCard to_ChangedByContactCard
_RuleCount _RuleCount

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 FAC_CDS_VE_VALIDATION_GROUP.
-- 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.
-- SQL view name: FACVEGROUP

CREATE VIEW FAC_CDS_VE_VALIDATION_GROUP AS
SELECT
  Version.VersionId AS VersionId,
  Version.HierarchyCategory AS HierarchyCategory,
  node.node_lval AS ValidationGroupID,
  Version.HierarchyText AS ValidationGroupDescription,
  CLASSFIED.LowValue AS ValidationScenarioID,
  Version.VersionStatus AS ValidationGroupStatus,
  _StatusText.ValidationGroupStatusText AS ValidationGroupStatusText,
  to_merged_attrvals.AttributeValues AS ComparisonVersionJson,
  scenario.EnableAssignment AS EnableAssignment,
  Version.CreatedAt AS CreatedAt,
  usnam_user.UserDescription AS CreatedByFullName,
  Version.CreatedBy AS CreatedBy,
  Version.UpdatedAt AS ChangedAt,
  Version.UpdatedBy AS ChangedBy,
  ppnam_user.UserDescription AS ChangedByFullName,
  Version.LockedAt AS LockedAt,
  Version.LockedBy AS LockedBy,
  _ScenarioText.descr AS ScenarioText,
  _RuleCount.RuleCount AS RuleCount,
  Version.HierarchyId AS HierarchyId,
  to_node,
  to_changelog,
  to_category,
  to_CreatedByContactCard,
  to_ChangedByContactCard
FROM fac_cds_uh_version AS Version
INNER JOIN fac_cds_uh_clfd_value AS CLASSFIED ON /* join condition not captured in parsed metadata */
INNER JOIN uhdt_node AS node ON /* join condition not captured in parsed metadata */
INNER JOIN FAC_CDS_VE_VALIDATION_SCENARIO AS scenario ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fac_ve_scenariot AS _ScenarioText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_hier AS text_e ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN FAC_VE_GRP_STATUST AS _StatusText ON _StatusText.ValidationGroupStatus = ValidationGroupStatus  -- association [0..1]
LEFT OUTER JOIN fac_cds_ve_group_node AS to_node ON VersionId = to_node.VersionId  -- association [1..*]
LEFT OUTER JOIN fac_cds_uh_category AS to_category ON HierarchyCategory = to_category.CategoryKey  -- association [1..1]
LEFT OUTER JOIN fac_cds_uh_clfd_value AS to_clfd_value ON VersionId = to_clfd_value.ObjectId  -- association [1..*]
LEFT OUTER JOIN FAC_CDS_UH_CD AS to_changelog ON VersionId = to_changelog.VersionId AND to_changelog.Langauge = $session.system_language  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS to_CreatedByContactCard ON CreatedBy = to_CreatedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS to_ChangedByContactCard ON ChangedBy = to_ChangedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN FAC_VE_GRP_RULE_COUNT AS _RuleCount ON VersionId = _RuleCount.VersionId  -- association [0..1]
LEFT OUTER JOIN fac_cds_uh_futb_hd_multiattr AS to_merged_attrvals ON VersionId = to_merged_attrvals.Ver_Id  -- association [1..1]
-- UNION ALL with additional select branch(es): fac_cds_uh_version
;