I_PaymentRequisition

DDL: I_PAYMENTREQUISITION SQL: IPAYTREQN Type: view BASIC Package: GLO_FIN_PAY_REQN_CN

Payment Requisition

I_PaymentRequisition is a Basic CDS View that provides data about "Payment Requisition" in SAP S/4HANA. It reads from 1 data source (payreqn_reqn) and exposes 20 fields with key field PaymentRequisitionUUID. It has 2 associations to related views. Part of development package GLO_FIN_PAY_REQN_CN.

Data Sources (1)

SourceAliasJoin Type
payreqn_reqn Requisition from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTREQN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Payment Requisition view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY PaymentRequisitionUUID reqn_uuid PaymentReqnID
PaymentRequisitionNumber reqn_num PayReqnNumber
CompanyCode bukrs Value
PaymentRequisitionStatus reqn_status PayReqnStatus
Supplier lifnr Vendor no.
PaymentRequisitionPriority priority Workflow priority
PaytRequisitionAmtInTransCrcy reqn_amount Payt Reqn Amount
Currency currency Valuation Crcy
PaymentRequisitionType reqn_type PayReqnType
PaymentMethod prefer_pay_method Pref Payment Method
NoteText notetext Remark
WorkflowApproverNote reject_reason String
PlannedPaymentDate planned_payment_date Planned Payment Date
PaymentDifferenceReason payment_reason Reason Code
CreatedByUser created_by Version Created By
CreationDateTime created_on Variant created on
LastChangedByUser changed_by User Name
ChangedOnDateTime changed_on Variant Changed on
AuthorizationGroup _Supplier AuthorizationGroup AuthorizGroup
_Currency _Currency

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_PaymentRequisition.
-- 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: IPAYTREQN

CREATE VIEW I_PaymentRequisition AS
SELECT
  reqn_uuid AS PaymentRequisitionUUID,
  reqn_num AS PaymentRequisitionNumber,
  bukrs AS CompanyCode,
  reqn_status AS PaymentRequisitionStatus,
  lifnr AS Supplier,
  priority AS PaymentRequisitionPriority,
  reqn_amount AS PaytRequisitionAmtInTransCrcy,
  Currency,
  reqn_type AS PaymentRequisitionType,
  prefer_pay_method AS PaymentMethod,
  NoteText,
  reject_reason AS WorkflowApproverNote,
  planned_payment_date AS PlannedPaymentDate,
  payment_reason AS PaymentDifferenceReason,
  created_by AS CreatedByUser,
  created_on AS CreationDateTime,
  changed_by AS LastChangedByUser,
  changed_on AS ChangedOnDateTime,
  _Supplier.AuthorizationGroup AS AuthorizationGroup
FROM payreqn_reqn AS Requisition
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;