I_CharcAttributeCode

DDL: I_CHARCATTRIBUTECODE Type: view_entity BASIC Package: VDM_QM_INSPECTION

Characteristic Attribute Code

I_CharcAttributeCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public 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. It is exposed through 1 OData service (ASQL_F2428). Part of development package VDM_QM_INSPECTION.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-IM-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public 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 (10)

NameValueLevelField
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
Analytics.technicalName ICHARCATTRIBCODE view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2428 ASQL_F2428 C2 NOT_RELEASED

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.

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..*]
;