I_ACMContrPaytTrm

DDL: I_ACMCONTRPAYTTRM Type: view_entity COMPOSITE

Trading Contract Payment Term

I_ACMContrPaytTrm is a Composite CDS View that provides data about "Trading Contract Payment Term" in SAP S/4HANA. It reads from 1 data source (I_ACMContractItemAddldata) and exposes 7 fields with key fields TradingContractNumber, TradingContractItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMContractItemAddldata ContractItemAdd from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ACMTrdgContrHdrDetData _ContractHeader $projection.TradingContractNumber = _ContractHeader.TradingContractNumber --Get the side details of Trading Contract.
[1..1] I_ACMTrdgContrShadowItemDets _Shadow ContractItemAdd.TradingContractNumber = _Shadow.ContractNum

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Trading Contract Payment Term view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber I_ACMContractItemAddldata TradingContractNumber Trading Contract
KEY TradingContractItem I_ACMContractItemAddldata TradingContractItem Item Number
DocumentSide _Shadow DocumentSide
PaymentDeferDate I_ACMContractItemAddldata PaymentDate Payment Date
DeferredPaymentTerm I_ACMContractItemAddldata AlternatePaymentTerm
_ContractItem _ContractItem
_ContractHeader _ContractHeader

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_ACMContrPaytTrm.
-- 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 I_ACMContrPaytTrm AS
SELECT
  ContractItemAdd.TradingContractNumber AS TradingContractNumber,
  ContractItemAdd.TradingContractItem AS TradingContractItem,
  _Shadow.DocumentSide AS DocumentSide,
  ContractItemAdd.PaymentDate AS PaymentDeferDate,
  ContractItemAdd.AlternatePaymentTerm AS DeferredPaymentTerm
FROM I_ACMContractItemAddldata AS ContractItemAdd
LEFT OUTER JOIN I_ACMTrdgContrHdrDetData AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber  -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrShadowItemDets AS _Shadow ON ContractItemAdd.TradingContractNumber = _Shadow.ContractNum  -- association [1..1]
;