C_PT_SAFTPrelimDocumentCube

DDL: C_PT_SAFTPRELIMDOCUMENTCUBE Type: view_entity CONSUMPTION Package: GLO_FIN_IS_SAFT_PT

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)

SourceAliasJoin Type
I_PT_SAFTWorkingDocStructure a from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;