I_NonFerrousChargeWeights

DDL: I_NONFERROUSCHARGEWEIGHTS Type: view_entity BASIC

Charge Weight for Materials on Org Level

I_NonFerrousChargeWeights is a Basic CDS View that provides data about "Charge Weight for Materials on Org Level" in SAP S/4HANA. It reads from 1 data source (/nfm/tvgw) and exposes 17 fields with key fields NonFerrousBusinessPartner, Material, ConditionApplication, NonFerrousOrganization, Plant. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/nfm/tvgw /nfm/tvgw from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_ConditionApplication _ConditionApplication $projection.ConditionApplication = _ConditionApplication.ConditionApplication
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[0..1] I_NonFerrousMetalKeyVH _NonFerrousMetalKey $projection.NonFerrousCode = _NonFerrousMetalKey.NonFerrousCode
[0..1] I_NonFerrousBaseKeys _NonFerrousBaseKeys $projection.NonFerrousCode = _NonFerrousBaseKeys.NonFerrousCode and $projection.NonFerrousBaseCode = _NonFerrousBaseKeys.NonFerrousBaseCode

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Charge Weight for Materials on Org Level view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY NonFerrousBusinessPartner parnr Responsible
KEY Material matnr Vehicle Model
KEY ConditionApplication kappl Application
KEY NonFerrousOrganization org Org. unit
KEY Plant werks Receiving Plant
KEY DistributionChannel vtweg RefDistCh-Cust/Mat.
KEY NonFerrousCode nes NF key
NonFerrousWeight vgw Charge Weight
BaseUnit _NonFerrousMetalKey BaseUnit Unit of Measure
NonFerrousWgtBsRefQtyInBaseUoM vge Ref.qty chg. wt
NonFerrousBaseCode neb Base Key
_Material _Material
_ConditionApplication _ConditionApplication
_Plant _Plant
_DistributionChannel _DistributionChannel
_NonFerrousMetalKey _NonFerrousMetalKey
_NonFerrousBaseKeys _NonFerrousBaseKeys

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_NonFerrousChargeWeights.
-- 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_NonFerrousChargeWeights AS
SELECT
  parnr AS NonFerrousBusinessPartner,
  matnr AS Material,
  kappl AS ConditionApplication,
  org AS NonFerrousOrganization,
  werks AS Plant,
  vtweg AS DistributionChannel,
  nes AS NonFerrousCode,
  vgw AS NonFerrousWeight,
  _NonFerrousMetalKey.BaseUnit AS BaseUnit,
  vge AS NonFerrousWgtBsRefQtyInBaseUoM,
  neb AS NonFerrousBaseCode
FROM /nfm/tvgw
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_ConditionApplication AS _ConditionApplication ON ConditionApplication = _ConditionApplication.ConditionApplication  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_NonFerrousMetalKeyVH AS _NonFerrousMetalKey ON NonFerrousCode = _NonFerrousMetalKey.NonFerrousCode  -- association [0..1]
LEFT OUTER JOIN I_NonFerrousBaseKeys AS _NonFerrousBaseKeys ON NonFerrousCode = _NonFerrousBaseKeys.NonFerrousCode AND NonFerrousBaseCode = _NonFerrousBaseKeys.NonFerrousBaseCode  -- association [0..1]
;