I_CharcAttributeCodeText

DDL: I_CHARCATTRIBUTECODETEXT SQL: ICHARCATTRCODET Type: view BASIC

Characteristic Attribute Code - Text

I_CharcAttributeCodeText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_CharcAttributeCodeText is a Basic CDS View that provides data about "Characteristic Attribute Code - Text" in SAP S/4HANA. It reads from 1 data source (qpct) and exposes 5 fields with key fields CharacteristicAttributeCodeGrp, CharacteristicAttributeCode, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-IM
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Language-Dependent Text
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>The purpose of this CDS view is the definition of codes for selected sets (catalog 1).</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpct qpct from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CharcAttributeCodeGrp _CharcAttributeCodeGrp $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ICHARCATTRCODET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Characteristic Attribute Code - Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey CharacteristicAttributeCode view
ObjectModel.dataCategory #TEXT view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CharacteristicAttributeCodeGrp codegruppe Code Group
KEY CharacteristicAttributeCode code Water Hazard Cl.
KEY Language sprache Language Key
CharacteristicAttributeCodeTxt SText insp.char
_CharcAttributeCodeGrp _CharcAttributeCodeGrp

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 I_CharcAttributeCodeText.
-- 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: ICHARCATTRCODET

CREATE VIEW I_CharcAttributeCodeText AS
SELECT
  codegruppe AS CharacteristicAttributeCodeGrp,
  code AS CharacteristicAttributeCode,
  sprache AS Language,
  cast( kurztext as vdm_qtxt_code preserving type ) AS CharacteristicAttributeCodeTxt
FROM qpct
LEFT OUTER JOIN I_CharcAttributeCodeGrp AS _CharcAttributeCodeGrp ON CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp  -- association [1..1]
;