I_PT_DelDocCustAddVers

DDL: I_PT_DELDOCCUSTADDVERS SQL: IPTDELADRVERS Type: view COMPOSITE

PT Delivery Doc CustAddr Version

I_PT_DelDocCustAddVers is a Composite CDS View that provides data about "PT Delivery Doc CustAddr Version" in SAP S/4HANA. It reads from 3 data sources (I_DeliveryDocument, I_PT_DeliveryDgtlSgntr, I_PT_CustomerAddressVersion) and exposes 5 fields with key fields DeliveryDocument, Customer.

Data Sources (3)

SourceAliasJoin Type
I_DeliveryDocument DeliveryDocument inner
I_PT_DeliveryDgtlSgntr Signature from
I_PT_CustomerAddressVersion Version inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPTDELADRVERS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label PT Delivery Doc CustAddr Version view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument I_DeliveryDocument DeliveryDocument Outbound Delivery
KEY Customer I_DeliveryDocument ShipToParty Ship-To Party (obsolete)
CompanyCode
PortugueseCustomerVersion
_ShipToParty I_DeliveryDocument _ShipToParty

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_DelDocCustAddVers.
-- 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: IPTDELADRVERS

CREATE VIEW I_PT_DelDocCustAddVers AS
SELECT
  DeliveryDocument.DeliveryDocument AS DeliveryDocument,
  DeliveryDocument.ShipToParty AS Customer,
  DeliveryDocument._SalesOrganization.CompanyCode AS CompanyCode,
  cast(max(PortugueseCustomerVersion) as sipt_data_version) AS PortugueseCustomerVersion,
  DeliveryDocument._ShipToParty AS _ShipToParty
FROM I_PT_DeliveryDgtlSgntr AS Signature
INNER JOIN I_DeliveryDocument AS DeliveryDocument ON /* join condition not captured in parsed metadata */
INNER JOIN I_PT_CustomerAddressVersion AS Version ON /* join condition not captured in parsed metadata */
;