R_JITScanSlotHistoryTP

DDL: R_JITSCANSLOTHISTORYTP Type: view_entity TRANSACTIONAL

JIT Scan History for Slot Scan

R_JITScanSlotHistoryTP is a Transactional CDS View that provides data about "JIT Scan History for Slot Scan" in SAP S/4HANA. It reads from 1 data source (njit_d_scan_slot) and exposes 33 fields with key field JITScanHistoryItemUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
njit_d_scan_slot njit_d_scan_slot from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1] E_JITScanSlotHistory _Extension $projection.JITScanHistoryItemUUID = _Extension.JITScanHistoryItemUUID
[0..*] R_JITScanSerialNumberHistoryTP _JITScanSerialNumberHistoryTP

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label JIT Scan History for Slot Scan view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.quota.maximumFields 500 view
AbapCatalog.extensibility.quota.maximumBytes 50000 view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY JITScanHistoryItemUUID jitscanhistoryitemuuid NodeID
JITScanUUID jitscanuuid NodeID
JITObjectUUID jitobjectuuid NodeID
ExternalJITCallNumber externaljitcallnumber Ext. JIT Call Number
InternalJITCallNumber internaljitcallnumber JIT Call Number
JITPckgGrpID jitpckggrpid Package Group ID
JITAltvHndlgUnitID jitaltvhndlgunitid Alt. PG ID Short
CompGrpNumber compgrpnumber Component Group No.
CompGrpMatl compgrpmatl Comp. Group Matl.
Material material Vehicle Model
SerialNumber serialnumber Serial Number
AssemblyLocation assemblylocation Assembly Location
VehicleModel vehiclemodel Vehicle Model
JITPckgGrpContentID jitpckggrpcontentid Pckg Grp Content ID
JITPckgGrpCellNumber jitpckggrpcellnumber Slot Number
JITScanItemStatus jitscanitemstatus Scan Status
OutboundDelivery outbounddelivery LE Delivery
JITLastScannedSequence
RequestedQuantity requestedquantity Requested Quantity
QuantityUnit quantityunit Unit of measure
ScannedSerialNumberQuantity scannedserialnumberquantity Scanned Quantity
SerialNumberScanIsAllowed serialnumberscanisallowed Truth Value
JITPckgCntntType jitpckgcntnttype Content Type
JITScanOrderValue
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
JITGroupScanUUID jitgroupscanuuid NodeID
_JITScanHistoryTP _JITScanHistoryTP
_JITScanSerialNumberHistoryTP _JITScanSerialNumberHistoryTP
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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_JITScanSlotHistoryTP.
-- 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_JITScanSlotHistoryTP AS
SELECT
  JITScanHistoryItemUUID,
  JITScanUUID,
  JITObjectUUID,
  ExternalJITCallNumber,
  InternalJITCallNumber,
  JITPckgGrpID,
  JITAltvHndlgUnitID,
  CompGrpNumber,
  CompGrpMatl,
  Material,
  SerialNumber,
  AssemblyLocation,
  VehicleModel,
  JITPckgGrpContentID,
  JITPckgGrpCellNumber,
  JITScanItemStatus,
  OutboundDelivery,
  cast( ' ' as njit_scan_sequence ) AS JITLastScannedSequence,
  RequestedQuantity,
  QuantityUnit,
  ScannedSerialNumberQuantity,
  SerialNumberScanIsAllowed,
  JITPckgCntntType,
  cast( 0 as abap.int2 ) AS JITScanOrderValue,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  JITGroupScanUUID
FROM njit_d_scan_slot
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 E_JITScanSlotHistory AS _Extension ON JITScanHistoryItemUUID = _Extension.JITScanHistoryItemUUID  -- association [1]
LEFT OUTER JOIN R_JITScanSerialNumberHistoryTP AS _JITScanSerialNumberHistoryTP ON /* condition not available in parsed metadata */  -- association [0..*]
;