I_PH_PaymentReceipt

DDL: I_PH_PAYMENTRECEIPT SQL: IPHPAYTRCPT Type: view BASIC

Payment Receipt for PH Specific fields

I_PH_PaymentReceipt is a Basic CDS View that provides data about "Payment Receipt for PH Specific fields" in SAP S/4HANA. It reads from 2 data sources (paytrcpt, paytrcpt_ph) and exposes 11 fields with key field WorkItemUUID.

Data Sources (2)

SourceAliasJoin Type
paytrcpt _PaymentReceipt inner
paytrcpt_ph paytrcpt_ph from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPHPAYTRCPT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Payment Receipt for PH Specific fields view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY WorkItemUUID paytrcpt_ext_uuid Payt Rcpt Extn. UUID
PaymentReceiptUUID paytrcpt_ph paytrcpt_uuid Payt Rcpt UUID
CompanyCode paytrcpt bukrs Value
BusinessPlaceName
BusinessPlace paytrcpt_bp Business Place
AppraisalRemark remarks Remarks
PaymentReceiptLotNumber paytrcpt_lot_num Lot Number
OfficialReceiptNumber paytrcpt_ph ryoshusho Receipt (Japan)
IndustryType paytrcpt_indtyp Business Style
PH_BusinessStyleOfBPText ph_biz_style PH Business Style
PaymentReceiptLotName _LotNumber group_text Receipt Group Name

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_PH_PaymentReceipt.
-- 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: IPHPAYTRCPT

CREATE VIEW I_PH_PaymentReceipt AS
SELECT
  paytrcpt_ext_uuid AS WorkItemUUID,
  paytrcpt_ph.paytrcpt_uuid AS PaymentReceiptUUID,
  _PaymentReceipt.bukrs AS CompanyCode,
  cast('01'as abap.char(30)) AS BusinessPlaceName,
  paytrcpt_bp AS BusinessPlace,
  remarks AS AppraisalRemark,
  paytrcpt_lot_num AS PaymentReceiptLotNumber,
  paytrcpt_ph.ryoshusho AS OfficialReceiptNumber,
  paytrcpt_indtyp AS IndustryType,
  ph_biz_style AS PH_BusinessStyleOfBPText,
  _LotNumber.group_text AS PaymentReceiptLotName
FROM paytrcpt_ph
INNER JOIN paytrcpt AS _PaymentReceipt ON /* join condition not captured in parsed metadata */
;