P_ASSIGNMENTDATA

DDL: P_ASSIGNMENTDATA SQL: PASSIGNMENT Type: view COMPOSITE

P_ASSIGNMENTDATA 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 (11)

NameValueLevelField
AbapCatalog.sqlViewName PASSIGNMENT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L 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_ASSIGNMENTDATA.
-- 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: PASSIGNMENT

CREATE VIEW P_ASSIGNMENTDATA AS
SELECT
  DocumentFrom,
  ACMFromDocumentNumber,
  ACMFromDocumentItemNumber,
  ContractNum,
  ContractItem AS TradingContractItem,
  ContractCommodityItem,
  ContractItemAssignmentUUID,
  AssignmentQuantity,
  TrdgContractItemUnitOfMeasure
FROM I_AssignmentData
;