FAC_CDS_UH_HD_ATTR_FVAL_DEF

DDL: FAC_CDS_UH_HD_ATTR_FVAL_DEF SQL: FACV_UH_HTRFVDEF Type: view

Header Attribute Fixed Value Definition

FAC_CDS_UH_HD_ATTR_FVAL_DEF is a CDS View that provides data about "Header Attribute Fixed Value Definition" in SAP S/4HANA. It reads from 2 data sources (uhdt_hatv, uhdt_havt) and exposes 5 fields with key fields CategoryKey, AttributeName, AttributeValue. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
uhdt_hatv atv from
uhdt_havt atvt left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..1] fac_cds_uh_category to_category $projection.CategoryKey = to_category.CategoryKey

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FACV_UH_HTRFVDEF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Header Attribute Fixed Value Definition view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CategoryKey uhdt_hatv hier_catg Type
KEY AttributeName uhdt_hatv attr_name Attribute Name
KEY AttributeValue uhdt_hatv attr_valu Attribute Value
AttributeValueText uhdt_havt valu_text Attribute Value Desc
to_category to_category

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_UH_HD_ATTR_FVAL_DEF.
-- 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: FACV_UH_HTRFVDEF

CREATE VIEW FAC_CDS_UH_HD_ATTR_FVAL_DEF AS
SELECT
  atv.hier_catg AS CategoryKey,
  atv.attr_name AS AttributeName,
  atv.attr_valu AS AttributeValue,
  atvt.valu_text AS AttributeValueText,
  to_category
FROM uhdt_hatv AS atv
LEFT OUTER JOIN uhdt_havt AS atvt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fac_cds_uh_category AS to_category ON CategoryKey = to_category.CategoryKey  -- association [1..1]
;