I_PT_SAFTPaymentStructure

DDL: I_PT_SAFTPAYMENTSTRUCTURE Type: view_entity BASIC Package: GLO_FIN_IS_SAFT_PT

SAFT PT Payments structure

I_PT_SAFTPaymentStructure is a Basic CDS View that provides data about "SAFT PT Payments structure" in SAP S/4HANA. It reads from 1 data source (saft_ptd_paym_a) and exposes 22 fields with key fields CompanyCode, PaymentReference, FiscalYear. Part of development package GLO_FIN_IS_SAFT_PT.

Data Sources (1)

SourceAliasJoin Type
saft_ptd_paym_a a from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label SAFT PT Payments structure view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S 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 customerpaymentmethod 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_SAFTPaymentStructure.
-- 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 I_PT_SAFTPaymentStructure AS
SELECT
  CompanyCode,
  PaymentReference,
  cast( fiscalyear as fis_gjahr_no_conv ) AS FiscalYear,
  DocumentItemNumber,
  PT_SeriesDocumentType,
  DocumentBillingStatus,
  PT_SeriesDocumentNumber,
  CompanyCodeCurrency,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  customerpaymentmethod AS CustomerPaymentMethodName,
  PaymentAmount,
  PaymentDate,
  NetAmount,
  GrossAmount,
  BusinessPartnerCustomer,
  ExchangeRate,
  TransactionCurrency,
  TotalGrossAmountInTransCrcy,
  PT_SAFTInvoiceReference,
  InvoiceDate,
  IN_InvoiceDate
FROM saft_ptd_paym_a AS a
;