Deprecated
This CDS view is deprecated in S/4HANA. Use C_PT_SAFTPaymentOrderRefer instead. View all deprecated CDS views →

C_PT_SAFTPaymentOrderRef

DDL: C_PT_SAFTPAYMENTORDERREF SQL: CSAFTPAYORDREF Type: view CONSUMPTION Package: ID-FI-SAFT_DEPREC

SAF-T PT Payment Order Ref

C_PT_SAFTPaymentOrderRef is a Consumption CDS View that provides data about "SAF-T PT Payment Order Ref" in SAP S/4HANA. It reads from 2 data sources (I_PT_SAFTPaymentItem, I_PT_AcctgDocDgtlSgntr) and exposes 4 fields with key fields CompanyCode, ClearingAccountingDocument, FiscalYear, DocumentItemNumber. Part of development package ID-FI-SAFT_DEPREC.

Data Sources (2)

SourceAliasJoin Type
I_PT_SAFTPaymentItem a from
I_PT_AcctgDocDgtlSgntr b left_outer

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSAFTPAYORDREF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SAF-T PT Payment Order Ref view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_PT_SAFTPaymentOrderRefer view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_PT_SAFTPaymentItem CompanyCode Receiver Company Code
KEY ClearingAccountingDocument I_PT_SAFTPaymentItem ClearingAccountingDocument Clearing Journal Entry
KEY FiscalYear I_PT_SAFTPaymentItem FiscalYear G/L Fiscal Year
KEY DocumentItemNumber I_PT_SAFTPaymentItem DocumentItemNumber Item

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_SAFTPaymentOrderRef.
-- 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.
-- SQL view name: CSAFTPAYORDREF

CREATE VIEW C_PT_SAFTPaymentOrderRef AS
SELECT
  a.CompanyCode AS CompanyCode,
  a.ClearingAccountingDocument AS ClearingAccountingDocument,
  a.FiscalYear AS FiscalYear,
  a.DocumentItemNumber AS DocumentItemNumber
FROM I_PT_SAFTPaymentItem AS a
LEFT OUTER JOIN I_PT_AcctgDocDgtlSgntr AS b ON /* join condition not captured in parsed metadata */
;