P_ACMTrdgContractAssgmtData

DDL: P_ACMTRDGCONTRACTASSGMTDATA Type: view_entity COMPOSITE

P_ACMTrdgContractAssgmtData is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_TrdgContrAssignmentData, I_ACMContrItmData, I_PhysCmmdtyForMaterial) and exposes 12 fields with key fields ContractNum, TradingContractItem, ContractItemAssignmentUUID.

Data Sources (3)

SourceAliasJoin Type
I_TrdgContrAssignmentData AsgmtAcm from
I_ACMContrItmData ContractItem inner
I_PhysCmmdtyForMaterial PhysCmmdty inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ContractNum I_TrdgContrAssignmentData ContractNum Trading Contract
ContractItem
KEY TradingContractItem I_TrdgContrAssignmentData ContractItem Purchase Contract Item
KEY ContractItemAssignmentUUID I_TrdgContrAssignmentData ContractItemAssignmentUUID Assignment GUID
AssignmentQuantity I_TrdgContrAssignmentData AssignmentQuantity Assigned Qty
AssignmentQuantityUoM I_TrdgContrAssignmentData AssignmentQuantityUoM Assigned UoM
ApplicationDocument
ACMFromDocumentNumber AsgmtGtm ACMFromDocumentNumber
ApplicationDocumentItem AsgmtGtm ACMFromDocumentItemNumber
ReferenceDocumentType
DocumentFromasDocumentFrom
PhysicalCommodity I_PhysCmmdtyForMaterial PhysicalCommodity Commodity Code

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_ACMTrdgContractAssgmtData.
-- 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 P_ACMTrdgContractAssgmtData AS
SELECT
  AsgmtAcm.ContractNum AS ContractNum,
  AsgmtAcm.ContractItem AS TradingContractItem,
  AsgmtAcm.ContractItemAssignmentUUID AS ContractItemAssignmentUUID,
  AsgmtAcm.AssignmentQuantity AS AssignmentQuantity,
  AsgmtAcm.AssignmentQuantityUoM AS AssignmentQuantityUoM,
  AsgmtGtm.ACMFromDocumentNumber AS ACMFromDocumentNumber,
  AsgmtGtm.ACMFromDocumentItemNumber AS ApplicationDocumentItem,
  ATC Fix AsgmtGtm.DocumentFrom as DocumentFrom AS DocumentFromasDocumentFrom,
  PhysCmmdty.PhysicalCommodity AS PhysicalCommodity
FROM I_TrdgContrAssignmentData AS AsgmtAcm
INNER JOIN I_ACMContrItmData AS ContractItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_PhysCmmdtyForMaterial AS PhysCmmdty ON /* join condition not captured in parsed metadata */
;