I_LabelSetForKeyDate
Label Set on a Key Date
I_LabelSetForKeyDate is a Composite CDS View that provides data about "Label Set on a Key Date" in SAP S/4HANA. It reads from 2 data sources (I_LabelSet, I_LabelSetDetail) and exposes 26 fields with key field LabelSetInternalID. It has 2 associations to related views. Part of development package VDM_PLMB_LBL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LabelSet | header | inner |
| I_LabelSetDetail | headerDetail | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SpecificationForKeyDate | _SpecificationForKeyDate | $projection.LabelSetSpecificationIntID = _SpecificationForKeyDate.SpecificationInternalID |
| [0..*] | I_LabelSetText | _LabelSetText | $projection.LabelSetInternalID = _LabelSetText.LabelSetInternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILBLSETFKD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | LabelSetInternalID | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Label Set on a Key Date | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LabelSetInternalID | I_LabelSetDetail | LabelSetInternalID | Label Set |
| LabelSetSpecificationIntID | I_LabelSet | LabelSetSpecificationIntID | Specification | |
| LabelSetSpecification | ||||
| LabelSetAlternativeNumber | I_LabelSet | LabelSetAlternativeNumber | Alternative Recipe | |
| LabelSetVersionNumber | I_LabelSet | LabelSetVersionNumber | Recipe Version | |
| LabelSetChangeNumber | I_LabelSetDetail | LabelSetChangeNumber | Change Number | |
| LabelSetCreatedByUser | I_LabelSet | LabelSetCreatedByUser | User ID | |
| LabelSetCreationDate | I_LabelSet | LabelSetCreationDate | Created On | |
| LabelSetLastChangedByUser | I_LabelSet | LabelSetLastChangedByUser | User ID | |
| LabelSetLastChangeDate | I_LabelSet | LabelSetLastChangeDate | Changed on | |
| LabelSetLastChangeDateTime | I_LabelSetDetail | LabelSetLastChangeDateTime | Time Stamp | |
| LabelSetDfltUsageRating | I_LabelSetDetail | LabelSetDfltUsageRating | Use of Data | |
| LabelSetDfltUsageValidityArea | I_LabelSetDetail | LabelSetDfltUsageValidityArea | Validity Area | |
| LabelSetSourceInternalKey | ||||
| LabelSetValidityStartDate | I_LabelSetDetail | LabelSetValidityStartDate | Validity Start Time | |
| LabelSetValidityEndDate | I_LabelSetDetail | LabelSetValidityEndDate | Validity End Time | |
| LabelSetStatus | I_LabelSetDetail | LabelSetStatus | Status | |
| LabelSetAuthorizationGroup | I_LabelSetDetail | LabelSetAuthorizationGroup | Authorization Group | |
| _SpecificationForKeyDate | _SpecificationForKeyDate | |||
| _LabelSetText | _LabelSetText | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _LabelSetStatus | _LabelSetStatus | |||
| _LabelSetAuthorizationGroup | _LabelSetAuthorizationGroup | |||
| _LabelSetRating | _LabelSetRating | |||
| _LabelSetValidityArea | _LabelSetValidityArea |
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_LabelSetForKeyDate.
-- 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: ILBLSETFKD
-- Parameters: P_KeyDate : sydate
CREATE VIEW I_LabelSetForKeyDate AS
SELECT
headerDetail.LabelSetInternalID AS LabelSetInternalID,
header.LabelSetSpecificationIntID AS LabelSetSpecificationIntID,
_SpecificationForKeyDate(P_KeyDate:$parameters.P_KeyDate).Specification AS LabelSetSpecification,
header.LabelSetAlternativeNumber AS LabelSetAlternativeNumber,
header.LabelSetVersionNumber AS LabelSetVersionNumber,
headerDetail.LabelSetChangeNumber AS LabelSetChangeNumber,
header.LabelSetCreatedByUser AS LabelSetCreatedByUser,
header.LabelSetCreationDate AS LabelSetCreationDate,
header.LabelSetLastChangedByUser AS LabelSetLastChangedByUser,
header.LabelSetLastChangeDate AS LabelSetLastChangeDate,
headerDetail.LabelSetLastChangeDateTime AS LabelSetLastChangeDateTime,
headerDetail.LabelSetDfltUsageRating AS LabelSetDfltUsageRating,
headerDetail.LabelSetDfltUsageValidityArea AS LabelSetDfltUsageValidityArea,
headerDetail.LabelSetValidityStartDate AS LabelSetValidityStartDate,
headerDetail.LabelSetValidityEndDate AS LabelSetValidityEndDate,
headerDetail.LabelSetStatus AS LabelSetStatus,
headerDetail.LabelSetAuthorizationGroup AS LabelSetAuthorizationGroup
FROM I_LabelSetDetail AS headerDetail
INNER JOIN I_LabelSet AS header ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SpecificationForKeyDate AS _SpecificationForKeyDate ON LabelSetSpecificationIntID = _SpecificationForKeyDate.SpecificationInternalID -- association [1..1]
LEFT OUTER JOIN I_LabelSetText AS _LabelSetText ON LabelSetInternalID = _LabelSetText.LabelSetInternalID -- 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