A_ClfnClassForKeyDate
Class Header Data
A_ClfnClassForKeyDate is a Consumption CDS View that provides data about "Class Header Data" in SAP S/4HANA. It reads from 1 data source (I_ClfnClassForKeyDateTP) and exposes 33 fields with key field ClassInternalID. It has 4 associations to related views. Part of development package NGC_API_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ClfnClassForKeyDateTP | I_ClfnClassForKeyDateTP | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | A_ClfnClassKeywordForKeyDate | _ClassKeyword | |
| [0..*] | A_ClfnClassDescForKeyDate | _ClassDescription | |
| [0..*] | A_ClfnClassCharcForKeyDate | _ClassCharacteristic | |
| [0..*] | A_ClfnClassTextForKeyDate | _ClassText | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Class Header Data | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ClassInternalID | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Consumption.filter.businessDate.at | true | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ClassInternalID | Class | ClassInternalID | Int class no. |
| ClassType | Class | ClassType | X Flag | |
| ClassTypeName | Class | ClassTypeName | Description | |
| Class | Class | Class | User Group | |
| ClassStatus | Class | ClassStatus | Status | |
| ClassStatusName | Class | ClassStatusName | Text | |
| ClassGroup | Class | ClassGroup | ||
| ClassGroupName | Class | ClassGroupName | ||
| ClassSearchAuthGrp | Class | ClassSearchAuthGrp | ||
| ClassClassfctnAuthGrp | Class | ClassClassfctnAuthGrp | ||
| ClassMaintAuthGrp | Class | ClassMaintAuthGrp | ||
| DocNumber | Class | DocumentInfoRecordDocNumber | Document | |
| DocumentType | Class | DocumentInfoRecordDocType | Document Type | |
| DocumentPart | Class | DocumentInfoRecordDocPart | Document Part | |
| DocumentVersion | Class | DocumentInfoRecordDocVersion | Doc. Version | |
| SameClassfctnReaction | Class | SameClassfctnReaction | ||
| ClassStandardOrgName | Class | ClassStandardOrgName | ||
| ClassStandardNumber | Class | ClassStandardNumber | ||
| ClassStandardStartDate | Class | ClassStandardStartDate | ||
| ClassStandardVersionStartDate | Class | ClassStandardVersionStartDate | ||
| ClassStandardVersion | Class | ClassStandardVersion | ||
| ClassStandardCharcTable | Class | ClassStandardCharcTable | ||
| CreationDate | Class | CreationDate | Time Stamp | |
| LastChangeDate | Class | LastChangeDate | Time Stamp | |
| ClassIsLocal | Class | ClassIsLocal | ||
| ValidityStartDate | Class | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | Class | ValidityEndDate | ValidTo | |
| ClassLastChangedDateTime | Class | ClassLastChangedDateTime | ||
| KeyDate | ||||
| _ClassKeyword | _ClassKeyword | |||
| _ClassDescription | _ClassDescription | |||
| _ClassText | _ClassText | |||
| _ClassCharacteristic | _ClassCharacteristic |
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 A_ClfnClassForKeyDate.
-- 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: ANGCCLS01
-- Parameters: P_KeyDate : sydate
CREATE VIEW A_ClfnClassForKeyDate AS
SELECT
Class.ClassInternalID AS ClassInternalID,
Class.ClassType AS ClassType,
Class.ClassTypeName AS ClassTypeName,
Class.Class AS Class,
Class.ClassStatus AS ClassStatus,
Class.ClassStatusName AS ClassStatusName,
Class.ClassGroup AS ClassGroup,
Class.ClassGroupName AS ClassGroupName,
Class.ClassSearchAuthGrp AS ClassSearchAuthGrp,
Class.ClassClassfctnAuthGrp AS ClassClassfctnAuthGrp,
Class.ClassMaintAuthGrp AS ClassMaintAuthGrp,
Class.DocumentInfoRecordDocNumber AS DocNumber,
Class.DocumentInfoRecordDocType AS DocumentType,
Class.DocumentInfoRecordDocPart AS DocumentPart,
Class.DocumentInfoRecordDocVersion AS DocumentVersion,
Class.SameClassfctnReaction AS SameClassfctnReaction,
Class.ClassStandardOrgName AS ClassStandardOrgName,
Class.ClassStandardNumber AS ClassStandardNumber,
Class.ClassStandardStartDate AS ClassStandardStartDate,
Class.ClassStandardVersionStartDate AS ClassStandardVersionStartDate,
Class.ClassStandardVersion AS ClassStandardVersion,
Class.ClassStandardCharcTable AS ClassStandardCharcTable,
Class.CreationDate AS CreationDate,
Class.LastChangeDate AS LastChangeDate,
Class.ClassIsLocal AS ClassIsLocal,
Class.ValidityStartDate AS ValidityStartDate,
Class.ValidityEndDate AS ValidityEndDate,
Class.ClassLastChangedDateTime AS ClassLastChangedDateTime,
$parameters.P_KeyDate AS KeyDate
FROM I_ClfnClassForKeyDateTP
LEFT OUTER JOIN A_ClfnClassKeywordForKeyDate AS _ClassKeyword ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN A_ClfnClassDescForKeyDate AS _ClassDescription ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN A_ClfnClassCharcForKeyDate AS _ClassCharacteristic ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN A_ClfnClassTextForKeyDate AS _ClassText ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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