I_JITPckgGrpDef

DDL: I_JITPCKGGRPDEF Type: view_entity BASIC

JIT Package Group Definition

I_JITPckgGrpDef is a Basic CDS View (Dimension) that provides data about "JIT Package Group Definition" in SAP S/4HANA. It reads from 1 data source (njit_d_pgd_hdr) and exposes 21 fields with key field JITPckgGrpDefUUID. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
njit_d_pgd_hdr njit_d_pgd_hdr from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_UserContactCard _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.ContactCardID
[1..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_Product _Product $projection.PackagingMaterial = _Product.Product
[0..1] I_JITPckgGrpDefStatus _JITPckgGrpDefStatus $projection.JITPckgGrpDefStatus = _JITPckgGrpDefStatus.JITPckgGrpDefStatus
[0..1] I_JITPckgGrpDefReorder _JITPckgGrpDefReorder $projection.PckgGrpDefReorder = _JITPckgGrpDefReorder.PckgGrpDefReorder
[0..1] I_JITHandlingUnitRelevance _JITHandlingUnitRelevance $projection.JITHandlingUnitRelevance = _JITHandlingUnitRelevance.JITHandlingUnitRelevance
[0..*] I_JITPckgGrpDefCell _JITPackageGroupDefCell
[0..*] I_JITPckgGrpDefHier _JITPackageGroupDefHierarchy
[0..*] I_JITPckgGrpDefTxt _PackageGroupDefinitionText

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Analytics.technicalName IJITPGDEF view
Analytics.dataCategory #DIMENSION view
EndUserText.label JIT Package Group Definition view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey JITPckgGrpDefUUID view
ObjectModel.sapObjectNodeType.name JustInTimePackgGrpSpec view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Metadata.allowExtensions true view
VDM.viewType #BASIC view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY JITPckgGrpDefUUID db_key UUID
JITPckgGrpDefID pckg_grp_def_id Package Grp Spec ID
JITPckgRackSize pckg_rack_size Rack Size
NumberRangeInterval pckg_int_nr No. Range No.
PackagingMaterial pckg_mat_id Packaging Material
JITPckgGrpDefStatus pckg_grp_status Package Spec Status
CreationDateTime crea_date_time Time Stamp
CreatedByUser crea_uname User Name
LastChangeDateTime lchg_date_time Time Stamp
LastChangedByUser lchg_uname User Name
PckgGrpDefReorder pckggrpdefreorder Reorder Pckg Spec.
JITHandlingUnitRelevance jithandlingunitrelevance Handling Unit
_ChangedByUser _ChangedByUser
_CreatedByUser _CreatedByUser
_JITPackageGroupDefCell _JITPackageGroupDefCell
_JITPackageGroupDefHierarchy _JITPackageGroupDefHierarchy
_PackageGroupDefinitionText _PackageGroupDefinitionText
_Product _Product
_JITPckgGrpDefStatus _JITPckgGrpDefStatus
_JITPckgGrpDefReorder _JITPckgGrpDefReorder
_JITHandlingUnitRelevance _JITHandlingUnitRelevance

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_JITPckgGrpDef.
-- 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_JITPckgGrpDef AS
SELECT
  db_key AS JITPckgGrpDefUUID,
  pckg_grp_def_id AS JITPckgGrpDefID,
  pckg_rack_size AS JITPckgRackSize,
  pckg_int_nr AS NumberRangeInterval,
  pckg_mat_id AS PackagingMaterial,
  pckg_grp_status AS JITPckgGrpDefStatus,
  crea_date_time AS CreationDateTime,
  crea_uname AS CreatedByUser,
  lchg_date_time AS LastChangeDateTime,
  lchg_uname AS LastChangedByUser,
  PckgGrpDefReorder,
  JITHandlingUnitRelevance
FROM njit_d_pgd_hdr
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.ContactCardID  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON CreatedByUser = _CreatedByUser.ContactCardID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON PackagingMaterial = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpDefStatus AS _JITPckgGrpDefStatus ON JITPckgGrpDefStatus = _JITPckgGrpDefStatus.JITPckgGrpDefStatus  -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpDefReorder AS _JITPckgGrpDefReorder ON PckgGrpDefReorder = _JITPckgGrpDefReorder.PckgGrpDefReorder  -- association [0..1]
LEFT OUTER JOIN I_JITHandlingUnitRelevance AS _JITHandlingUnitRelevance ON JITHandlingUnitRelevance = _JITHandlingUnitRelevance.JITHandlingUnitRelevance  -- association [0..1]
LEFT OUTER JOIN I_JITPckgGrpDefCell AS _JITPackageGroupDefCell ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_JITPckgGrpDefHier AS _JITPackageGroupDefHierarchy ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_JITPckgGrpDefTxt AS _PackageGroupDefinitionText ON /* condition not available in parsed metadata */  -- association [0..*]
;