C_PT_SAFTPrelimDocumentCube
Inf SAFT PT Workig Doc Hd - Cube
C_PT_SAFTPrelimDocumentCube is a Consumption CDS View (Cube) that provides data about "Inf SAFT PT Workig Doc Hd - Cube" in SAP S/4HANA. It reads from 1 data source (I_PT_SAFTWorkingDocStructure) and exposes 22 fields with key fields CompanyCode, PT_SAFTDocumentNumber, PortugueseInvoiceDate. Part of development package GLO_FIN_IS_SAFT_PT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PT_SAFTWorkingDocStructure | a | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Inf SAFT PT Workig Doc Hd - Cube | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.readClassName | CL_SAFT_PT_DRC_ANALY_WORK_DOC | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | PT_SAFTDocumentNumber | PT_SAFTDocumentNumber | ||
| KEY | PortugueseInvoiceDate | PortugueseInvoiceDate | Date | |
| DocumentTransaction | DocumentTransaction | Transaction ID | ||
| DocumentBillingStatus | DocumentBillingStatus | PBEE BDR Status | ||
| LastChangeDateTimeText | LastChangeDateTimeText | Sys. Date-Time | ||
| ReversalReasonName | ReversalReasonName | Rev. Reason Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| SourceBillingDocumentType | SourceBillingDocumentType | Billing Type | ||
| PortugueseDigitalSignature | PortugueseDigitalSignature | Digital Signature | ||
| PortugueseDgtlSgntrKeyVersion | PortugueseDgtlSgntrKeyVersion | Key Version | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PTDgtlSgntrSystemDateTimeText | PTDgtlSgntrSystemDateTimeText | Sys. Date-Time | ||
| WorkTypeName | WorkTypeName | |||
| PortugueseCustomerWithVersion | PortugueseCustomerWithVersion | |||
| TotalTaxAmount | TotalTaxAmount | Tax Amount | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TotalGrossAmount | TotalGrossAmount | Total Gross Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| InvoiceAmountInFrgnCurrency | InvoiceAmountInFrgnCurrency | Invc. Amt Frgn Crcy | ||
| 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_SAFTPrelimDocumentCube.
-- 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.
CREATE VIEW C_PT_SAFTPrelimDocumentCube AS
SELECT
CompanyCode,
PT_SAFTDocumentNumber,
PortugueseInvoiceDate,
DocumentTransaction,
DocumentBillingStatus,
LastChangeDateTimeText,
ReversalReasonName,
LastChangedByUser,
SourceBillingDocumentType,
PortugueseDigitalSignature,
PortugueseDgtlSgntrKeyVersion,
FiscalPeriod,
PTDgtlSgntrSystemDateTimeText,
WorkTypeName,
PortugueseCustomerWithVersion,
TotalTaxAmount,
TotalNetAmount,
TotalGrossAmount,
TransactionCurrency,
CompanyCodeCurrency,
InvoiceAmountInFrgnCurrency,
ExchangeRate
FROM I_PT_SAFTWorkingDocStructure AS a
;
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