I_ACMPurOrdDeliveryAssignment

DDL: I_ACMPURORDDELIVERYASSIGNMENT SQL: IACMPODELVASSGN Type: view COMPOSITE

ACM PO Delivery Assignment

I_ACMPurOrdDeliveryAssignment is a Composite CDS View that provides data about "ACM PO Delivery Assignment" in SAP S/4HANA. It reads from 1 data source (I_ACMOrderDeliveryAssignment) and exposes 15 fields with key fields PurchaseOrder, PurchaseOrderItem, LoadDataCaptureObjId. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMOrderDeliveryAssignment ACMPurOrdDelivAssignment from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ACMPurchaseOrder _ACMPurchaseOrder $projection.PurchaseOrder = _ACMPurchaseOrder.PurchaseOrder
[0..*] I_ACMPurOrderDelivUoMCnvrsn _ACMPurOrdDelivUoMConversion
[1] I_ACMPurOrdDelivAssignmentExtn _ACMPurOrdDelivAssgmtExtension

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IACMPODELVASSGN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label ACM PO Delivery Assignment view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder
KEY PurchaseOrderItem
KEY LoadDataCaptureObjId LoadDataCaptureObjId
LoadDataCaptureApplInstruction LoadDataCaptureApplInstruction
ACMDeliveredQuantity
ACMDeliveredUoM ACMDeliveredUoM
ACMReferenceDocument2 ACMReferenceDocument2
ACMOverFillTotalQuantity
ACMUnderFillTotalQuantity
ACMDeliveredAdjustedQuantity ACMDeliveredAdjustedQuantity
ACMPrecursorDocumentType ACMPrecursorDocumentType
_ACMPurchaseOrderItem _ACMPurchaseOrderItem
_ACMPurchaseOrder _ACMPurchaseOrder
_ACMPurOrdDelivUoMConversion _ACMPurOrdDelivUoMConversion
_ACMPurOrdDelivAssgmtExtension _ACMPurOrdDelivAssgmtExtension

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_ACMPurOrdDeliveryAssignment.
-- 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: IACMPODELVASSGN

CREATE VIEW I_ACMPurOrdDeliveryAssignment AS
SELECT
  cast(ACMPrecursorDocumentNumber as vdm_purchaseorder) AS PurchaseOrder,
  cast(right(PredecessorDocumentItem, 5) as abap.numc(5)) AS PurchaseOrderItem,
  LoadDataCaptureObjId,
  LoadDataCaptureApplInstruction,
  cast(ACMDeliveredQuantity as abap.quan( 13, 3 )) AS ACMDeliveredQuantity,
  ACMDeliveredUoM,
  ACMReferenceDocument2,
  ACMOverfillQuantity + ProvisionalOverfillQuantity AS ACMOverFillTotalQuantity,
  ACMUnderFillQuantity + ProvisionalUnderfillQuantity AS ACMUnderFillTotalQuantity,
  ACMDeliveredAdjustedQuantity,
  ACMPrecursorDocumentType
FROM I_ACMOrderDeliveryAssignment AS ACMPurOrdDelivAssignment
LEFT OUTER JOIN I_ACMPurchaseOrder AS _ACMPurchaseOrder ON PurchaseOrder = _ACMPurchaseOrder.PurchaseOrder  -- association [1..1]
LEFT OUTER JOIN I_ACMPurOrderDelivUoMCnvrsn AS _ACMPurOrdDelivUoMConversion ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ACMPurOrdDelivAssignmentExtn AS _ACMPurOrdDelivAssgmtExtension ON /* condition not available in parsed metadata */  -- association [1]
;