I_FreightContractItemVH

DDL: I_FREIGHTCONTRACTITEMVH SQL: IFRCNTRITMVH Type: view BASIC

Value help for Freight Contract Item

I_FreightContractItemVH is a Basic CDS View that provides data about "Value help for Freight Contract Item" in SAP S/4HANA. It reads from 2 data sources (ekko, ekpo) and exposes 15 fields with key fields FreightContract, PurchasingDocumentItem.

Data Sources (2)

SourceAliasJoin Type
ekko h from
ekpo i left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFRCNTRITMVH view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Value help for Freight Contract Item view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY FreightContract ekpo ebeln Source PurchDoc
KEY PurchasingDocumentItem ekpo ebelp Item pur. doc.
Material matnr Vehicle Model
CompanyCode ekpo bukrs Value
ValuationType bwtar Valuation Type
Plant werks Receiving Plant
StorageLocation lgort Sublocation
OrderQuantity menge WarrCountValue
OrderQuantityUnit meins Valuation Unit
NetPriceAmount netpr Price
DocumentCurrency waers Transaction Currency
ModeOfTransport
ExchangeAgreement
ExchangeAgreementType
FreightContractItem

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_FreightContractItemVH.
-- 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: IFRCNTRITMVH

CREATE VIEW I_FreightContractItemVH AS
SELECT
  i.ebeln AS FreightContract,
  i.ebelp AS PurchasingDocumentItem,
  matnr AS Material,
  i.bukrs AS CompanyCode,
  bwtar AS ValuationType,
  werks AS Plant,
  lgort AS StorageLocation,
  menge AS OrderQuantity,
  meins AS OrderQuantityUnit,
  netpr AS NetPriceAmount,
  waers AS DocumentCurrency,
  cast(' ' as oic_mot preserving type ) AS ModeOfTransport,
  cast(' ' as oia_exgnum preserving type ) AS ExchangeAgreement,
  cast(' ' as oia_exgtyp preserving type ) AS ExchangeAgreementType,
  concat('0',ebelp) AS FreightContractItem
FROM ekko AS h
LEFT OUTER JOIN ekpo AS i ON /* join condition not captured in parsed metadata */
;