I_TrdgContrPlannedQtyDets
Planned Quantity Details Of Contract
I_TrdgContrPlannedQtyDets is a Basic CDS View that provides data about "Planned Quantity Details Of Contract" in SAP S/4HANA. It reads from 1 data source (oijnomi) and exposes 10 fields with key fields NominationNumber, NominationItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oijnomi | nom_item | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | /accgo/t_scp_ac | _add_contr | nom_item.nomtk = _add_contr.nomtk and nom_item.nomit = _add_contr.nomit |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPLANNEDQTYDETS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Planned Quantity Details Of Contract | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NominationNumber | nomtk | Nomination key | |
| KEY | NominationItem | nomit | Nom. key item | |
| tcnumendasContractNum | ||||
| tcitmendasTradingContractItem | ||||
| QuickConfirm | oijnomi | quickconf | Single-Character Flag | |
| TrdgContractItemUnitOfMeasure | oijnomi | unit_i | Single-Character Flag | |
| mengeendasACMTotalPlannedQuantity | ||||
| ACMMntnPrcgNominationActualQty | oijnomi | actualqty | Single-Character Flag | |
| ACMApplicationDataUoM | oijnomi | actualuom | Single-Character Flag | |
| ACMIsNominationConfirmed | oijnomi | ilock | Single-Character Flag |
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_TrdgContrPlannedQtyDets.
-- 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: IPLANNEDQTYDETS
CREATE VIEW I_TrdgContrPlannedQtyDets AS
SELECT
nomtk AS NominationNumber,
nomit AS NominationItem,
case when _add_contr.menge <> 0 then _add_contr.docnr else nom_item.tcnum end as ContractNum AS tcnumendasContractNum,
case when _add_contr.menge <> 0 then _add_contr.docitm else nom_item.tcitm end as TradingContractItem AS tcitmendasTradingContractItem,
nom_item.quickconf AS QuickConfirm,
nom_item.unit_i AS TrdgContractItemUnitOfMeasure,
case when _add_contr.menge <> 0 then _add_contr.menge else nom_item.menge end as ACMTotalPlannedQuantity AS mengeendasACMTotalPlannedQuantity,
nom_item.actualqty AS ACMMntnPrcgNominationActualQty,
nom_item.actualuom AS ACMApplicationDataUoM,
nom_item.ilock AS ACMIsNominationConfirmed
FROM oijnomi AS nom_item
LEFT OUTER JOIN /accgo/t_scp_ac AS _add_contr ON nom_item.nomtk = _add_contr.nomtk AND nom_item.nomit = _add_contr.nomit -- association [0..*]
;
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