P_FrtAgrmtRFQLocation

DDL: P_FRTAGRMTRFQLOCATION SQL: PFAGRFQLOC Type: view CONSUMPTION

P_FrtAgrmtRFQLocation is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_TransportationLocation) and exposes 11 fields with key fields LocationUUID, TransportationScaleItemUUID.

Data Sources (1)

SourceAliasJoin Type
I_TransportationLocation I_TransportationLocation from

Annotations (7)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PFAGRFQLOC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.preserveKey true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY LocationUUID LocationUUID UUID
KEY TransportationScaleItemUUID _ScaleItem TransportationScaleItemUUID
TransportationRateUUID _ScaleItem TransportationRateUUID
Location Location Text
LocationDescription
Country _AddrDfltRprstn Country Venue: Ctry/Reg
CountryName
CountryThreeLetterISOCode
RegionName
CityName _AddrDfltRprstn CityName Name
PostalCode _AddrDfltRprstn PostalCode Postal Code

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 P_FrtAgrmtRFQLocation.
-- 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: PFAGRFQLOC

CREATE VIEW P_FrtAgrmtRFQLocation AS
SELECT
  LocationUUID,
  _ScaleItem.TransportationScaleItemUUID AS TransportationScaleItemUUID,
  _ScaleItem.TransportationRateUUID AS TransportationRateUUID,
  Location,
  _Text[1:Language= $session.system_language].LocationDescription AS LocationDescription,
  _AddrDfltRprstn.Country AS Country,
  _AddrDfltRprstn._Country._Text[1: Language = $session.system_language ].CountryName AS CountryName,
  _AddrDfltRprstn._Country.CountryThreeLetterISOCode AS CountryThreeLetterISOCode,
  _AddrDfltRprstn._Region._RegionText[1: Language = $session.system_language].RegionName AS RegionName,
  _AddrDfltRprstn.CityName AS CityName,
  _AddrDfltRprstn.PostalCode AS PostalCode
FROM I_TransportationLocation
;