R_JITPackingGroupTP
Just In Time Packing Group - TP
R_JITPackingGroupTP is a Transactional CDS View that provides data about "Just In Time Packing Group - TP" in SAP S/4HANA. It reads from 1 data source (njit_d_pg_hdr) and exposes 67 fields with key field JITPckgGrpUUID. It has 15 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| njit_d_pg_hdr | njit_d_pg_hdr | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | I_Customer | _Customer | $projection.ShipToParty = _Customer.Customer |
| [0..1] | I_JITPckgGrpStatus | _JITPckgGrpStatus | $projection.JITPckgGrpStatus = _JITPckgGrpStatus.JITPckgGrpStatus |
| [0..1] | I_JITPckgGrpDef | _JITPckgGrpDef | $projection.JITPckgGrpDefUUID = _JITPckgGrpDef.JITPckgGrpDefUUID |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [1..1] | I_JITDelivSqncGrpHeaderBasic | _JITDelivSqncGrpHeader | $projection.JITDelivSqncGrpUUID = _JITDelivSqncGrpHeader.JITDelivSqncGrpUUID |
| [0..*] | R_JITPackingGroupItemRefTP | _JITPackingGroupItemRefTP | $projection.JITPckgGrpUUID = _JITPackingGroupItemRefTP.ReferenceDocumentUUID and _JITPackingGroupItemRefTP.JITPckgCntntType = '0' |
| [0..1] | I_JITPackingGroupUsageType | _JITPackingGroupUsageType | $projection.JITPackingGroupUsageType = _JITPackingGroupUsageType.JITPackingGroupUsageType |
| [0..1] | I_JITLogsIntegRlvtEntity | _JITLogsIntegRlvtEntity | $projection.JITLogsIntegRlvtEntity = _JITLogsIntegRlvtEntity.JITLogsIntegRlvtEntity |
| [1..*] | R_JITPackingGroupItemTP | _JITPackingGroupItemTP | |
| [1..1] | R_JITPackingGrpCellCnsmpnTP | _JITPackingGrpCellCnsmpnTP | |
| [0..*] | R_JITPackingGroupDocumentRefTP | _JITPackingGroupDocumentRefTP | |
| [0..*] | R_JITPackingGroupActionLogTP | _JITPackingGroupActionLogTP | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Just In Time Packing Group - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | JustInTimePackageUnit | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JITPckgGrpUUID | db_key | UUID | |
| JITPckgGrpID | pckg_grp_id | Package Group ID | ||
| JITPckgGrpDefUUID | pckg_grp_def_uuid | NodeID | ||
| JITPckgGrpStatus | status | Workflow Status | ||
| ShipToParty | kunnr | Stock customer | ||
| UnloadingPointName | ablad | Unloading Point | ||
| ShippingPoint | vstel | ShpPtDeparture | ||
| PlannedShippingDateTime | planned_shipping_dt | Pl. Shippg Date Time | ||
| RequirementDateTime | requirement_date | Reqmt Date Time | ||
| DeliveryCreationDate | ledat | Delivery Date | ||
| MaterialAvailabilityDateTime | materialavailabilitydatetime | Time Stamp | ||
| ProductionStartDate | productionstartdate | Start of Production | ||
| ProductionEndDate | productionenddate | Production End Date | ||
| CustSupplyArea | cust_sup_area | Cust. Supply Area | ||
| CustAssemblyLoc | fldpo | Assy Loc. | ||
| Plant | werks | Receiving Plant | ||
| JITComponentIsReordered | jitcomponentisreordered | Usage Type | ||
| JITPackingGroupUsageType | jitcomponentisreordered | Usage Type | ||
| JITPackageLevel | jitpackagelevel | Packing Level | ||
| StorageLocation | lgort | Sublocation | ||
| CustomerUUID | customeruuid | NodeID | ||
| JITAltvHndlgUnitID | jitaltvhndlgunitid | Alt. PG ID Short | ||
| JITAltvHndlgUnitIDShrt | jitaltvhndlgunitidshrt | Alt. PG ID Short | ||
| RepetitiveManufacturingIsAllwd | repetitivemanufacturingisallwd | Repetitive Manufacturing Enabled | ||
| JITDelivSqncGrpID | jitdelivsqncgrpid | Del. Seq. Grp. ID | ||
| JITDelivSqncGrpUUID | jitdelivsqncgrpuuid | NodeID | ||
| JITExtSequenceNumberFrom | jitextsequencenumberfrom | Ext.Seq. Number | ||
| JITExtSequenceNumberTo | jitextsequencenumberto | Ext.Seq. Number | ||
| JITFormattedSequenceNmbrFrom | jitformattedsequencenmbrfrom | Formtd Seq. No | ||
| JITFormattedSequenceNmbrTo | jitformattedsequencenmbrto | Formtd Seq. No | ||
| JITExtStatusUpdtdOn | jitextstatusupdtdon | Ext. Status Updtd | ||
| JITIntStatusUpdtdOn | jitintstatusupdtdon | Int Status Updtd On | ||
| DeliveryCreationTime | deliverycreationtime | Field of type TIMS | ||
| JITPackingGroupCreationStatus | pkg_grp_stat | Package Group Status | ||
| DeliveryStatus | deli_crea_stat | Del. Creation Status | ||
| GoodsMovementStatus | goods_mvmt_stat | Gds Movemt Status | ||
| JITBillingStatus | bill_stat | Billing Status | ||
| JITReleaseToProductionStatus | r2p_stat | R2PStatus | ||
| JITProdnConfirmationStatus | cp_stat | Confirm Prod. Status | ||
| JITReleaseForPackingStatus | r2pck_stat | Rls.Pack. Sts. | ||
| JITPackingConfirmationStatus | pack_stat | Packing Status | ||
| HandlingUnitStatus | hu_stat | Handling Unit Status | ||
| JITArchivingStatus | jitarchivingstatus | Archiving Stat. | ||
| JITCompGrpErlstDelivCrtnUUID | jitcompgrperlstdelivcrtnuuid | NodeID | ||
| CreationDateTime | crea_date_time | Time Stamp | ||
| CreatedByUser | crea_uname | User Name | ||
| ChangedOnDateTime | lchg_date_time | Time Stamp | ||
| LastChangedByUser | lchg_uname | User Name | ||
| JITLogsIntegRlvtEntity | jitlogsintegrlvtentity | LI Relevance | ||
| JITPckgGrpStatusTxt | ||||
| IsBusinessPurposeCompleted | _Customer | IsBusinessPurposeCompleted | Purpose Completed | |
| AuthorizationGroup | _Customer | AuthorizationGroup | AuthorizGroup | |
| _JITPackingGroupItemTP | _JITPackingGroupItemTP | |||
| _JITPackingGrpCellCnsmpnTP | _JITPackingGrpCellCnsmpnTP | |||
| _JITPackingGroupDocumentRefTP | _JITPackingGroupDocumentRefTP | |||
| _JITPackingGroupActionLogTP | _JITPackingGroupActionLogTP | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _Customer | _Customer | |||
| _JITPckgGrpStatus | _JITPckgGrpStatus | |||
| _JITPckgGrpDef | _JITPckgGrpDef | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _JITDelivSqncGrpHeader | _JITDelivSqncGrpHeader | |||
| _JITPackingGroupItemRefTP | _JITPackingGroupItemRefTP | |||
| _JITPackingGroupUsageType | _JITPackingGroupUsageType | |||
| _JITLogsIntegRlvtEntity | _JITLogsIntegRlvtEntity |
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 R_JITPackingGroupTP.
-- 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 R_JITPackingGroupTP AS
SELECT
db_key AS JITPckgGrpUUID,
pckg_grp_id AS JITPckgGrpID,
pckg_grp_def_uuid AS JITPckgGrpDefUUID,
status AS JITPckgGrpStatus,
kunnr AS ShipToParty,
ablad AS UnloadingPointName,
vstel AS ShippingPoint,
planned_shipping_dt AS PlannedShippingDateTime,
requirement_date AS RequirementDateTime,
ledat AS DeliveryCreationDate,
MaterialAvailabilityDateTime,
ProductionStartDate,
ProductionEndDate,
cust_sup_area AS CustSupplyArea,
fldpo AS CustAssemblyLoc,
werks AS Plant,
JITComponentIsReordered,
jitcomponentisreordered AS JITPackingGroupUsageType,
JITPackageLevel,
lgort AS StorageLocation,
CustomerUUID,
JITAltvHndlgUnitID,
JITAltvHndlgUnitIDShrt,
RepetitiveManufacturingIsAllwd,
JITDelivSqncGrpID,
JITDelivSqncGrpUUID,
JITExtSequenceNumberFrom,
JITExtSequenceNumberTo,
JITFormattedSequenceNmbrFrom,
JITFormattedSequenceNmbrTo,
JITExtStatusUpdtdOn,
JITIntStatusUpdtdOn,
DeliveryCreationTime,
pkg_grp_stat AS JITPackingGroupCreationStatus,
deli_crea_stat AS DeliveryStatus,
goods_mvmt_stat AS GoodsMovementStatus,
bill_stat AS JITBillingStatus,
r2p_stat AS JITReleaseToProductionStatus,
cp_stat AS JITProdnConfirmationStatus,
r2pck_stat AS JITReleaseForPackingStatus,
pack_stat AS JITPackingConfirmationStatus,
hu_stat AS HandlingUnitStatus,
JITArchivingStatus,
JITCompGrpErlstDelivCrtnUUID,
crea_date_time AS CreationDateTime,
crea_uname AS CreatedByUser,
lchg_date_time AS ChangedOnDateTime,
lchg_uname AS LastChangedByUser,
JITLogsIntegRlvtEntity,
_JITPckgGrpStatus._Text[1: Language=$session.system_language].JITPckgGrpStatusTxt AS JITPckgGrpStatusTxt,
_Customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_Customer.AuthorizationGroup AS AuthorizationGroup
FROM njit_d_pg_hdr
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON ShipToParty = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpStatus AS _JITPckgGrpStatus ON JITPckgGrpStatus = _JITPckgGrpStatus.JITPckgGrpStatus -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpDef AS _JITPckgGrpDef ON JITPckgGrpDefUUID = _JITPckgGrpDef.JITPckgGrpDefUUID -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_JITDelivSqncGrpHeaderBasic AS _JITDelivSqncGrpHeader ON JITDelivSqncGrpUUID = _JITDelivSqncGrpHeader.JITDelivSqncGrpUUID -- association [1..1]
LEFT OUTER JOIN R_JITPackingGroupItemRefTP AS _JITPackingGroupItemRefTP ON JITPckgGrpUUID = _JITPackingGroupItemRefTP.ReferenceDocumentUUID AND _JITPackingGroupItemRefTP.JITPckgCntntType = '0' -- association [0..*]
LEFT OUTER JOIN I_JITPackingGroupUsageType AS _JITPackingGroupUsageType ON JITPackingGroupUsageType = _JITPackingGroupUsageType.JITPackingGroupUsageType -- association [0..1]
LEFT OUTER JOIN I_JITLogsIntegRlvtEntity AS _JITLogsIntegRlvtEntity ON JITLogsIntegRlvtEntity = _JITLogsIntegRlvtEntity.JITLogsIntegRlvtEntity -- association [0..1]
LEFT OUTER JOIN R_JITPackingGroupItemTP AS _JITPackingGroupItemTP ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_JITPackingGrpCellCnsmpnTP AS _JITPackingGrpCellCnsmpnTP ON /* condition not available in parsed metadata */ -- association [1..1]
LEFT OUTER JOIN R_JITPackingGroupDocumentRefTP AS _JITPackingGroupDocumentRefTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_JITPackingGroupActionLogTP AS _JITPackingGroupActionLogTP 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