C_SFIRetdNonTraceableMaterial

DDL: C_SFIRETDNONTRACEABLEMATERIAL Type: view_entity CONSUMPTION Package: MPE_EXEC_SFI

SFI returned non traceable material

C_SFIRetdNonTraceableMaterial is a Consumption CDS View that provides data about "SFI returned non traceable material" in SAP S/4HANA. It reads from 1 data source (P_SFINonTrcblComponentAssembly) and exposes 53 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement. It has 4 associations to related views. Part of development package MPE_EXEC_SFI.

Data Sources (1)

SourceAliasJoin Type
P_SFINonTrcblComponentAssembly ass from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_OpActyNtwkInstance _OpActyNtwkInstance $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance
[1..1] I_OperationActivityInstance _OperationActivityInstance $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement ----Extension
[0..1] E_BillOfMaterialItemTP _BillOfMaterialItemExtension $projection.BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory and $projection.BillOfMaterialInternalID = _BillOfMaterialItemExtension.BillOfMaterial and $projection.BOMItem = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber and $projection.BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount

Annotations (12)

NameValueLevelField
Metadata.allowExtensions true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Returned Non-Traceable Material view
UI.headerInfo.typeNamePlural Returned Non-Traceable Materials view
UI.headerInfo.title.label Returned Non-Traceable Material view
UI.textArrangement #TEXT_LAST view
EndUserText.label SFI returned non traceable material view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY Reservation P_SFINonTrcblComponentAssembly Reservation Reservation
KEY ReservationItem P_SFINonTrcblComponentAssembly ReservationItem Reservation Item
KEY RecordType P_SFINonTrcblComponentAssembly RecordType Reservation Record Type
KEY OpActyNtwkInstance P_SFINonTrcblComponentAssembly OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement P_SFINonTrcblComponentAssembly OpActyNtwkElement Element Number
KEY AssemblyShopFloorItem P_SFINonTrcblComponentAssembly AssemblyShopFloorItem
OriginalReplacedShopFloorItem P_SFINonTrcblComponentAssembly OriginalReplacedShopFloorItem
Batch
Material
Plant P_SFINonTrcblComponentAssembly Plant Valuation Area
StorageLocation P_SFINonTrcblComponentAssembly StorageLocation StorageLocation
StorageLocationName
BillOfMaterialItemNumber P_SFINonTrcblComponentAssembly BillOfMaterialItemNumber Item
BillOfMaterialCategory P_SFINonTrcblComponentAssembly BillOfMaterialCategory BOM category
BillOfMaterialInternalID P_SFINonTrcblComponentAssembly BillOfMaterialInternalID
BOMItem P_SFINonTrcblComponentAssembly BOMItem
BOMItemInternalChangeCount P_SFINonTrcblComponentAssembly BOMItemInternalChangeCount Counter
BillOfMaterialVariant P_SFINonTrcblComponentAssembly BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion P_SFINonTrcblComponentAssembly BillOfMaterialVersion BOM Version
InheritedNodeNumberForBOMItem P_SFINonTrcblComponentAssembly InheritedNodeNumberForBOMItem Nodes
InheritedNodeNumberVersionBOM P_SFINonTrcblComponentAssembly InheritedNodeNumberVersionBOM Item node
MaterialName
RequiredQuantity
RequiredQuantityInBaseUnit
ResvnItmWithdrawnQtyInBaseUnit
MaterialBaseUnit P_SFINonTrcblComponentAssembly MaterialBaseUnit Valuation Unit
EntryUnit P_SFINonTrcblComponentAssembly EntryUnit Unit of Entry
OrderInternalID P_SFINonTrcblComponentAssembly OrderInternalID Plan No.f.Oper.
OrderOperationInternalID P_SFINonTrcblComponentAssembly OrderOperationInternalID
BatchBySupplier
MaterialCompIsVariableSized
FormulaKey P_SFINonTrcblComponentAssembly FormulaKey VSI Formula
VariableSizeDimension1 P_SFINonTrcblComponentAssembly VariableSizeDimension1 Size 1
VariableSizeDimension2 P_SFINonTrcblComponentAssembly VariableSizeDimension2 Size 2
VariableSizeDimension3 P_SFINonTrcblComponentAssembly VariableSizeDimension3 Size 3
VariableSizeDimensionUnit P_SFINonTrcblComponentAssembly VariableSizeDimensionUnit Size unit
VarblSizeCompFrmtdFormulaVal
VariableSizeComponentQuantity P_SFINonTrcblComponentAssembly VariableSizeComponentQuantity VSI Quantity
VariableSizeComponentUnit P_SFINonTrcblComponentAssembly VariableSizeComponentUnit VSI UoM
ManufacturingOrder
MfgOrderOperationText P_SFINonTrcblComponentAssembly MfgOrderOperationText
OperationActivityName
MatlCompAssembleControl P_SFINonTrcblComponentAssembly MatlCompAssembleControl
BOMItemCategory P_SFINonTrcblComponentAssembly BOMItemCategory Item Category
BillOfMaterialItemCategoryDesc
EffectivityParameterVariant P_SFINonTrcblComponentAssembly EffectivityParameterVariant
Assembly P_SFINonTrcblComponentAssembly Assembly Pegged Reqmt
_Batch P_SFINonTrcblComponentAssembly _Batch
_Material P_SFINonTrcblComponentAssembly _Material
_StorageLocation P_SFINonTrcblComponentAssembly _StorageLocation
_Plant _Plant
_OpActyNtwkInstance _OpActyNtwkInstance
_OperationActivityInstance _OperationActivityInstance

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_SFIRetdNonTraceableMaterial.
-- 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_SFIRetdNonTraceableMaterial AS
SELECT
  ass.Reservation AS Reservation,
  ass.ReservationItem AS ReservationItem,
  ass.RecordType AS RecordType,
  ass.OpActyNtwkInstance AS OpActyNtwkInstance,
  ass.OpActyNtwkElement AS OpActyNtwkElement,
  ass.AssemblyShopFloorItem AS AssemblyShopFloorItem,
  ass.OriginalReplacedShopFloorItem AS OriginalReplacedShopFloorItem,
  ass.Plant AS Plant,
  ass.StorageLocation AS StorageLocation,
  ass._StorageLocation.StorageLocationName AS StorageLocationName,
  ass.BillOfMaterialItemNumber AS BillOfMaterialItemNumber,
  ass.BillOfMaterialCategory AS BillOfMaterialCategory,
  ass.BillOfMaterialInternalID AS BillOfMaterialInternalID,
  ass.BOMItem AS BOMItem,
  ass.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
  ass.BillOfMaterialVariant AS BillOfMaterialVariant,
  ass.BillOfMaterialVersion AS BillOfMaterialVersion,
  ass.InheritedNodeNumberForBOMItem AS InheritedNodeNumberForBOMItem,
  ass.InheritedNodeNumberVersionBOM AS InheritedNodeNumberVersionBOM,
  ass._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  cast(ass.MaterialComponentQuantity as mpe_planned_qty preserving type ) AS RequiredQuantity,
  cast(ass.ResvnItmWithdrawnQtyInBaseUnit as mpe_planned_qty_in_base_unit preserving type ) AS RequiredQuantityInBaseUnit,
  cast(ass.ResvnItmWithdrawnQtyInBaseUnit as mpe_returned_qty_in_base_unit preserving type ) AS ResvnItmWithdrawnQtyInBaseUnit,
  ass.MaterialBaseUnit AS MaterialBaseUnit,
  ass.EntryUnit AS EntryUnit,
  ass.OrderInternalID AS OrderInternalID,
  ass.OrderOperationInternalID AS OrderOperationInternalID,
  cast(' ' as lichn preserving type ) AS BatchBySupplier,
  ass.FormulaKey AS FormulaKey,
  ass.VariableSizeDimension1 AS VariableSizeDimension1,
  ass.VariableSizeDimension2 AS VariableSizeDimension2,
  ass.VariableSizeDimension3 AS VariableSizeDimension3,
  ass.VariableSizeDimensionUnit AS VariableSizeDimensionUnit,
  cast('' as mpe_vsi_formatted_formula) AS VarblSizeCompFrmtdFormulaVal,
  ass.VariableSizeComponentQuantity AS VariableSizeComponentQuantity,
  ass.VariableSizeComponentUnit AS VariableSizeComponentUnit,
  cast(ass.ManufacturingOrder as aufnr preserving type) AS ManufacturingOrder,
  ass.MfgOrderOperationText AS MfgOrderOperationText,
  OpActyNtwkElement._OperationActivityText[1: Language=$session.system_language].OperationActivityName AS OperationActivityName,
  ass.MatlCompAssembleControl AS MatlCompAssembleControl,
  ass.BOMItemCategory AS BOMItemCategory,
  ass._BOMItemCategory._ItemCategoryT[1: Language=$session.system_language].BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
  ass.EffectivityParameterVariant AS EffectivityParameterVariant,
  ass.Assembly AS Assembly,
  ass._Batch AS _Batch,
  ass._Material AS _Material,
  ass._StorageLocation AS _StorageLocation
FROM P_SFINonTrcblComponentAssembly AS ass
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance AND OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement  -- association [1..1]
LEFT OUTER JOIN E_BillOfMaterialItemTP AS _BillOfMaterialItemExtension ON BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory AND BillOfMaterialInternalID = _BillOfMaterialItemExtension.BillOfMaterial AND BOMItem = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber AND BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount  -- association [0..1]
;