FAC_CDS_UH_HD_ATTR_VAL_JSON
Header Attribute Value
FAC_CDS_UH_HD_ATTR_VAL_JSON is a CDS View that provides data about "Header Attribute Value" in SAP S/4HANA. It reads from 10 data sources and exposes 11 fields. It has 1 association to related views.
Data Sources (10)
| Source | Alias | Join Type |
|---|---|---|
| uhdt_hatr | atrdef | inner |
| uhdt_hatr | atrdef | inner |
| uhdt_hattrvals | atrval | from |
| uhdt_hattrvals | atrval | union |
| uhdt_havt | ftxt | left_outer |
| uhdt_havt | ftxt | left_outer |
| uhdt_hattrvalst | text | left_outer |
| uhdt_hattrvalst | text | left_outer |
| uhdt_vrsn | ver | inner |
| uhdt_vrsn | ver | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | fac_cds_uh_category | to_category | $projection.hier_catg = to_category.CategoryKey |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FACV_UH_HATTRVAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Header Attribute Value | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| client | uhdt_hattrvals | client | Workflow definition: Client | |
| hier_catg | uhdt_hattrvals | hier_catg | Type | |
| ver_id | uhdt_hattrvals | ver_id | Version ID | |
| attr_name | uhdt_hattrvals | attr_name | Attribute Name | |
| hval_txtATTR_UXFCendendasattr_val | ||||
| client | Workflow definition: Client | |||
| hier_catg | uhdt_hattrvals | hier_catg | Type | |
| ver_id | uhdt_vrsn | ver_id | Version ID | |
| attr_name | uhdt_hattrvals | attr_name | Attribute Name | |
| hval_txtATTR_UXFCendendasattr_val | ||||
| 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_VAL_JSON.
-- 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_HATTRVAL
CREATE VIEW FAC_CDS_UH_HD_ATTR_VAL_JSON AS
SELECT
atrval.client AS client,
atrval.hier_catg AS hier_catg,
atrval.ver_id AS ver_id,
atrval.attr_name AS attr_name,
to_category
FROM uhdt_hattrvals AS atrval
INNER JOIN uhdt_hatr AS atrdef ON /* join condition not captured in parsed metadata */
INNER JOIN uhdt_vrsn AS ver ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_hattrvalst AS text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_havt AS ftxt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fac_cds_uh_category AS to_category ON hier_catg = to_category.CategoryKey -- association [1..1]
-- UNION with additional select branch(es): uhdt_hattrvals
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA