I_CharcAttribSelectedSetCode

DDL: I_CHARCATTRIBSELECTEDSETCODE SQL: ICHATTRSELSETCD Type: view BASIC

Selected Set Code for Charc Attribute

I_CharcAttribSelectedSetCode (Basic)

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

Manufacturing

I_CharcAttribSelectedSetCode is a Basic CDS View that provides data about "Selected Set Code for Charc Attribute" in SAP S/4HANA. It reads from 1 data source (qpac) and exposes 15 fields with key fields SelectedCodeSetPlant, SelectedCodeSet, CharacteristicAttributeCodeGrp, CharacteristicAttributeCode. It has 4 associations to related views. It is exposed through 1 OData service (UI_MANAGEINSPECTIONCHECKLIST).

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 purpse of this CDS view is the assignment of codes to selected sets for catalog 1 (characteristic attributes).</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpac qpac from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CharcAttributeCodeGrp _CharcAttributeCodeGrp $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp
[0..1] I_CharcAttributeCode _CharcAttributeCode $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCode.CharacteristicAttributeCodeGrp and $projection.CharacteristicAttributeCode = _CharcAttributeCode.CharacteristicAttributeCode
[0..1] I_Indicator _CodeIsInactive $projection.CodeIsInactive = _CodeIsInactive.IndicatorValue
[0..1] I_CharcAttribSelectedCodeSet _CharcAttribSelectedCodeSet $projection.SelectedCodeSetPlant = _CharcAttribSelectedCodeSet.SelectedCodeSetPlant and $projection.SelectedCodeSet = _CharcAttribSelectedCodeSet.SelectedCodeSet

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICHATTRSELSETCD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Selected Set Code for Charc Attribute 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
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_MANAGEINSPECTIONCHECKLIST UI_MANAGEINSPECTIONCHECKLIST V4 C1 NOT_RELEASED

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SelectedCodeSetPlant qpac werks Receiving Plant
KEY SelectedCodeSet qpac auswahlmge Selected Set
KEY CharacteristicAttributeCodeGrp qpac codegruppe Code Group
KEY CharacteristicAttributeCode qpac code Water Hazard Cl.
CharcAttributeValuation qpac bewertung Code Valuation
CodeIsInactive qpac geloescht Field Not Used as of 3.0 Field Reserved for SAP
DefectClass qpac fehlklasse Defect Class
CharcAttribSeldSetCodeCrtedBy qpac ersteller Name of User Who Created the Data Record
CharcAttribSeldSetCodeCrtedOn qpac e_datum System Date on Which Data Record Was Created
CharcAttribSeldSetCodeChgdBy qpac aenderer Name of User Who Last Changed Data Record
CharcAttribSeldSetCodeChgdOn qpac a_datum System Date on Which Data Record Was Changed
_CharcAttributeCodeGrp _CharcAttributeCodeGrp
_CharcAttributeCode _CharcAttributeCode
_CodeIsInactive _CodeIsInactive
_CharcAttribSelectedCodeSet _CharcAttribSelectedCodeSet

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_CharcAttribSelectedSetCode.
-- 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: ICHATTRSELSETCD

CREATE VIEW I_CharcAttribSelectedSetCode AS
SELECT
  qpac.werks AS SelectedCodeSetPlant,
  qpac.auswahlmge AS SelectedCodeSet,
  qpac.codegruppe AS CharacteristicAttributeCodeGrp,
  qpac.code AS CharacteristicAttributeCode,
  qpac.bewertung AS CharcAttributeValuation,
  qpac.geloescht AS CodeIsInactive,
  qpac.fehlklasse AS DefectClass,
  qpac.ersteller AS CharcAttribSeldSetCodeCrtedBy,
  qpac.e_datum AS CharcAttribSeldSetCodeCrtedOn,
  qpac.aenderer AS CharcAttribSeldSetCodeChgdBy,
  qpac.a_datum AS CharcAttribSeldSetCodeChgdOn
FROM qpac
LEFT OUTER JOIN I_CharcAttributeCodeGrp AS _CharcAttributeCodeGrp ON CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp  -- association [0..1]
LEFT OUTER JOIN I_CharcAttributeCode AS _CharcAttributeCode ON CharacteristicAttributeCodeGrp = _CharcAttributeCode.CharacteristicAttributeCodeGrp AND CharacteristicAttributeCode = _CharcAttributeCode.CharacteristicAttributeCode  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _CodeIsInactive ON CodeIsInactive = _CodeIsInactive.IndicatorValue  -- association [0..1]
LEFT OUTER JOIN I_CharcAttribSelectedCodeSet AS _CharcAttribSelectedCodeSet ON SelectedCodeSetPlant = _CharcAttribSelectedCodeSet.SelectedCodeSetPlant AND SelectedCodeSet = _CharcAttribSelectedCodeSet.SelectedCodeSet  -- association [0..1]
;