I_RequisitionHistory

DDL: I_REQUISITIONHISTORY SQL: IPAYTREQNHIST Type: view BASIC Package: GLO_FIN_PAY_REQN_CN

Payment Requisition: History

I_RequisitionHistory is a Basic CDS View that provides data about "Payment Requisition: History" in SAP S/4HANA. It reads from 1 data source (payreqn_hist) and exposes 17 fields with key field PaymentRequisitionHistoryUUID. It has 1 association to related views. Part of development package GLO_FIN_PAY_REQN_CN.

Data Sources (1)

SourceAliasJoin Type
payreqn_hist History from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_RequisitionPaytStrategy _PaymentStrategy $projection.PaymentRequisitionStrategyUUID = _PaymentStrategy.PaymentRequisitionStrategyUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTREQNHIST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Payment Requisition: History view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY PaymentRequisitionHistoryUUID hist_uuid PayReqnHistID
PaymentRequisitionUUID reqn_uuid PaymentReqnID
PaymentRequisitionStrategyUUID stgy_uuid Payt Reqn Stgy UUID
PaymentReqnPaymentItemUUID pay_item_uuid PayItemUUID
PaymentRequisitionAction action User action
SystemMessageType msgty Msg.Type (E,I,W..)
SystemMessageClass msgid Message ID
SystemMessageNumber msgno Message Number
SystemMessageVariable1 msgv1 Message variable 1
SystemMessageVariable2 msgv2 Message variable 2
SystemMessageVariable3 msgv3 Message variable 3
SystemMessageVariable4 msgv4 Message variable 4
CreatedByUser created_by Version Created By
CreationDateTime created_on Variant created on
ChangedOnDateTime changed_on Variant Changed on
HistoryDateTime historydatetime Created On
_PaymentStrategy _PaymentStrategy

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_RequisitionHistory.
-- 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: IPAYTREQNHIST

CREATE VIEW I_RequisitionHistory AS
SELECT
  hist_uuid AS PaymentRequisitionHistoryUUID,
  reqn_uuid AS PaymentRequisitionUUID,
  stgy_uuid AS PaymentRequisitionStrategyUUID,
  pay_item_uuid AS PaymentReqnPaymentItemUUID,
  action AS PaymentRequisitionAction,
  msgty AS SystemMessageType,
  msgid AS SystemMessageClass,
  msgno AS SystemMessageNumber,
  msgv1 AS SystemMessageVariable1,
  msgv2 AS SystemMessageVariable2,
  msgv3 AS SystemMessageVariable3,
  msgv4 AS SystemMessageVariable4,
  created_by AS CreatedByUser,
  created_on AS CreationDateTime,
  changed_on AS ChangedOnDateTime,
  HistoryDateTime
FROM payreqn_hist AS History
LEFT OUTER JOIN I_RequisitionPaytStrategy AS _PaymentStrategy ON PaymentRequisitionStrategyUUID = _PaymentStrategy.PaymentRequisitionStrategyUUID  -- association [1..1]
;