I_FreightContractVH

DDL: I_FREIGHTCONTRACTVH SQL: IFRCNTRCTVH Type: view BASIC

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)

SourceAliasJoin 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)

CardinalityTargetAliasCondition
[0..1] I_NominationVehicleIdVH _VehicleId $projection.VehicleId = _VehicleId.VehicleId
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;