I_PT_SAFTDeliveryHeaderAmt

DDL: I_PT_SAFTDELIVERYHEADERAMT SQL: IPTSAFTDELAMT Type: view COMPOSITE

SAFT Delivery Document Header Amounts

I_PT_SAFTDeliveryHeaderAmt is a Composite CDS View that provides data about "SAFT Delivery Document Header Amounts" in SAP S/4HANA. It reads from 1 data source (I_PT_SAFTDeliveryItem) and exposes 4 fields with key field PortugueseDeliveryNumber.

Data Sources (1)

SourceAliasJoin Type
I_PT_SAFTDeliveryItem I_PT_SAFTDeliveryItem from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPTSAFTDELAMT 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 SAFT Delivery Document Header Amounts view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PortugueseDeliveryNumber PortugueseDeliveryNumber Delivery No
TotalTaxAmount
TotalNetAmount
TotalGrossAmount

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_SAFTDeliveryHeaderAmt.
-- 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: IPTSAFTDELAMT

CREATE VIEW I_PT_SAFTDeliveryHeaderAmt AS
SELECT
  PortugueseDeliveryNumber,
  sum(TotalTaxAmount) AS TotalTaxAmount,
  sum(TotalNetAmount) AS TotalNetAmount,
  sum(TotalGrossAmount) AS TotalGrossAmount
FROM I_PT_SAFTDeliveryItem
;