P_GenericPaymentReceiptType

DDL: P_GENERICPAYMENTRECEIPTTYPE SQL: PGENPAYTRECPTTY Type: view BASIC

P_GenericPaymentReceiptType is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (paytrcpt_c_type) and exposes 12 fields with key fields CompanyCode, Country, PaymentReceiptType.

Data Sources (1)

SourceAliasJoin Type
paytrcpt_c_type ReceiptType from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PGENPAYTRECPTTY 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 CompanyCode CompanyCode Receiver Company Code
KEY Country CompanyCode Country Venue: Ctry/Reg
KEY PaymentReceiptType paytrcpt_c_type paytrcpt_type Payment Receipt Type
PaymentReceiptTypeName paytrcpt_c_type default_description Type Description
PrintQueue paytrcpt_c_type enable_print Enable Print
IsDefaultValue paytrcpt_c_type is_default Truth Value
EmailTemplate paytrcpt_c_type enable_email Enable Email
PaymentType paytrcpt_c_type pre_paytrcpt_type Payment Receipt Type
JITScenario paytrcpt_c_type scenario VAT Scenario
CAInvcgDocPrntOutpCtrlIsEnbld paytrcpt_c_type enable_odn Activate ODN
PaymentMethod paytrcpt_c_type paytrcpt_pymt Payment is mandatory
NumberRangeInterval paytrcpt_c_type numberrangeno No. Range No.

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_GenericPaymentReceiptType.
-- 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: PGENPAYTRECPTTY

CREATE VIEW P_GenericPaymentReceiptType AS
SELECT
  CompanyCode.CompanyCode AS CompanyCode,
  CompanyCode.Country AS Country,
  ReceiptType.paytrcpt_type AS PaymentReceiptType,
  ReceiptType.default_description AS PaymentReceiptTypeName,
  ReceiptType.enable_print AS PrintQueue,
  ReceiptType.is_default AS IsDefaultValue,
  ReceiptType.enable_email AS EmailTemplate,
  ReceiptType.pre_paytrcpt_type AS PaymentType,
  ReceiptType.scenario AS JITScenario,
  ReceiptType.enable_odn AS CAInvcgDocPrntOutpCtrlIsEnbld,
  ReceiptType.paytrcpt_pymt AS PaymentMethod,
  ReceiptType.numberrangeno AS NumberRangeInterval
FROM paytrcpt_c_type AS ReceiptType
;