I_TranspRateDimension10

DDL: I_TRANSPRATEDIMENSION10 Type: view BASIC

Rate Table 10 Dimensional Rates

I_TranspRateDimension10 is a Basic CDS View that provides data about "Rate Table 10 Dimensional Rates" in SAP S/4HANA. It reads from 1 data source (/scmtms/d_tcr10d) and exposes 22 fields with key field TranspRateDimensionUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/scmtms/d_tcr10d TranspRateDimn from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_TranspRateValidity _TransportationRateValidity $projection.TranspRateValidityUUID = _TransportationRateValidity.TranspRateValidityUUID
[1..1] I_TransportationRate _TransportationRate $projection.TransportationRateUUID = _TransportationRate.TransportationRateUUID
[0..*] I_TransportationRateNote _TransportationRateNote $projection.TranspRateDimensionUUID = _TransportationRateNote.TranspRateDimensionUUID
[1..1] I_Currency _TransportationRateCurrency $projection.TransportationRateCurrency = _TransportationRateCurrency.Currency

Annotations (12)

NameValueLevelField
EndUserText.label Rate Table 10 Dimensional Rates view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IRATEDIMN10 view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey TranspRateDimensionUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #NONE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY TranspRateDimensionUUID db_key UUID
TranspRateValidityUUID parent_key UUID
TransportationRateUUID root_key UUID
TranspRateDimnScaleItem01UUID scale_item_key01 NodeID
TranspRateDimnScaleItem02UUID scale_item_key02 NodeID
TranspRateDimnScaleItem03UUID scale_item_key03 NodeID
TranspRateDimnScaleItem04UUID scale_item_key04 NodeID
TranspRateDimnScaleItem05UUID scale_item_key05 NodeID
TranspRateDimnScaleItem06UUID scale_item_key06 NodeID
TranspRateDimnScaleItem07UUID scale_item_key07 NodeID
TranspRateDimnScaleItem08UUID scale_item_key08 NodeID
TranspRateDimnScaleItem09UUID scale_item_key09 NodeID
TranspRateDimnScaleItem10UUID scale_item_key10 NodeID
TransportationRateCurrency rate_curr Currency Unit
TranspRateAmountInRateCrcy Tax Rate
TargetRateAmountInRateCrcy Amount
TranspRateAmountToleranceInPct tolerance Weight Tolerance
TranspRateBestAmtInRateCrcy Amount
_TransportationRateValidity _TransportationRateValidity
_TransportationRate _TransportationRate
_TransportationRateNote _TransportationRateNote
_TransportationRateCurrency _TransportationRateCurrency

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_TranspRateDimension10.
-- 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_TranspRateDimension10 AS
SELECT
  db_key AS TranspRateDimensionUUID,
  parent_key AS TranspRateValidityUUID,
  root_key AS TransportationRateUUID,
  scale_item_key01 AS TranspRateDimnScaleItem01UUID,
  scale_item_key02 AS TranspRateDimnScaleItem02UUID,
  scale_item_key03 AS TranspRateDimnScaleItem03UUID,
  scale_item_key04 AS TranspRateDimnScaleItem04UUID,
  scale_item_key05 AS TranspRateDimnScaleItem05UUID,
  scale_item_key06 AS TranspRateDimnScaleItem06UUID,
  scale_item_key07 AS TranspRateDimnScaleItem07UUID,
  scale_item_key08 AS TranspRateDimnScaleItem08UUID,
  scale_item_key09 AS TranspRateDimnScaleItem09UUID,
  scale_item_key10 AS TranspRateDimnScaleItem10UUID,
  rate_curr AS TransportationRateCurrency,
  cast( cast( rate as abap.dec(31,6) ) * 10000 as abap.curr(31,2) ) AS TranspRateAmountInRateCrcy,
  cast( cast( target_rate as abap.dec(31,6) ) * 10000 as abap.curr(31,2) ) AS TargetRateAmountInRateCrcy,
  tolerance AS TranspRateAmountToleranceInPct,
  cast( cast( best_rate as abap.dec(31,6) ) * 10000 as abap.curr(31,2) ) AS TranspRateBestAmtInRateCrcy
FROM /scmtms/d_tcr10d AS TranspRateDimn
LEFT OUTER JOIN I_TranspRateValidity AS _TransportationRateValidity ON TranspRateValidityUUID = _TransportationRateValidity.TranspRateValidityUUID  -- association [1..1]
LEFT OUTER JOIN I_TransportationRate AS _TransportationRate ON TransportationRateUUID = _TransportationRate.TransportationRateUUID  -- association [1..1]
LEFT OUTER JOIN I_TransportationRateNote AS _TransportationRateNote ON TranspRateDimensionUUID = _TransportationRateNote.TranspRateDimensionUUID  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _TransportationRateCurrency ON TransportationRateCurrency = _TransportationRateCurrency.Currency  -- association [1..1]
;