I_TrdgContrPlannedQtyDets

DDL: I_TRDGCONTRPLANNEDQTYDETS SQL: IPLANNEDQTYDETS Type: view BASIC

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)

SourceAliasJoin Type
oijnomi nom_item from

Associations (1)

CardinalityTargetAliasCondition
[0..*] /accgo/t_scp_ac _add_contr nom_item.nomtk = _add_contr.nomtk and nom_item.nomit = _add_contr.nomit

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;