R_CN_RequisitionHistoryTP

DDL: R_CN_REQUISITIONHISTORYTP Type: view_entity TRANSACTIONAL Package: GLO_FIN_PAY_REQN_CN

Payment Requisition: History for CN

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

Data Sources (1)

SourceAliasJoin Type
I_RequisitionHistory History from

Associations (4)

CardinalityTargetAliasCondition
[0..1] R_CN_RequisitionPaytStrategyTP _PaymentStrategy $projection.PaymentRequisitionStrategyUUID = _PaymentStrategy.PaymentRequisitionStrategyUUID
[0..1] I_UserContactCard _CreateUserContactCard $projection.CreatedByUser = _CreateUserContactCard.ContactCardID
[0..*] I_CN_PaytReqnHistoryActionText _ActionText $projection.PaymentRequisitionAction = _ActionText.PaymentRequisitionAction
[0..*] I_PubSecSystMsgTypeTxt _SystMsgTypeText $projection.SystemMessageType = _SystMsgTypeText.SystemMessageType

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Payment Requisition: History for CN view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY PaymentRequisitionHistoryUUID PaymentRequisitionHistoryUUID PayReqnHistID
PaymentRequisitionUUID PaymentRequisitionUUID PaymentReqnID
PaymentRequisitionStrategyUUID PaymentRequisitionStrategyUUID Payt Reqn Stgy UUID
PaymentReqnPaymentItemUUID PaymentReqnPaymentItemUUID PayItemUUID
PaymentRequisitionAction PaymentRequisitionAction User action
SystemMessageType SystemMessageType Message type
SystemMessageClass SystemMessageClass Message ID
SystemMessageNumber SystemMessageNumber Message Number
SystemMessageVariable1 SystemMessageVariable1 Variable 1
SystemMessageVariable2 SystemMessageVariable2 Variable 2
SystemMessageVariable3 SystemMessageVariable3 Variable 3
SystemMessageVariable4 SystemMessageVariable4 Variable 4
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
ChangedOnDateTime ChangedOnDateTime Last Changed At
HistoryDateTime HistoryDateTime Created On
_PaymentStrategy _PaymentStrategy
_Requisition _Requisition
_CreateUserContactCard _CreateUserContactCard
_SystMsgTypeText _SystMsgTypeText
_ActionText _ActionText

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 R_CN_RequisitionHistoryTP.
-- 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.

CREATE VIEW R_CN_RequisitionHistoryTP AS
SELECT
  PaymentRequisitionHistoryUUID,
  PaymentRequisitionUUID,
  PaymentRequisitionStrategyUUID,
  PaymentReqnPaymentItemUUID,
  PaymentRequisitionAction,
  SystemMessageType,
  SystemMessageClass,
  SystemMessageNumber,
  SystemMessageVariable1,
  SystemMessageVariable2,
  SystemMessageVariable3,
  SystemMessageVariable4,
  CreatedByUser,
  CreationDateTime,
  ChangedOnDateTime,
  HistoryDateTime
FROM I_RequisitionHistory AS History
LEFT OUTER JOIN R_CN_RequisitionPaytStrategyTP AS _PaymentStrategy ON PaymentRequisitionStrategyUUID = _PaymentStrategy.PaymentRequisitionStrategyUUID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreateUserContactCard ON CreatedByUser = _CreateUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_CN_PaytReqnHistoryActionText AS _ActionText ON PaymentRequisitionAction = _ActionText.PaymentRequisitionAction  -- association [0..*]
LEFT OUTER JOIN I_PubSecSystMsgTypeTxt AS _SystMsgTypeText ON SystemMessageType = _SystMsgTypeText.SystemMessageType  -- association [0..*]
;