I_ACMSalesOrderContractCallOff

DDL: I_ACMSALESORDERCONTRACTCALLOFF SQL: IACMSOCNTRTCOF Type: view COMPOSITE

ACM Sales order contract call off

I_ACMSalesOrderContractCallOff is a Composite CDS View that provides data about "ACM Sales order contract call off" in SAP S/4HANA. It reads from 1 data source (I_ACMOrderContractCallOff) and exposes 20 fields with key fields SalesOrder, SalesOrderItem, TradingContractNumber, TradingContractItem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMOrderContractCallOff ACMOrderContractCalloff from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ACMSalesOrder _ACMSalesOrder $projection.SalesOrder = _ACMSalesOrder.SalesOrder
[*] I_ACMSlsOrdCallOffUoMCnvrsn _ACMSalesOrdCallOffUoMCnvrsn
[1] I_ACMSalesOrdContrCallOffExtn _ACMSalesOrdCallOffExtension

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IACMSOCNTRTCOF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK 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 Sales order contract call off view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder
KEY SalesOrderItem
KEY TradingContractNumber TradingContractNumber Trading Contract
KEY TradingContractItem TradingContractItem Item Number
DeliveryPeriodStartDate DeliveryPeriodStartDate
DeliveryPeriodEndDate DeliveryPeriodEndDate
TradingContractExternalID TradingContractExternalID
ACMLoadLocation ACMLoadLocation
ACMDischargeLocation ACMDischargeLocation
ModeOfTransport ModeOfTransport Mode of Transp.
ACMContrOptionsMnsOfTransport ACMContrOptionsMnsOfTransport
ACMCallOffRawQuantity ACMCallOffRawQuantity
ACMCallOffQuantityUoM ACMCallOffQuantityUoM
ACMCallOffBaseRawQuantity ACMCallOffBaseRawQuantity
ACMCallOffBaseQuantityUoM ACMCallOffBaseQuantityUoM
ACMReferenceDocumentType ACMReferenceDocumentType
_ACMSalesOrderItem _ACMSalesOrderItem
_ACMSalesOrder _ACMSalesOrder
_ACMSalesOrdCallOffUoMCnvrsn _ACMSalesOrdCallOffUoMCnvrsn
_ACMSalesOrdCallOffExtension _ACMSalesOrdCallOffExtension

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_ACMSalesOrderContractCallOff.
-- 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: IACMSOCNTRTCOF

CREATE VIEW I_ACMSalesOrderContractCallOff AS
SELECT
  cast(ACMReferenceDocumentNumber as vbeln_va) AS SalesOrder,
  cast( right(ACMReferenceDocumentItemNumber, 6) as abap.numc(6)) AS SalesOrderItem,
  TradingContractNumber,
  TradingContractItem,
  DeliveryPeriodStartDate,
  DeliveryPeriodEndDate,
  TradingContractExternalID,
  ACMLoadLocation,
  ACMDischargeLocation,
  ModeOfTransport,
  ACMContrOptionsMnsOfTransport,
  ACMCallOffRawQuantity,
  ACMCallOffQuantityUoM,
  ACMCallOffBaseRawQuantity,
  ACMCallOffBaseQuantityUoM,
  ACMReferenceDocumentType
FROM I_ACMOrderContractCallOff AS ACMOrderContractCalloff
LEFT OUTER JOIN I_ACMSalesOrder AS _ACMSalesOrder ON SalesOrder = _ACMSalesOrder.SalesOrder  -- association [1..1]
LEFT OUTER JOIN I_ACMSlsOrdCallOffUoMCnvrsn AS _ACMSalesOrdCallOffUoMCnvrsn ON /* condition not available in parsed metadata */  -- association [*]
LEFT OUTER JOIN I_ACMSalesOrdContrCallOffExtn AS _ACMSalesOrdCallOffExtension ON /* condition not available in parsed metadata */  -- association [1]
;