P_ACMCanceledQtyTotalOnContr

DDL: P_ACMCANCELEDQTYTOTALONCONTR SQL: PACMCANCTOT Type: view COMPOSITE

P_ACMCanceledQtyTotalOnContr is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_ACMTrdgContrItmCancEventDets, P_ACMTotalCancelledQuantity, I_ACMContrItmData, I_PhysCmmdtyForMaterial) and exposes 11 fields with key fields TradingContractNumber, TradingContractItem, ContractQtyCancellationUUID.

Data Sources (4)

SourceAliasJoin Type
I_ACMTrdgContrItmCancEventDets BaseData inner
P_ACMTotalCancelledQuantity CancQty inner
I_ACMContrItmData ContractItem from
I_PhysCmmdtyForMaterial PhysCmmdty inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PACMCANCTOT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber I_ACMTrdgContrItmCancEventDets TradingContractNumber Trading Contract
KEY TradingContractItem I_ACMTrdgContrItmCancEventDets TradingContractItem Item Number
KEY ContractQtyCancellationUUID ContractQtyCancellationUUID Contract GUID
ACMContrCanclnSqncNmbr ACMContrCanclnSqncNmbr Value Number
ACMPricingCancellationQuantity P_ACMTotalCancelledQuantity ACMPricingCancellationQuantity Quantity
BaseUnit BaseUnit Unit of Measure
PhysicalCommodity I_PhysCmmdtyForMaterial PhysicalCommodity Commodity Code
ContractPlant ContractPlant Receiving Plant
ContractStorageLocation ContractStorageLocation Sublocation
ContractMaterial ContractMaterial Vehicle Model
MaterialBaseUnit MaterialBaseUnit Valuation Unit

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 P_ACMCanceledQtyTotalOnContr.
-- 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: PACMCANCTOT

CREATE VIEW P_ACMCanceledQtyTotalOnContr AS
SELECT
  BaseData.TradingContractNumber AS TradingContractNumber,
  BaseData.TradingContractItem AS TradingContractItem,
  ContractQtyCancellationUUID,
  ACMContrCanclnSqncNmbr,
  CancQty.ACMPricingCancellationQuantity AS ACMPricingCancellationQuantity,
  BaseUnit,
  PhysCmmdty.PhysicalCommodity AS PhysicalCommodity,
  ContractPlant,
  ContractStorageLocation,
  ContractMaterial,
  MaterialBaseUnit
FROM I_ACMContrItmData AS ContractItem
INNER JOIN I_PhysCmmdtyForMaterial AS PhysCmmdty ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMTrdgContrItmCancEventDets AS BaseData ON /* join condition not captured in parsed metadata */
INNER JOIN P_ACMTotalCancelledQuantity AS CancQty ON /* join condition not captured in parsed metadata */
;