P_PaymentReceiptType1

DDL: P_PAYMENTRECEIPTTYPE1 SQL: PPAYTRECPTTY1 Type: view BASIC

P_PaymentReceiptType1 is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (paytrcpt_c_ctry, P_PaymentReceiptType2) and exposes 12 fields with key fields CompanyCode, Country, PaymentReceiptType.

Data Sources (2)

SourceAliasJoin Type
paytrcpt_c_ctry Country inner
P_PaymentReceiptType2 ReceiptType from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPAYTRECPTTY1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_PaymentReceiptType2 CompanyCode Receiver Company Code
KEY Country P_PaymentReceiptType2 Country Venue: Ctry/Reg
KEY PaymentReceiptType P_PaymentReceiptType2 PaymentReceiptType
BusinessPlace paytrcpt_c_ctry uxfc_bizplace UI Field Control
BasedOnPaymentReceiptID paytrcpt_c_ctry uxfc_crt_w_ref UI Field Control
IsDefaultValue P_PaymentReceiptType2 IsDefaultValue
PrintQueue P_PaymentReceiptType2 PrintQueue Print Queue
EmailTemplate P_PaymentReceiptType2 EmailTemplate
PaymentType P_PaymentReceiptType2 PaymentType
JITScenario P_PaymentReceiptType2 JITScenario JIT Scenario
CAInvcgDocPrntOutpCtrlIsEnbld P_PaymentReceiptType2 CAInvcgDocPrntOutpCtrlIsEnbld
PaymentMethod P_PaymentReceiptType2 PaymentMethod Pymt Meth.

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 P_PaymentReceiptType1.
-- 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: PPAYTRECPTTY1

CREATE VIEW P_PaymentReceiptType1 AS
SELECT
  ReceiptType.CompanyCode AS CompanyCode,
  ReceiptType.Country AS Country,
  ReceiptType.PaymentReceiptType AS PaymentReceiptType,
  Country.uxfc_bizplace AS BusinessPlace,
  Country.uxfc_crt_w_ref AS BasedOnPaymentReceiptID,
  ReceiptType.IsDefaultValue AS IsDefaultValue,
  ReceiptType.PrintQueue AS PrintQueue,
  ReceiptType.EmailTemplate AS EmailTemplate,
  ReceiptType.PaymentType AS PaymentType,
  ReceiptType.JITScenario AS JITScenario,
  ReceiptType.CAInvcgDocPrntOutpCtrlIsEnbld AS CAInvcgDocPrntOutpCtrlIsEnbld,
  ReceiptType.PaymentMethod AS PaymentMethod
FROM P_PaymentReceiptType2 AS ReceiptType
INNER JOIN paytrcpt_c_ctry AS Country ON /* join condition not captured in parsed metadata */
;