I_ACMTrdgContrTol

DDL: I_ACMTRDGCONTRTOL SQL: IACMTRGCONTRTOL Type: view BASIC

Trading Contract Item Tolerance Info

I_ACMTrdgContrTol is a Basic CDS View that provides data about "Trading Contract Item Tolerance Info" in SAP S/4HANA. It reads from 1 data source (I_ACMContrToleranceHeaderInfo) and exposes 14 fields with key fields TradingContractNumber, TradingContractItem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMContrToleranceHeaderInfo ToleranceHeader from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ACMTrdgContrHdrDetData _ContractHeader $projection.TradingContractNumber = _ContractHeader.TradingContractNumber
[0..*] I_ACMContrToleranceItemInfo _ToleranceItem ToleranceHeader.ACMToleranceHeaderUUID = _ToleranceItem.ACMToleranceHeaderUUID
[*] I_ACMTrdgContrTolUoMCnvrsn _ToleranceConversion

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IACMTRGCONTRTOL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Trading Contract Item Tolerance Info view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber TradingContractNumber Trading Contract
KEY TradingContractItem TradingContractItem Item Number
ACMToleranceTypeID ACMToleranceTypeID Tolerance Type ID
ACMToleranceHeaderUUID I_ACMContrToleranceHeaderInfo ACMToleranceHeaderUUID Unique Identifier
ACMTrdgContrToleranceSchedule ACMTrdgContrToleranceSchedule Tolerance Sch. ID
ACMBuyerSellerOption ACMBuyerSellerOption Buyer/Seller Option
ACMTolSingleOverFillIsAllowed ACMTolSingleOverFillIsAllowed
UnitOfMeasure UnitOfMeasure Unit Protected Qty
ACMToleranceDeliveryQuantity ACMToleranceDeliveryQuantity Expd. Del. Qty
ACMNumberOfVehicles ACMNumberOfVehicles Number of Vehicles
_ToleranceItem _ToleranceItem
_ContractItem _ContractItem
_ContractHeader _ContractHeader
_ToleranceConversion _ToleranceConversion

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_ACMTrdgContrTol.
-- 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: IACMTRGCONTRTOL

CREATE VIEW I_ACMTrdgContrTol AS
SELECT
  TradingContractNumber,
  TradingContractItem,
  ACMToleranceTypeID,
  ToleranceHeader.ACMToleranceHeaderUUID AS ACMToleranceHeaderUUID,
  ACMTrdgContrToleranceSchedule,
  ACMBuyerSellerOption,
  ACMTolSingleOverFillIsAllowed,
  UnitOfMeasure,
  ACMToleranceDeliveryQuantity,
  ACMNumberOfVehicles
FROM I_ACMContrToleranceHeaderInfo AS ToleranceHeader
LEFT OUTER JOIN I_ACMTrdgContrHdrDetData AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber  -- association [1..1]
LEFT OUTER JOIN I_ACMContrToleranceItemInfo AS _ToleranceItem ON ToleranceHeader.ACMToleranceHeaderUUID = _ToleranceItem.ACMToleranceHeaderUUID  -- association [0..*]
LEFT OUTER JOIN I_ACMTrdgContrTolUoMCnvrsn AS _ToleranceConversion ON /* condition not available in parsed metadata */  -- association [*]
;