P_ConAssignmentData

DDL: P_CONASSIGNMENTDATA Type: view_entity COMPOSITE

P_ConAssignmentData is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_AssignmentData) and exposes 13 fields with key fields DocumentFrom, ACMFromDocumentNumber, ACMFromDocumentItemNumber, ContractNum, TradingContractItem.

Data Sources (1)

SourceAliasJoin Type
I_AssignmentData I_AssignmentData from

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 (13)

KeyFieldSource TableSource FieldDescription
KEY DocumentFrom DocumentFrom Document Type
ReferenceDocumentType
KEY ACMFromDocumentNumber ACMFromDocumentNumber DocNum
ApplicationDocument
KEY ACMFromDocumentItemNumber ACMFromDocumentItemNumber Item Number
ApplicationDocumentItem
KEY ContractNum ContractNum Trading Contract
keyContractItem
KEY TradingContractItem ContractItem Purchase Contract Item
KEY ContractCommodityItem ContractCommodityItem Com. item num.
ContractItemAssignmentUUID ContractItemAssignmentUUID Assignment GUID
AssignmentQuantity AssignmentQuantity AssignedQuanOrig
TrdgContractItemUnitOfMeasure TrdgContractItemUnitOfMeasure Assigned UoM

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_ConAssignmentData.
-- 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_ConAssignmentData AS
SELECT
  DocumentFrom,
  ACMFromDocumentNumber,
  ACMFromDocumentItemNumber,
  ContractNum,
  ContractItem AS TradingContractItem,
  ContractCommodityItem,
  ContractItemAssignmentUUID,
  AssignmentQuantity,
  TrdgContractItemUnitOfMeasure
FROM I_AssignmentData
;