I_PT_SAFTDeliveryMaterial

DDL: I_PT_SAFTDELIVERYMATERIAL SQL: IPTDELMATHIST Type: view COMPOSITE Package: GLO-LOG-PT

PT SAFT Delivery Material Info

I_PT_SAFTDeliveryMaterial is a Composite CDS View that provides data about "PT SAFT Delivery Material Info" in SAP S/4HANA. It reads from 1 data source (I_PT_DeliveryMatlVers) and exposes 6 fields with key fields PortugueseDeliveryNumber, Material. It has 1 association to related views. Part of development package GLO-LOG-PT.

Data Sources (1)

SourceAliasJoin Type
I_PT_DeliveryMatlVers _ver from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_PT_MaterialHistory _hist _ver.Material = _hist.Material and _ver.PortugueseMaterialVersion = _hist.PortugueseMaterialVersion

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPTDELMATHIST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label PT SAFT Delivery Material Info view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PortugueseDeliveryNumber I_PT_DeliveryMatlVers PortugueseDeliveryNumber Delivery No
KEY Material I_PT_DeliveryMatlVers Material Vehicle Model
CompanyCode I_PT_DeliveryMatlVers CompanyCode Receiver Company Code
PortugueseDigitalSignatureDate I_PT_DeliveryMatlVers DeliveryDate Delivery Date
MaterialNameasmaktxasMaterialName
_Product _Product

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_SAFTDeliveryMaterial.
-- 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: IPTDELMATHIST

CREATE VIEW I_PT_SAFTDeliveryMaterial AS
SELECT
  _ver.PortugueseDeliveryNumber AS PortugueseDeliveryNumber,
  _ver.Material AS Material,
  _ver.CompanyCode AS CompanyCode,
  _ver.DeliveryDate AS PortugueseDigitalSignatureDate,
  cast( coalesce(_hist[1: Language = 'P'].MaterialName, coalesce(_hist[1: Language = 'E'].MaterialName, _hist[1: Language = $session.system_language].MaterialName)) as maktx) as MaterialName AS MaterialNameasmaktxasMaterialName
FROM I_PT_DeliveryMatlVers AS _ver
LEFT OUTER JOIN I_PT_MaterialHistory AS _hist ON _ver.Material = _hist.Material AND _ver.PortugueseMaterialVersion = _hist.PortugueseMaterialVersion  -- association [1..*]
;