I_JITPackingGroupHierNodeRltn
Packing Group Header
I_JITPackingGroupHierNodeRltn is a Composite CDS View that provides data about "Packing Group Header" in SAP S/4HANA. It reads from 2 data sources (I_JITPckgGrpHeader, I_JITPckgGrpItemRef) and exposes 27 fields with key field JITPckgGrpID. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_JITPckgGrpHeader | I_JITPckgGrpHeader | union |
| I_JITPckgGrpItemRef | I_JITPckgGrpItemRef | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_JITPckgGrpHeader | _CurrentPackingGroupHeader | $projection.JITPckgGrpUUID = _CurrentPackingGroupHeader.JITPckgGrpUUID |
| [1..1] | I_JITPckgGrpHeader | _SuperPackingGroupHeader | $projection.JITSuperPckgGrpUUID = _SuperPackingGroupHeader.JITPckgGrpUUID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Packing Group Header | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JITPckgGrpID | _CurrentPackingGroupHeader | JITPckgGrpID | Package Group ID |
| JITSuperPckgGrpID | _SuperPackingGroupHeader | JITPckgGrpID | Package Group ID | |
| JITAltvHndlgUnitID | _CurrentPackingGroupHeader | JITAltvHndlgUnitID | Alt. PG ID Short | |
| JITSuperAltvHndlgUnitID | _SuperPackingGroupHeader | JITAltvHndlgUnitID | Alt. PG ID Short | |
| JITPckgGrpUUID | ReferenceDocumentUUID | NodeID | ||
| JITSuperPckgGrpUUID | JITPckgGrpUUID | NodeID | ||
| JITPckgGrpCellNumber | _JITPckgGrpItem | JITPckgGrpCellNumber | Slot Number | |
| PackagingMaterial | Packaging Materials | |||
| PackagingMaterialName | ||||
| JITPckgGrpStatusTxt | ||||
| HandlingUnitExternalID | Handling Unit | |||
| JITPackingGroupUsageType | _CurrentPackingGroupHeader | JITComponentIsReordered | Usage Type | |
| _CurrentPackingGroupHeader | _CurrentPackingGroupHeader | |||
| JITPckgGrpUUIDkeyJITPckgGrpID | ||||
| JITSuperPckgGrpID | Package Group ID | |||
| JITAltvHndlgUnitID | JITAltvHndlgUnitID | Alt. PG ID Short | ||
| JITSuperAltvHndlgUnitID | Alt. PG ID Short | |||
| JITPckgGrpUUID | JITPckgGrpUUID | NodeID | ||
| JITSuperPckgGrpUUID | JITPckgGrpUUID | NodeID | ||
| JITPckgGrpCellNumber | Slot Number | |||
| PackagingMaterial | _JITPckgGrpDef | PackagingMaterial | Packaging Materials | |
| PackagingMaterialName | ||||
| JITPckgGrpStatusTxt | ||||
| HandlingUnitExternalID | _JITPckgGrpHandlingUnitRef | HandlingUnitExternalID | Handling Unit | |
| JITPackingGroupUsageType | JITComponentIsReordered | Usage Type | ||
| _CurrentPackingGroupHeader | _CurrentPackingGroupHeader | |||
| _SuperPackingGroupHeader | _SuperPackingGroupHeader |
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_JITPackingGroupHierNodeRltn.
-- 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_JITPackingGroupHierNodeRltn AS
SELECT
_CurrentPackingGroupHeader.JITPckgGrpID AS JITPckgGrpID,
_SuperPackingGroupHeader.JITPckgGrpID AS JITSuperPckgGrpID,
_CurrentPackingGroupHeader.JITAltvHndlgUnitID AS JITAltvHndlgUnitID,
_SuperPackingGroupHeader.JITAltvHndlgUnitID AS JITSuperAltvHndlgUnitID,
ReferenceDocumentUUID AS JITPckgGrpUUID,
JITPckgGrpUUID AS JITSuperPckgGrpUUID,
_JITPckgGrpItem.JITPckgGrpCellNumber AS JITPckgGrpCellNumber,
_CurrentPackingGroupHeader._JITPckgGrpDef.PackagingMaterial AS PackagingMaterial,
_CurrentPackingGroupHeader._JITPckgGrpDef._Product._Text[1: Language = $session.system_language].ProductName AS PackagingMaterialName,
_CurrentPackingGroupHeader._JITPckgGrpStatus._Text[1:Language = $session.system_language].JITPckgGrpStatusTxt AS JITPckgGrpStatusTxt,
_CurrentPackingGroupHeader._JITPckgGrpHandlingUnitRef.HandlingUnitExternalID AS HandlingUnitExternalID,
_CurrentPackingGroupHeader.JITComponentIsReordered AS JITPackingGroupUsageType
FROM I_JITPckgGrpItemRef
LEFT OUTER JOIN I_JITPckgGrpHeader AS _CurrentPackingGroupHeader ON JITPckgGrpUUID = _CurrentPackingGroupHeader.JITPckgGrpUUID -- association [1..1]
LEFT OUTER JOIN I_JITPckgGrpHeader AS _SuperPackingGroupHeader ON JITSuperPckgGrpUUID = _SuperPackingGroupHeader.JITPckgGrpUUID -- association [1..1]
-- UNION with additional select branch(es): I_JITPckgGrpHeader
;
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