I_NonFerrousChargeWeights
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)
| Source | Alias | Join Type |
|---|---|---|
| /nfm/tvgw | /nfm/tvgw | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA