I_FreightContractVH
Value Help for Freight Contract
I_FreightContractVH is a Basic CDS View that provides data about "Value Help for Freight Contract" in SAP S/4HANA. It reads from 7 data sources and exposes 25 fields with key fields FreightContract, FreightContractItem, SequenceNumber. It has 2 associations to related views.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| ekko | a | from |
| I_FreightContractItemVH | b | left_outer |
| lfa1 | c | left_outer |
| eket | d | left_outer |
| t161 | e | left_outer |
| oij_el_layt_inf | f | left_outer |
| oij_el_cp_layt | g | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_NominationVehicleIdVH | _VehicleId | $projection.VehicleId = _VehicleId.VehicleId |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFRCNTRCTVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Value Help for Freight Contract | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FreightContract | ekko | ebeln | Freight Contract |
| KEY | FreightContractItem | I_FreightContractItemVH | FreightContractItem | Freight Contract Item |
| KEY | SequenceNumber | oij_el_layt_inf | seqnr | Tank ID |
| ScheduleLine | eket | etenr | Schedule Line | |
| Material | I_FreightContractItemVH | Material | Vehicle Model | |
| Plant | I_FreightContractItemVH | Plant | Valuation Area | |
| StorageLocation | I_FreightContractItemVH | StorageLocation | StorageLocation | |
| Supplier | ekko | lifnr | Vendor no. | |
| OrganizationBPName1 | lfa1 | name1 | PA text | |
| PurchasingOrganization | ekko | ekorg | Purchasing Org. | |
| PurchasingDocumentType | ekko | bsart | Stnd purch.ord. | |
| OrderQuantity | I_FreightContractItemVH | OrderQuantity | Quantity | |
| OrderQuantityUnit | I_FreightContractItemVH | OrderQuantityUnit | Sales Unit | |
| ValuationType | I_FreightContractItemVH | ValuationType | Valuation Type | |
| Batch | eket | charg | Chargeable Proc. | |
| NetPriceAmount | I_FreightContractItemVH | NetPriceAmount | Net Price | |
| DocumentCurrency | I_FreightContractItemVH | DocumentCurrency | Document Currency | |
| ExchangeAgreement | I_FreightContractItemVH | ExchangeAgreement | Exchange no. | |
| ExchangeAgreementType | I_FreightContractItemVH | ExchangeAgreementType | Exchange type | |
| ModeOfTransport | I_FreightContractItemVH | ModeOfTransport | Mode of Transp. | |
| LocationId | oij_el_layt_inf | locid | Location | |
| VehicleId | oij_el_cp_layt | vehicle | Vehicle Number | |
| CompanyCode | ekko | bukrs | Value | |
| _VehicleId | _VehicleId | |||
| _Supplier | _Supplier |
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_FreightContractVH.
-- 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: IFRCNTRCTVH
CREATE VIEW I_FreightContractVH AS
SELECT
a.ebeln AS FreightContract,
b.FreightContractItem AS FreightContractItem,
f.seqnr AS SequenceNumber,
d.etenr AS ScheduleLine,
b.Material AS Material,
b.Plant AS Plant,
b.StorageLocation AS StorageLocation,
a.lifnr AS Supplier,
c.name1 AS OrganizationBPName1,
a.ekorg AS PurchasingOrganization,
a.bsart AS PurchasingDocumentType,
b.OrderQuantity AS OrderQuantity,
b.OrderQuantityUnit AS OrderQuantityUnit,
b.ValuationType AS ValuationType,
d.charg AS Batch,
b.NetPriceAmount AS NetPriceAmount,
b.DocumentCurrency AS DocumentCurrency,
b.ExchangeAgreement AS ExchangeAgreement,
b.ExchangeAgreementType AS ExchangeAgreementType,
b.ModeOfTransport AS ModeOfTransport,
f.locid AS LocationId,
g.vehicle AS VehicleId,
a.bukrs AS CompanyCode
FROM ekko AS a
LEFT OUTER JOIN I_FreightContractItemVH AS b ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN lfa1 AS c ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN eket AS d ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t161 AS e ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN oij_el_layt_inf AS f ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN oij_el_cp_layt AS g ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_NominationVehicleIdVH AS _VehicleId ON VehicleId = _VehicleId.VehicleId -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- 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