R_CN_RequisitionHistoryTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_RequisitionHistory | History | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA