C_PT_SAFTDeliveryHdrCube
SAFT Delivery Document Header cube view
C_PT_SAFTDeliveryHdrCube is a Consumption CDS View (Cube) that provides data about "SAFT Delivery Document Header cube view" in SAP S/4HANA. It reads from 1 data source (I_PT_SAFTDeliveryHeader) and exposes 40 fields with key field PortugueseDeliveryNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PT_SAFTDeliveryHeader | I_PT_SAFTDeliveryHeader | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPTSAFTDELHDRC | view | |
| Analytics.dataCategory | #CUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.internalName | #LOCAL | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | SAFT Delivery Document Header cube view | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PortugueseDeliveryNumber | PortugueseDeliveryNumber | Delivery No | |
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| CreationTime | CreationTime | Time of Change | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| DeliveryDocumentType | DeliveryDocumentType | Delivery Type | ||
| PT_SeriesDocumentNumber | PT_SeriesDocumentNumber | ATCUD Code | ||
| PT_SeriesDocumentType | PT_SeriesDocumentType | SAF-T Document Type | ||
| GoodsMovementStatus | GoodsMovementStatus | Gds Movemt Status | ||
| CreatedByUser | CreatedByUser | User Name | ||
| PortugueseDigitalSignature | PortugueseDigitalSignature | Digital Signature | ||
| BillingPriceSource | BillingPriceSource | Single-Character Flag | ||
| PTDgtlSgntrSystemDateTimeText | PTDgtlSgntrSystemDateTimeText | Sys. Date-Time | ||
| PortugueseDgtlSgntrKeyVersion | PortugueseDgtlSgntrKeyVersion | Key Version | ||
| TransportationPlanningDate | ||||
| PortugueseSgntrCertificate | PortugueseSgntrCertificate | Certif. ID | ||
| Supplier | Supplier | Supplier | ||
| DeliveryDate | DeliveryDate | Delivery Date | ||
| ShipToPartyHouseNumber | ShipToPartyHouseNumber | House Number | ||
| ShipToPartyStreetName | ShipToPartyStreetName | Street | ||
| CustAddressNumber | CustAddressNumber | |||
| ShipToPartyCityName | ShipToPartyCityName | City | ||
| ShipToPartyPostalCode | ShipToPartyPostalCode | Postal Code | ||
| ShipToPartyCountry | ShipToPartyCountry | Country/Region | ||
| CustomerRegion | CustomerRegion | |||
| HouseNumber | HouseNumber | House Number | ||
| StreetName | StreetName | Text | ||
| SupplierAddress | SupplierAddress | 3rd Party Suplr Addr | ||
| CityName | CityName | Name | ||
| PostalCode | PostalCode | Postal Code | ||
| Region | Region | Venue Region | ||
| Country | Country | Venue: Ctry/Reg | ||
| TransportationPlanningTimeZone | TransportationPlanningTimeZone | Time Zone | ||
| GoodsIssueTime | GoodsIssueTime | GI Time | ||
| InvoiceAmountInFrgnCurrency | InvoiceAmountInFrgnCurrency | Invc. Amt Frgn Crcy | ||
| TransactionCurrency | Transaction Currency | |||
| TotalGrossAmount | Total Gross Amount | |||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TotalTaxAmount | TotalTaxAmount | Tax Amount | ||
| ExchangeRate | ExchangeRate | Exchange rate |
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 C_PT_SAFTDeliveryHdrCube.
-- 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: CPTSAFTDELHDRC
CREATE VIEW C_PT_SAFTDeliveryHdrCube AS
SELECT
PortugueseDeliveryNumber,
DeliveryDocument,
ShipToParty,
CreationTime,
CompanyCode,
DeliveryDocumentType,
PT_SeriesDocumentNumber,
PT_SeriesDocumentType,
GoodsMovementStatus,
CreatedByUser,
PortugueseDigitalSignature,
BillingPriceSource,
PTDgtlSgntrSystemDateTimeText,
PortugueseDgtlSgntrKeyVersion,
SUBSTRING(TransportationPlanningDate,5,2) AS TransportationPlanningDate,
PortugueseSgntrCertificate,
Supplier,
DeliveryDate,
ShipToPartyHouseNumber,
ShipToPartyStreetName,
CustAddressNumber,
ShipToPartyCityName,
ShipToPartyPostalCode,
ShipToPartyCountry,
CustomerRegion,
HouseNumber,
StreetName,
SupplierAddress,
CityName,
PostalCode,
Region,
Country,
TransportationPlanningTimeZone,
GoodsIssueTime,
InvoiceAmountInFrgnCurrency,
cast(TransactionCurrency as waers) AS TransactionCurrency,
cast( TotalGrossAmount as abap.dec(11,2)) AS TotalGrossAmount,
TotalNetAmount,
TotalTaxAmount,
ExchangeRate
FROM I_PT_SAFTDeliveryHeader
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA