I_PT_SAFTPaymentCube

DDL: I_PT_SAFTPAYMENTCUBE Type: view_entity COMPOSITE

Inf relevant to SAFT PT BillPmt - Cube

I_PT_SAFTPaymentCube is a Composite CDS View (Cube) that provides data about "Inf relevant to SAFT PT BillPmt - Cube" in SAP S/4HANA. It reads from 1 data source (I_PT_SAFTPaymentStructure) and exposes 22 fields with key fields CompanyCode, PaymentReference, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_PT_SAFTPaymentStructure a from

Parameters (3)

NameTypeDefault
P_CompanyCode bukrs
P_StartDate begda
P_EndDate endda

Annotations (11)

NameValueLevelField
EndUserText.label Inf relevant to SAFT PT BillPmt - Cube view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Analytics.readClassName CL_SAFT_PT_DRC_ANALY_PAYMENT view
Analytics.internalName #LOCAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PaymentReference PaymentReference Payment Reference
KEY FiscalYear G/L Fiscal Year
DocumentItemNumber DocumentItemNumber Item
PT_SeriesDocumentType PT_SeriesDocumentType SAF-T Document Type
DocumentBillingStatus DocumentBillingStatus PBEE BDR Status
PT_SeriesDocumentNumber PT_SeriesDocumentNumber ATCUD Code
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
CustomerPaymentMethodName CustomerPaymentMethodName Cust Pmt Method
PaymentAmount PaymentAmount Credit total
PaymentDate PaymentDate Payment Date
NetAmount NetAmount Stated Amount
GrossAmount GrossAmount Gross value
BusinessPartnerCustomer BusinessPartnerCustomer CHAR35
ExchangeRate ExchangeRate Exchange rate
TransactionCurrency TransactionCurrency Transaction Currency
TotalGrossAmountInTransCrcy TotalGrossAmountInTransCrcy Total Amt In Tr Crcy
PT_SAFTInvoiceReference PT_SAFTInvoiceReference
InvoiceDate InvoiceDate Run On
IN_InvoiceDate IN_InvoiceDate

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_SAFTPaymentCube.
-- 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.
-- Parameters: P_CompanyCode : bukrs, P_StartDate : begda, P_EndDate : endda

CREATE VIEW I_PT_SAFTPaymentCube AS
SELECT
  CompanyCode,
  PaymentReference,
  cast( FiscalYear as fis_gjahr_no_conv ) AS FiscalYear,
  DocumentItemNumber,
  PT_SeriesDocumentType,
  DocumentBillingStatus,
  PT_SeriesDocumentNumber,
  CompanyCodeCurrency,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  CustomerPaymentMethodName,
  PaymentAmount,
  PaymentDate,
  NetAmount,
  GrossAmount,
  BusinessPartnerCustomer,
  ExchangeRate,
  TransactionCurrency,
  TotalGrossAmountInTransCrcy,
  PT_SAFTInvoiceReference,
  InvoiceDate,
  IN_InvoiceDate
FROM I_PT_SAFTPaymentStructure AS a
;