P_PaymentReceiptType

DDL: P_PAYMENTRECEIPTTYPE SQL: PPAYTRECPTTYVH Type: view BASIC

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

Data Sources (2)

SourceAliasJoin Type
paytrcpt_c_ctry Country inner
P_SpecificPaymentReceiptType ReceiptType from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPAYTRECPTTYVH 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_SpecificPaymentReceiptType CompanyCode Receiver Company Code
KEY Country P_SpecificPaymentReceiptType Country Venue: Ctry/Reg
KEY PaymentReceiptType P_SpecificPaymentReceiptType PaymentReceiptType Payment Receipt Type
BusinessPlace paytrcpt_c_ctry uxfc_bizplace UI Field Control
BasedOnPaymentReceiptID paytrcpt_c_ctry uxfc_crt_w_ref UI Field Control
IsDefaultValue P_SpecificPaymentReceiptType IsDefaultValue Truth Value
PrintQueue P_SpecificPaymentReceiptType PrintQueue Print Queue
EmailTemplate P_SpecificPaymentReceiptType EmailTemplate Enable Email
PaymentType P_SpecificPaymentReceiptType PaymentType Payment Receipt Type
JITScenario P_SpecificPaymentReceiptType JITScenario JIT Scenario
CAInvcgDocPrntOutpCtrlIsEnbld P_SpecificPaymentReceiptType CAInvcgDocPrntOutpCtrlIsEnbld Activate ODN
PaymentMethod P_SpecificPaymentReceiptType 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_PaymentReceiptType.
-- 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: PPAYTRECPTTYVH

CREATE VIEW P_PaymentReceiptType 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_SpecificPaymentReceiptType AS ReceiptType
INNER JOIN paytrcpt_c_ctry AS Country ON /* join condition not captured in parsed metadata */
;