I_ACMContrFeeDet

DDL: I_ACMCONTRFEEDET SQL: IACMTRDGCONTFEE Type: view BASIC

Trading Contract Fee Details

I_ACMContrFeeDet is a Basic CDS View that provides data about "Trading Contract Fee Details" in SAP S/4HANA. It reads from 1 data source (I_ACMTradingContractHdrFeeData) and exposes 18 fields with key fields ACMFeeFrameworkDocTypeRef, TradingContractNumber, TradingContractItem, ACMFeeFrameworkRefDocSubItem, ACMFeeFrameworkRefDocYear. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMTradingContractHdrFeeData I_ACMTradingContractHdrFeeData from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ACMTrdgContrHdrDetData _ContractHeader $projection.TradingContractNumber = _ContractHeader.TradingContractNumber

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IACMTRDGCONTFEE 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 Fee Details view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ACMFeeFrameworkDocTypeRef ACMFeeFrameworkDocTypeRef TSW Document type
KEY TradingContractNumber Snapshot ID
KEY TradingContractItem Reference Doc. Item
KEY ACMFeeFrameworkRefDocSubItem ACMFeeFrameworkRefDocSubItem RefDoc Sub-Item
KEY ACMFeeFrameworkRefDocYear ACMFeeFrameworkRefDocYear Ref. Doc. Year
KEY ACMFeeFrameworkRefDocSqncNmbr ACMFeeFrameworkRefDocSqncNmbr Sqnc No. in Ext File
KEY FeeFrameworkFeeID FeeFrameworkFeeID Fee ID
KEY FeeVersion FeeVersion XML Vers.
ACMFeeValidStatus ACMFeeValidStatus Fee Valid Status
ACMFeeIsObsolete ACMFeeIsObsolete Fee Obsolete
FeeFrameworkFeeName FeeFrameworkFeeName Fee Name
ACMFeeType ACMFeeType Fee Type
ACMFeeAmount ACMFeeAmount Tax Rate
ACMFeeCurrency ACMFeeCurrency Valuation Crcy
ACMFeeQuantity ACMFeeQuantity Value
ACMFeeUoM ACMFeeUoM UoM: Conv. to
_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_ACMContrFeeDet.
-- 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: IACMTRDGCONTFEE

CREATE VIEW I_ACMContrFeeDet AS
SELECT
  ACMFeeFrameworkDocTypeRef,
  cast ( ACMFeeFrameworkRefDocID as tkonn ) AS TradingContractNumber,
  cast ( ACMFeeFrameworkRefDocumentItem as tposn ) AS TradingContractItem,
  ACMFeeFrameworkRefDocSubItem,
  ACMFeeFrameworkRefDocYear,
  ACMFeeFrameworkRefDocSqncNmbr,
  FeeFrameworkFeeID,
  FeeVersion,
  ACMFeeValidStatus,
  ACMFeeIsObsolete,
  FeeFrameworkFeeName,
  ACMFeeType,
  ACMFeeAmount,
  ACMFeeCurrency,
  ACMFeeQuantity,
  ACMFeeUoM
FROM I_ACMTradingContractHdrFeeData
LEFT OUTER JOIN I_ACMTrdgContrHdrDetData AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber  -- association [1..1]
;