I_CharcAttributeCode

DDL: I_CHARCATTRIBUTECODE SQL: ICHARCATTRIBCODE Type: view BASIC

Characteristic Attribute Code

I_CharcAttributeCode (Basic)

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

Manufacturing

I_CharcAttributeCode is a Basic CDS View that provides data about "Characteristic Attribute Code" in SAP S/4HANA. It reads from 1 data source (qpcd) and exposes 10 fields with key fields CharacteristicAttributeCodeGrp, CharacteristicAttributeCode. It has 2 associations 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
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
qpcd qpcd from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CharcAttributeCodeGrp _CharcAttributeCodeGrp $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp
[0..*] I_CharcAttributeCodeText _Text $projection.CharacteristicAttributeCodeGrp = _Text.CharacteristicAttributeCodeGrp and $projection.CharacteristicAttributeCode = _Text.CharacteristicAttributeCode

Annotations (13)

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

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CharacteristicAttributeCodeGrp codegruppe Code Group
KEY CharacteristicAttributeCode code Water Hazard Cl.
CharcAttributeCodeStatus inaktiv Status of Code Group or Code Record
CharcAttribCodeCreatedBy qpcd ersteller Name of User Who Created the Data Record
CharcAttribCodeCreatedOn qpcd e_datum System Date on Which Data Record Was Created
CharcAttribCodeLastChgdBy qpcd aenderer Name of User Who Last Changed Data Record
CharcAttribCodeLastChangedOn qpcd a_datum System Date on Which Data Record Was Changed
CharacteristicAttributeCodeTxt Text for Code
_Text _Text
_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_CharcAttributeCode.
-- 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: ICHARCATTRIBCODE

CREATE VIEW I_CharcAttributeCode AS
SELECT
  codegruppe AS CharacteristicAttributeCodeGrp,
  code AS CharacteristicAttributeCode,
  inaktiv AS CharcAttributeCodeStatus,
  qpcd.ersteller AS CharcAttribCodeCreatedBy,
  qpcd.e_datum AS CharcAttribCodeCreatedOn,
  qpcd.aenderer AS CharcAttribCodeLastChgdBy,
  qpcd.a_datum AS CharcAttribCodeLastChangedOn,
  _Text[1:Language = $session.system_language].CharacteristicAttributeCodeTxt AS CharacteristicAttributeCodeTxt
FROM qpcd
LEFT OUTER JOIN I_CharcAttributeCodeGrp AS _CharcAttributeCodeGrp ON CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp  -- association [1..1]
LEFT OUTER JOIN I_CharcAttributeCodeText AS _Text ON CharacteristicAttributeCodeGrp = _Text.CharacteristicAttributeCodeGrp AND CharacteristicAttributeCode = _Text.CharacteristicAttributeCode  -- association [0..*]
;