Deprecated
This CDS view is deprecated in S/4HANA. Use C_SFODsassldNonTrcblComponent instead. View all deprecated CDS views →

C_SFORetdNonTraceableMaterial

DDL: C_SFORETDNONTRACEABLEMATERIAL Type: view_entity CONSUMPTION

Obsolete SFO returned non traceable mat

C_SFORetdNonTraceableMaterial is a Consumption CDS View that provides data about "Obsolete SFO returned non traceable mat" in SAP S/4HANA. It reads from 1 data source (P_SFONonTrcblComponentAssembly) and exposes 50 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_SFONonTrcblComponentAssembly 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 (14)

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
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_SFODsassldNonTrcblComponent 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 Obsolete SFO returned non traceable mat view

Fields (50)

KeyFieldSource TableSource FieldDescription
KEY Reservation P_SFONonTrcblComponentAssembly Reservation Reservation
KEY ReservationItem P_SFONonTrcblComponentAssembly ReservationItem Reservation Item
KEY RecordType P_SFONonTrcblComponentAssembly RecordType Reservation Record Type
KEY OpActyNtwkInstance P_SFONonTrcblComponentAssembly OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement P_SFONonTrcblComponentAssembly OpActyNtwkElement Element Number
BatchasBatch
MaterialasMaterial
Plant P_SFONonTrcblComponentAssembly Plant Valuation Area
StorageLocation P_SFONonTrcblComponentAssembly StorageLocation StorageLocation
StorageLocationName
BillOfMaterialItemNumber P_SFONonTrcblComponentAssembly BillOfMaterialItemNumber Item
BillOfMaterialCategory P_SFONonTrcblComponentAssembly BillOfMaterialCategory BOM category
BillOfMaterialInternalID P_SFONonTrcblComponentAssembly BillOfMaterialInternalID
BOMItem P_SFONonTrcblComponentAssembly BOMItem
BOMItemInternalChangeCount P_SFONonTrcblComponentAssembly BOMItemInternalChangeCount Counter
BillOfMaterialVariant P_SFONonTrcblComponentAssembly BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion P_SFONonTrcblComponentAssembly BillOfMaterialVersion BOM Version
InheritedNodeNumberForBOMItem P_SFONonTrcblComponentAssembly InheritedNodeNumberForBOMItem Nodes
InheritedNodeNumberVersionBOM P_SFONonTrcblComponentAssembly InheritedNodeNumberVersionBOM Item node
Assembly P_SFONonTrcblComponentAssembly Assembly Pegged Reqmt
MaterialName
RequiredQuantityasRequiredQuantity
RequiredQuantityInBaseUnit
ResvnItmWithdrawnQtyInBaseUnit
MaterialBaseUnit P_SFONonTrcblComponentAssembly MaterialBaseUnit Valuation Unit
EntryUnit P_SFONonTrcblComponentAssembly EntryUnit Unit of Entry
OrderInternalID P_SFONonTrcblComponentAssembly OrderInternalID Plan No.f.Oper.
OrderOperationInternalID P_SFONonTrcblComponentAssembly OrderOperationInternalID Order Internal Bill of Operations Item
BatchBySupplier
FormulaKey P_SFONonTrcblComponentAssembly FormulaKey VSI Formula
VariableSizeDimension1 P_SFONonTrcblComponentAssembly VariableSizeDimension1 Size 1
VariableSizeDimension2 P_SFONonTrcblComponentAssembly VariableSizeDimension2 Size 2
VariableSizeDimension3 P_SFONonTrcblComponentAssembly VariableSizeDimension3 Size 3
VariableSizeDimensionUnit P_SFONonTrcblComponentAssembly VariableSizeDimensionUnit Size unit
VarblSizeCompFrmtdFormulaVal
VariableSizeComponentQuantity P_SFONonTrcblComponentAssembly VariableSizeComponentQuantity VSI Quantity
VariableSizeComponentUnit P_SFONonTrcblComponentAssembly VariableSizeComponentUnit VSI UoM
ManufacturingOrder
MfgOrderOperationText P_SFONonTrcblComponentAssembly MfgOrderOperationText
OperationActivityName
MatlCompAssembleControl P_SFONonTrcblComponentAssembly MatlCompAssembleControl
BOMItemCategory P_SFONonTrcblComponentAssembly BOMItemCategory Item Category
BillOfMaterialItemCategoryDesc
EffectivityParameterVariant P_SFONonTrcblComponentAssembly EffectivityParameterVariant
_Batch P_SFONonTrcblComponentAssembly _Batch
_Material P_SFONonTrcblComponentAssembly _Material
_StorageLocation P_SFONonTrcblComponentAssembly _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_SFORetdNonTraceableMaterial.
-- 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_SFORetdNonTraceableMaterial AS
SELECT
  ass.Reservation AS Reservation,
  ass.ReservationItem AS ReservationItem,
  ass.RecordType AS RecordType,
  ass.OpActyNtwkInstance AS OpActyNtwkInstance,
  ass.OpActyNtwkElement AS OpActyNtwkElement,
  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.Assembly AS Assembly,
  ass._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  cast(ass.RequiredQuantityInBaseUnit 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,
  ass._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._Batch AS _Batch,
  ass._Material AS _Material,
  ass._StorageLocation AS _StorageLocation
FROM P_SFONonTrcblComponentAssembly 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]
;