I_TranspRateValidity
Rate Validity
I_TranspRateValidity is a Basic CDS View that provides data about "Rate Validity" in SAP S/4HANA. It reads from 1 data source (/scmtms/d_tcrtvp) and exposes 10 fields with key field TranspRateValidityUUID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /scmtms/d_tcrtvp | TranspRateValidity | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_TranspRateDimension | _TranspRateDimension | $projection.TranspRateValidityUUID = _TranspRateDimension.TranspRateValidityUUID |
| [1..1] | I_TransportationRate | _TransportationRate | $projection.TransportationRateUUID = _TransportationRate.TransportationRateUUID |
| [1..1] | I_Currency | _TranspRateValidityCurrency | $projection.TranspRateValidityCurrency = _TranspRateValidityCurrency.Currency |
| [0..*] | I_TranspRateCalcRule | _TranspRateCalculationRule | $projection.TranspRateValidityUUID = _TranspRateCalculationRule.TranspRateValidityUUID |
| [0..1] | I_TranspRateTableValdtySts | _TranspRateTableValdtySts | $projection.TranspRateValidityLfcycStatus = _TranspRateTableValdtySts.TranspRateValidityLfcycStatus |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Rate Validity | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ITRATEVAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | TranspRateValidityUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TranspRateValidityUUID | |||
| TransportationRateUUID | ||||
| TranspRateValidityLfcycStatus | lifecyclestatus | Life Cycle Status | ||
| TranspRateValidityEndDate | valid_end_dt | Valid-To Date | ||
| TranspRateValidityStartDate | valid_start_dt | Valid-From Date | ||
| _TranspRateDimension | _TranspRateDimension | |||
| _TransportationRate | _TransportationRate | |||
| _TranspRateValidityCurrency | _TranspRateValidityCurrency | |||
| _TranspRateCalculationRule | _TranspRateCalculationRule | |||
| _TranspRateTableValdtySts | _TranspRateTableValdtySts |
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_TranspRateValidity.
-- 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_TranspRateValidity AS
SELECT
cast( ( db_key ) as /scmtms/transprate_val_uuid ) AS TranspRateValidityUUID,
cast ( ( parent_key ) as /scmtms/transpratetable_uuid ) AS TransportationRateUUID,
lifecyclestatus AS TranspRateValidityLfcycStatus,
valid_end_dt AS TranspRateValidityEndDate,
valid_start_dt AS TranspRateValidityStartDate
FROM /scmtms/d_tcrtvp AS TranspRateValidity
LEFT OUTER JOIN I_TranspRateDimension AS _TranspRateDimension ON TranspRateValidityUUID = _TranspRateDimension.TranspRateValidityUUID -- association [0..*]
LEFT OUTER JOIN I_TransportationRate AS _TransportationRate ON TransportationRateUUID = _TransportationRate.TransportationRateUUID -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TranspRateValidityCurrency ON TranspRateValidityCurrency = _TranspRateValidityCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_TranspRateCalcRule AS _TranspRateCalculationRule ON TranspRateValidityUUID = _TranspRateCalculationRule.TranspRateValidityUUID -- association [0..*]
LEFT OUTER JOIN I_TranspRateTableValdtySts AS _TranspRateTableValdtySts ON TranspRateValidityLfcycStatus = _TranspRateTableValdtySts.TranspRateValidityLfcycStatus -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA