I_PT_DeliveryShipFromAddress

DDL: I_PT_DELIVERYSHIPFROMADDRESS SQL: IPTDELSHIPADDR Type: view COMPOSITE

View for Delivery Ship from address

I_PT_DeliveryShipFromAddress is a Composite CDS View that provides data about "View for Delivery Ship from address" in SAP S/4HANA. It reads from 1 data source (I_PT_SAFTShipFromAddress) and exposes 9 fields with key field DeliveryDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PT_SAFTShipFromAddress I_PT_SAFTShipFromAddress from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Address_2 _Address _Address.AddressID = $projection.AddressID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPTDELSHIPADDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label View for Delivery Ship from address view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
AddressID AddressID Ship-to address
HouseNumber _Address HouseNumber House Number
StreetName _Address StreetName Text
SupplierAddress
CityName _Address CityName Name
PostalCode _Address PostalCode Postal Code
Region _Address Region Venue Region
Country _Address Country Venue: Ctry/Reg

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_PT_DeliveryShipFromAddress.
-- 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: IPTDELSHIPADDR

CREATE VIEW I_PT_DeliveryShipFromAddress AS
SELECT
  DeliveryDocument,
  AddressID,
  _Address.HouseNumber AS HouseNumber,
  _Address.StreetName AS StreetName,
  coalesce(concat(_Address.HouseNumber,_Address.StreetName),'omisso') AS SupplierAddress,
  _Address.CityName AS CityName,
  _Address.PostalCode AS PostalCode,
  _Address.Region AS Region,
  _Address.Country AS Country
FROM I_PT_SAFTShipFromAddress
LEFT OUTER JOIN I_Address_2 AS _Address ON _Address.AddressID = AddressID  -- association [0..1]
;