I_PT_SAFTPaymentStructure
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)
| Source | Alias | Join Type |
|---|---|---|
| saft_ptd_paym_a | a | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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