C_JITPackageGroup
Manage JIT Packing Group
C_JITPackageGroup is a Consumption CDS View that provides data about "Manage JIT Packing Group" in SAP S/4HANA. It reads from 1 data source (I_JITPckgGrpHeaderTP) and exposes 86 fields with key field JITPckgGrpUUID. It has 17 associations to related views. Part of development package NJIT_APP_MANAGE_PACKING_GROUP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JITPckgGrpHeaderTP | I_JITPckgGrpHeaderTP | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_JITPckgGrpItem | _JITPckgGrpSlot | $projection.JITPckgGrpUUID = _JITPckgGrpSlot.JITSubPckgGrpUUID |
| [1..1] | I_JITPckgGrpDef | _JITPckgGrpDef | $projection.JITPckgGrpDefUUID = _JITPckgGrpDef.JITPckgGrpDefUUID |
| [0..*] | C_JITPckgGrpDefTxtTP | _JITPackageGroupDefDescTP | $projection.JITPckgGrpDefUUID = _JITPackageGroupDefDescTP.JITPckgGrpDefUUID |
| [0..1] | I_JITComponentIsReordered | _JITComponentIsReordered | $projection.JITComponentIsReordered = _JITComponentIsReordered.JITComponentIsReordered |
| [0..1] | I_JITPackingGroupIsNested | _JITPackingGroupIsNested | $projection.JITPackingGroupIsNested = _JITPackingGroupIsNested.JITPackingGroupIsNested |
| [0..1] | I_JITRepetitiveMfg | _JITRepetitiveMfg | $projection.RepetitiveManufacturingIsAllwd = _JITRepetitiveMfg.RepetitiveManufacturingIsAllwd |
| [0..1] | I_JITPackingStatus | _JITPackingStatus | $projection.JITPackingStatus = _JITPackingStatus.JITPackingStatus |
| [0..1] | I_JITHndlgUnitCrtnStatus | _JITHndlgUnitCrtnStatus | $projection.HandlingUnitStatus = _JITHndlgUnitCrtnStatus.HandlingUnitStatus |
| [0..1] | I_JITPlant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_ShippingPoint | _ShippingPoint | $projection.ShippingPoint = _ShippingPoint.ShippingPoint |
| [0..1] | I_Customer | _Customer | $projection.ShipToParty = _Customer.Customer |
| [0..*] | C_JITPckgGrpActionLogTP | _JITPackingGroupActionLogTP | $projection.JITPckgGrpUUID = _JITPackingGroupActionLogTP.JITPckgGrpUUID |
| [0..1] | I_JITPckgGrpDocRefBasic | _JITPckgGrpHandlingUnitRef | $projection.JITPckgGrpUUID = _JITPckgGrpHandlingUnitRef.JITPckgGrpUUID and _JITPckgGrpHandlingUnitRef.BusinessTransactionDocType = 'X' |
| [0..1] | I_JITPckgGrpDocRefBasic | _JITPckgGrpDeliveryRef | $projection.JITPckgGrpUUID = _JITPckgGrpDeliveryRef.JITPckgGrpUUID and _JITPckgGrpDeliveryRef.BusinessTransactionDocType = 'J' |
| [0..*] | I_JITCallCompGroupBasic | _JITCallCompGroup | $projection.JITPckgGrpUUID = _JITCallCompGroup.JITSuperPckgGrpUUID |
| [0..1] | I_JITPackingGroupUsageType | _JITPackingGroupUsageType | $projection.JITComponentIsReordered = _JITPackingGroupUsageType.JITPackingGroupUsageType |
| [0..1] | I_JITArchivingStatus | _JITArchivingStatus | $projection.JITArchivingStatus = _JITArchivingStatus.JITArchivingStatus |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Analytics.technicalName | CJITPCKGGRP | view | |
| EndUserText.label | Manage JIT Packing Group | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | JITPckgGrpUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Packing Group | view | |
| UI.headerInfo.typeNamePlural | Packing Groups | view | |
| UI.headerInfo.title.value | JITAltvHndlgUnitID | view | |
| UI.headerInfo.description.value | JITPckgGrpDesc | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (86)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JITPckgGrpUUID | JITPckgGrpUUID | NodeID | |
| JITPckgGrpDefUUID | JITPckgGrpDefUUID | NodeID | ||
| JITPckgGrpID | JITPckgGrpID | Packing Group ID | ||
| JITAltvHndlgUnitID | JITAltvHndlgUnitID | Alternative Packing Group ID | ||
| JITPackingGroupIsNested | JITPackingGroupIsNested | Nested | ||
| ShipToParty | ShipToParty | Ship-To Party | ||
| JITPckgGrpStatus | JITPckgGrpStatus | Status(Main) | ||
| JITPckgGrpStatusTxt | ||||
| CustSupplyArea | CustSupplyArea | Customer Supply Area | ||
| JITPackingStatus | Packing Status (of Slots) | |||
| HandlingUnitStatus | HandlingUnitStatus | Handling Unit Creation Status | ||
| CustAssemblyLoc | CustAssemblyLoc | Customer Assembly Location | ||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| ShippingPointName | ||||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| RepetitiveManufacturingIsAllwd | RepetitiveManufacturingIsAllwd | Repetitive Manufacturing Allowed | ||
| Plant | Plant | Valuation Area | ||
| JITComponentIsReordered | JITComponentIsReordered | Packing Group Usage | ||
| JITPckgGrpDesc | ||||
| JITPackageLevel | JITPackageLevel | Packing Level | ||
| MaterialAvailabilityDateTime | MaterialAvailabilityDateTime | Material Availability Date/Time | ||
| PlannedShippingDateTime | PlannedShippingDateTime | Planned Goods Issue Date/Time | ||
| RequirementDateTime | RequirementDateTime | Requirement Date/Time | ||
| JITExtSequenceNumberFrom | JITExtSequenceNumberFrom | External Sequence Number - From | ||
| JITExtSequenceNumberTo | JITExtSequenceNumberTo | External Sequence Number - To | ||
| JITFormattedSequenceNmbrFrom | JITFormattedSequenceNmbrFrom | Formatted Sequence Number - From | ||
| JITFormattedSequenceNmbrTo | JITFormattedSequenceNmbrTo | Formatted Sequence Number - To | ||
| JITExtStatusUpdtdOn | JITExtStatusUpdtdOn | External Status Date/Time | ||
| JITIntStatusUpdtdOn | JITIntStatusUpdtdOn | Internal Status Date/Time | ||
| char3asJITLifeCycleStatusCriticality | ||||
| StorageLocation | StorageLocation | StorageLocation | ||
| JITDelivSqncGrpUUID | JITDelivSqncGrpUUID | NodeID | ||
| JITDelivSqncGrpID | JITDelivSqncGrpID | Delivery Sequence Group Number | ||
| JITArchivingStatus | JITArchivingStatus | Archiving Status | ||
| StorageLocationName | ||||
| RespyMgmtTeamID | Team ID | |||
| TotalNumberOfPackages | ||||
| ExternalJITCallNumber | External JIT Call Number | |||
| JITIntProcessingStatus | Internal Processing Status | |||
| CompGrpMatl | Component Group Material | |||
| ProductionLine | Production Line | |||
| JITExtSequenceNumber | External Sequence Number | |||
| CustCompGrpMatl | Customer Component Group Material | |||
| ExtCompGrpNumber | External Component Group Number | |||
| TotalNumberOfCellCount | _JITPckgGrpCnsmpnStsCnsldtd | TotalNumberOfCellCount | Total Number Of Slot | |
| ExtJITDelivSqncGrpID | _JITDelivSqncGrpHeaderBasic | ExtJITDelivSqncGrpID | Ext Group Number | |
| JITPackingGroupIsNestedText | ||||
| HandlingUnitExternalID | Handling Unit Number | |||
| BusinessTransactionDocument | _JITPckgGrpHandlingUnitRef | BusinessTransactionDocument | BTD ID | |
| OutboundDelivery | Outbound Delivery Number | |||
| SalesDocumentCreationDateTime | Actual Delivery Creation Date/Time | |||
| OverallPickingStatusDesc | Picking Status | |||
| PlannedGoodsIssueDate | ||||
| OverallGoodsMovementStatusDesc | Goods Issue Status | |||
| OverallDelivReltdBillgStsDesc | Billing Status | |||
| ActualGoodsMovementDateTime | Actual Goods Issue Date/Time | |||
| OverallPickingStatus | ||||
| JITPckgGrpDefID | _JITPckgGrpDef | JITPckgGrpDefID | Packing Group Specification | |
| Product | _JITPckgGrpDef | PackagingMaterial | Packaging Material | |
| ProductName | Packaging Material Description | |||
| JITPckgRackSize | _JITPckgGrpDef | JITPckgRackSize | Number of Slots | |
| TotalNumberOfCnsmdCellCnt | _JITPckgGrpCnsmpnStsCnsldtd | TotalNumberOfCnsmdCellCnt | Total Number Of Consumed Slot | |
| NmbrOfFilledCell | _JITPckgGrpCnsmpnStsCnsldtd | TotalNumberOfCnsmdCellCnt | ||
| HandlingUnitStatusText | ||||
| JITComponentIsReorderedText | ||||
| JITRepetitiveMfgAllwdText | ||||
| JITArchivingStatusText | ||||
| _JITPckgGrpItemTP | _JITPckgGrpItemTP | |||
| _JITPckgGrpCellCnsmpnStsTP | _JITPckgGrpCellCnsmpnStsTP | |||
| _JITPckgGrpDocRefTP | _JITPckgGrpDocRefTP | |||
| _JITPckgGrpDef | _JITPckgGrpDef | |||
| _JITPackageGroupDefDescTP | _JITPackageGroupDefDescTP | |||
| _JITComponentIsReordered | _JITComponentIsReordered | |||
| _JITPackingGroupIsNested | _JITPackingGroupIsNested | |||
| _JITRepetitiveMfg | _JITRepetitiveMfg | |||
| _JITPackingStatus | _JITPackingStatus | |||
| _JITPckgGrpSlot | _JITPckgGrpSlot | |||
| _JITHndlgUnitCrtnStatus | _JITHndlgUnitCrtnStatus | |||
| _ShippingPoint | _ShippingPoint | |||
| _JITPackingGroupActionLogTP | _JITPackingGroupActionLogTP | |||
| _Customer | _Customer | |||
| _Plant | _Plant | |||
| _JITCallCompGroup | _JITCallCompGroup | |||
| _JITPckgGrpDeliveryRef | _JITPckgGrpDeliveryRef | |||
| _JITPackingGroupUsageType | _JITPackingGroupUsageType | |||
| _JITArchivingStatus | _JITArchivingStatus |
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 C_JITPackageGroup.
-- 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 C_JITPackageGroup AS
SELECT
JITPckgGrpUUID,
JITPckgGrpDefUUID,
JITPckgGrpID,
JITAltvHndlgUnitID,
JITPackingGroupIsNested,
ShipToParty,
JITPckgGrpStatus,
_JITPckgGrpStatus._Text[1: Language = $session.system_language].JITPckgGrpStatusTxt AS JITPckgGrpStatusTxt,
CustSupplyArea,
cast('' as njit_pckg_grp_packing_stat preserving type ) AS JITPackingStatus,
HandlingUnitStatus,
CustAssemblyLoc,
ShippingPoint,
_ShippingPoint._Text[1: Language=$session.system_language].ShippingPointName AS ShippingPointName,
UnloadingPointName,
RepetitiveManufacturingIsAllwd,
Plant,
JITComponentIsReordered,
concat_with_space( 'Packing Group ID:', ltrim(JITPckgGrpID,'0'), 3 ) AS JITPckgGrpDesc,
JITPackageLevel,
MaterialAvailabilityDateTime,
PlannedShippingDateTime,
RequirementDateTime,
JITExtSequenceNumberFrom,
JITExtSequenceNumberTo,
JITFormattedSequenceNmbrFrom,
JITFormattedSequenceNmbrTo,
JITExtStatusUpdtdOn,
JITIntStatusUpdtdOn,
cast( case when _JITPckgGrpCnsmpnStsCnsldtd.StatusCriticality = 100 then 3 when ( _JITPckgGrpCnsmpnStsCnsldtd.StatusCriticality > 50 and _JITPckgGrpCnsmpnStsCnsldtd.StatusCriticality < 100 ) then 2 else 1 end as abap.char(3)) as JITLifeCycleStatusCriticality AS char3asJITLifeCycleStatusCriticality,
StorageLocation,
JITDelivSqncGrpUUID,
JITDelivSqncGrpID,
JITArchivingStatus,
' ' AS StorageLocationName,
cast('' as hrobjid) AS RespyMgmtTeamID,
cast('0000000000' as abap.numc( 10 )) AS TotalNumberOfPackages,
cast('' as njit_ext_call_num ) AS ExternalJITCallNumber,
cast('' as njit_int_stat ) AS JITIntProcessingStatus,
cast('' as njit_comp_grp_mat ) AS CompGrpMatl,
cast('' as pph_arbpl ) AS ProductionLine,
cast('' as njit_ext_seqnr ) AS JITExtSequenceNumber,
cast('' as njit_cust_comp_grp_mat ) AS CustCompGrpMatl,
cast( '' as njit_ext_comp_grp_num ) AS ExtCompGrpNumber,
_JITPckgGrpCnsmpnStsCnsldtd.TotalNumberOfCellCount AS TotalNumberOfCellCount,
_JITDelivSqncGrpHeaderBasic.ExtJITDelivSqncGrpID AS ExtJITDelivSqncGrpID,
_JITPackingGroupIsNested._Text[1: Language = $session.system_language].JITPackingGroupIsNestedText AS JITPackingGroupIsNestedText,
cast(_JITPckgGrpHandlingUnitRef.BusinessTransactionDocument as exidv) AS HandlingUnitExternalID,
_JITPckgGrpHandlingUnitRef.BusinessTransactionDocument AS BusinessTransactionDocument,
cast ( _JITPckgGrpDeliveryRef.BusinessTransactionDocument as vbeln ) AS OutboundDelivery,
cast( dats_tims_to_tstmp(_JITPckgGrpDeliveryRef._DeliveryDocument.CreationDate, _JITPckgGrpDeliveryRef._DeliveryDocument.CreationTime, abap_user_timezone($session.user, $session.client, 'NULL'), $session.client, 'NULL') as tzntstmps preserving type ) AS SalesDocumentCreationDateTime,
_JITPckgGrpDeliveryRef._DeliveryDocument._OverallPickingStatus._Text[1: Language=$session.system_language].OverallPickingStatusDesc AS OverallPickingStatusDesc,
_JITPckgGrpDeliveryRef._DeliveryDocument.PlannedGoodsIssueDate AS PlannedGoodsIssueDate,
_JITPckgGrpDeliveryRef._DeliveryDocument._OverallGoodsMovementStatus._Text[1: Language=$session.system_language].OverallGoodsMovementStatusDesc AS OverallGoodsMovementStatusDesc,
_JITPckgGrpDeliveryRef._DeliveryDocument._OverallDelivReltdBillgStatus._Text[1: Language=$session.system_language].OverallDelivReltdBillgStsDesc AS OverallDelivReltdBillgStsDesc,
cast( dats_tims_to_tstmp(_JITPckgGrpDeliveryRef._DeliveryDocument.ActualGoodsMovementDate, _JITPckgGrpDeliveryRef._DeliveryDocument.ActualGoodsMovementTime, abap_user_timezone($session.user, $session.client, 'NULL'), $session.client, 'NULL') as tzntstmps preserving type ) AS ActualGoodsMovementDateTime,
_JITPckgGrpDeliveryRef._DeliveryDocument.OverallPickingStatus AS OverallPickingStatus,
_JITPckgGrpDef.JITPckgGrpDefID AS JITPckgGrpDefID,
_JITPckgGrpDef.PackagingMaterial AS Product,
_JITPckgGrpDef._Product._Text[1: Language = $session.system_language].ProductName AS ProductName,
_JITPckgGrpDef.JITPckgRackSize AS JITPckgRackSize,
_JITPckgGrpCnsmpnStsCnsldtd.TotalNumberOfCnsmdCellCnt AS TotalNumberOfCnsmdCellCnt,
_JITPckgGrpCnsmpnStsCnsldtd.TotalNumberOfCnsmdCellCnt AS NmbrOfFilledCell,
_JITHndlgUnitCrtnStatus._Text[1:Language = $session.system_language].HandlingUnitStatusText AS HandlingUnitStatusText,
_JITPackingGroupUsageType._Text[1:Language = $session.system_language].JITPackingGroupUsageTypeText AS JITComponentIsReorderedText,
_JITRepetitiveMfg._Text[1:Language = $session.system_language].RepetitiveMfgIsAllwdText AS JITRepetitiveMfgAllwdText,
_JITArchivingStatus._Text[1:Language = $session.system_language].JITArchivingStatusText AS JITArchivingStatusText
FROM I_JITPckgGrpHeaderTP
LEFT OUTER JOIN C_JITPckgGrpItem AS _JITPckgGrpSlot ON JITPckgGrpUUID = _JITPckgGrpSlot.JITSubPckgGrpUUID -- association [0..*]
LEFT OUTER JOIN I_JITPckgGrpDef AS _JITPckgGrpDef ON JITPckgGrpDefUUID = _JITPckgGrpDef.JITPckgGrpDefUUID -- association [1..1]
LEFT OUTER JOIN C_JITPckgGrpDefTxtTP AS _JITPackageGroupDefDescTP ON JITPckgGrpDefUUID = _JITPackageGroupDefDescTP.JITPckgGrpDefUUID -- association [0..*]
LEFT OUTER JOIN I_JITComponentIsReordered AS _JITComponentIsReordered ON JITComponentIsReordered = _JITComponentIsReordered.JITComponentIsReordered -- association [0..1]
LEFT OUTER JOIN I_JITPackingGroupIsNested AS _JITPackingGroupIsNested ON JITPackingGroupIsNested = _JITPackingGroupIsNested.JITPackingGroupIsNested -- association [0..1]
LEFT OUTER JOIN I_JITRepetitiveMfg AS _JITRepetitiveMfg ON RepetitiveManufacturingIsAllwd = _JITRepetitiveMfg.RepetitiveManufacturingIsAllwd -- association [0..1]
LEFT OUTER JOIN I_JITPackingStatus AS _JITPackingStatus ON JITPackingStatus = _JITPackingStatus.JITPackingStatus -- association [0..1]
LEFT OUTER JOIN I_JITHndlgUnitCrtnStatus AS _JITHndlgUnitCrtnStatus ON HandlingUnitStatus = _JITHndlgUnitCrtnStatus.HandlingUnitStatus -- association [0..1]
LEFT OUTER JOIN I_JITPlant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON ShipToParty = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN C_JITPckgGrpActionLogTP AS _JITPackingGroupActionLogTP ON JITPckgGrpUUID = _JITPackingGroupActionLogTP.JITPckgGrpUUID -- association [0..*]
LEFT OUTER JOIN I_JITPckgGrpDocRefBasic AS _JITPckgGrpHandlingUnitRef ON JITPckgGrpUUID = _JITPckgGrpHandlingUnitRef.JITPckgGrpUUID AND _JITPckgGrpHandlingUnitRef.BusinessTransactionDocType = 'X' -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpDocRefBasic AS _JITPckgGrpDeliveryRef ON JITPckgGrpUUID = _JITPckgGrpDeliveryRef.JITPckgGrpUUID AND _JITPckgGrpDeliveryRef.BusinessTransactionDocType = 'J' -- association [0..1]
LEFT OUTER JOIN I_JITCallCompGroupBasic AS _JITCallCompGroup ON JITPckgGrpUUID = _JITCallCompGroup.JITSuperPckgGrpUUID -- association [0..*]
LEFT OUTER JOIN I_JITPackingGroupUsageType AS _JITPackingGroupUsageType ON JITComponentIsReordered = _JITPackingGroupUsageType.JITPackingGroupUsageType -- association [0..1]
LEFT OUTER JOIN I_JITArchivingStatus AS _JITArchivingStatus ON JITArchivingStatus = _JITArchivingStatus.JITArchivingStatus -- association [0..1]
;
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