I_JITOutbCallsCompMatlData

DDL: I_JITOUTBCALLSCOMPMATLDATA SQL: IJITOUTBCMD Type: view COMPOSITE Package: NJIT_MODEL_O

JIT Component Material Details

I_JITOutbCallsCompMatlData is a Composite CDS View that provides data about "JIT Component Material Details" in SAP S/4HANA. It reads from 1 data source (I_JITOutbCallCompMatl) and exposes 28 fields with key fields InternalJITCallNumber, CompGrpNumber, JITCallItemNumber. It has 1 association to related views. Part of development package NJIT_MODEL_O.

Data Sources (1)

SourceAliasJoin Type
I_JITOutbCallCompMatl I_JITOutbCallCompMatl from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_JITOutbCallCompGrpData _JITOutbCallCompGrpData $projection.InternalJITCallNumber = _JITOutbCallCompGrpData.InternalJITCallNumber and $projection.CompGrpNumber = _JITOutbCallCompGrpData.CompGrpNumber and $projection.ParentDraftKey = _JITOutbCallCompGrpData.JITCallCompGrpUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IJITOUTBCMD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label JIT Component Material Details view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY InternalJITCallNumber InternalJITCallNumber JIT Call Number
KEY CompGrpNumber CompGrpNumber Component Group No.
KEY JITCallItemNumber JITCallItemNumber Call Item Number
ParentDraftKey ParentDraftKey NodeID
RootDraftKey RootDraftKey NodeID
Material Material Vehicle Model
MaterialByCustomer MaterialByCustomer Customer Mat.
ExtJITCallItemNumber ExtJITCallItemNumber Extl Call Item No.
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
RequestedQuantity RequestedQuantity Requested Quantity
RequestedQuantityForEdit RequestedQuantityForEdit Requested Quantity
ActualDeliveredQuantity ActualDeliveredQuantity Delivered Quantity
JITIntProcessingStatus JITIntProcessingStatus Transmitted Status
JITIntStatusUpdtdOnDteTme JITIntStatusUpdtdOnDteTme Int Status Updtd On
JITOutbStockTransferSts JITOutbStockTransferSts Stock Trnsfr Status
QuantityUnit QuantityUnit Unit of measure
JITOutbTransferredQuantity JITOutbTransferredQuantity Transferred Qty
JITOutbMinimumQuantity JITOutbMinimumQuantity Minimum Qty
JITOutbPickedQuantity JITOutbPickedQuantity Picked Quantity
JITOutbOpenQuantity JITOutbOpenQuantity Open Qty
ShortfallQuantity ShortfallQuantity
01else0endasJITOutbToleranceQuantity Requested Quantity
_ProductCompMatl _ProductCompMatl
_UnitOfMeasure _UnitOfMeasure
_JITInternalStatus _JITInternalStatus
_JITOutbCallCompGrpData _JITOutbCallCompGrpData
_JITStockTransferSts _JITStockTransferSts

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_JITOutbCallsCompMatlData.
-- 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.
-- SQL view name: IJITOUTBCMD

CREATE VIEW I_JITOutbCallsCompMatlData AS
SELECT
  InternalJITCallNumber,
  CompGrpNumber,
  JITCallItemNumber,
  ParentDraftKey,
  RootDraftKey,
  Material,
  MaterialByCustomer,
  ExtJITCallItemNumber,
  SalesOrder,
  SalesOrderItem,
  RequestedQuantity,
  RequestedQuantityForEdit,
  ActualDeliveredQuantity,
  JITIntProcessingStatus,
  JITIntStatusUpdtdOnDteTme,
  JITOutbStockTransferSts,
  QuantityUnit,
  JITOutbTransferredQuantity,
  JITOutbMinimumQuantity,
  JITOutbPickedQuantity,
  JITOutbOpenQuantity,
  ShortfallQuantity,
  case when RequestedQuantity < JITOutbPickedQuantity and _JITOutbCallCompGrpData.JITReqQtyUpperToleranceLvl is not initial then ( RequestedQuantity + ceil( cast( RequestedQuantity as abap.fltp ) * cast( _JITOutbCallCompGrpData.JITReqQtyUpperToleranceLvl as abap.fltp ) * 0.01 ) ) when RequestedQuantity > JITOutbPickedQuantity and _JITOutbCallCompGrpData.JITReqQtyLowerToleranceLvl is not initial then ( RequestedQuantity - ceil( cast( RequestedQuantity as abap.fltp ) * cast( _JITOutbCallCompGrpData.JITReqQtyLowerToleranceLvl as abap.fltp ) * 0.01 ) ) else 0 end as JITOutbToleranceQuantity AS 01else0endasJITOutbToleranceQuantity
FROM I_JITOutbCallCompMatl
LEFT OUTER JOIN I_JITOutbCallCompGrpData AS _JITOutbCallCompGrpData ON InternalJITCallNumber = _JITOutbCallCompGrpData.InternalJITCallNumber AND CompGrpNumber = _JITOutbCallCompGrpData.CompGrpNumber AND ParentDraftKey = _JITOutbCallCompGrpData.JITCallCompGrpUUID  -- association [1..1]
;