I_RAToBeMonitoredContract
Contract to Be Monitored
I_RAToBeMonitoredContract is a Composite CDS View that provides data about "Contract to Be Monitored" in SAP S/4HANA. It reads from 1 data source (I_RevenueAccountingContract) and exposes 38 fields with key field RevenueAccountingContract.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RevenueAccountingContract | Contract | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Contract to Be Monitored | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RevenueAccountingContract | I_RevenueAccountingContract | RevenueAccountingContract | Revenue Contract |
| RevnAcctgContractDescription | I_RevenueAccountingContract | RevnAcctgContractDescription | Description | |
| CompanyCode | I_RevenueAccountingContract | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| AccountingPrinciple | I_RevenueAccountingContract | AccountingPrinciple | AP Ledger/CoCode | |
| BusinessPartner | I_RevenueAccountingContract | BusinessPartner | Issuing Authority | |
| BusinessPartnerName | ||||
| Customer | I_RevenueAccountingContract | Customer | Sold-to Party | |
| CustomerName | ||||
| SalesDocumentCurrency | I_RevenueAccountingContract | SalesDocumentCurrency | Currency | |
| TotContractualPrcInSlsDocCrcy | I_RevenueAccountingContract | TotContractualPrcInSlsDocCrcy | Contractual Price | |
| DurationUnit | ||||
| RAContrPendingDurationInDays | ||||
| NumberOfMnlFlfmtPerfOblgns | ||||
| NumberOfMnlCreatedPerfOblgns | ||||
| NumberOfFrozenPerfOblgns | ||||
| RevnAcctgContractEndDate | ||||
| NumberOfPerformanceObligations | I_RevenueAccountingContract | NumberOfPerformanceObligations | Number of Performance Obligations | |
| AllocEffctAmountInSalesDocCrcy | I_RevenueAccountingContract | AllocEffctAmountInSalesDocCrcy | Allocation Effect | |
| RAContractHasAllocationEffect | I_RevenueAccountingContract | RAContractHasAllocationEffect | Has Allocation Effect | |
| RevnContrAssetsImpairmentDate | I_RevenueAccountingContract | RevnContrAssetsImpairmentDate | Early Termination Date | |
| RAContractHasAssetsImpairment | I_RevenueAccountingContract | RAContractHasAssetsImpairment | Contract was Terminated Early | |
| RevnAcctgContractStatus | I_RevenueAccountingContract | RevnAcctgContractStatus | Contract Status | |
| RevnAcctgContractStatusName | ||||
| RAContractCompletionDate | I_RevenueAccountingContract | RAContractCompletionDate | Completion Date | |
| RevnAcctgSalesOrganization | I_RevenueAccountingContract | RevnAcctgSalesOrganization | Sales Org. | |
| RevnAcctgContractCreatedByUser | I_RevenueAccountingContract | RevnAcctgContractCreatedByUser | Last Changed By | |
| RevnAcctgContractCreationDate | I_RevenueAccountingContract | RevnAcctgContractCreationDate | Created On | |
| RAContractLastChangedByUsr | I_RevenueAccountingContract | RAContractLastChangedByUsr | Last Changed By | |
| RAContractLastChangeDate | I_RevenueAccountingContract | RAContractLastChangeDate | Changed on | |
| IsBusinessPurposeCompleted | I_RevenueAccountingContract | IsBusinessPurposeCompleted | Purpose Completed | |
| RAContractIsUniversal | I_RevenueAccountingContract | RAContractIsUniversal | Universal Rev Contr | |
| _CompanyCode | I_RevenueAccountingContract | _CompanyCode | ||
| _AccountingPrinciple | I_RevenueAccountingContract | _AccountingPrinciple | ||
| _Customer | I_RevenueAccountingContract | _Customer | ||
| _BusinessPartner | I_RevenueAccountingContract | _BusinessPartner | ||
| _SalesOrganization | I_RevenueAccountingContract | _SalesOrganization | ||
| _RAContractStatus | I_RevenueAccountingContract | _RAContractStatus |
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_RAToBeMonitoredContract.
-- 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 I_RAToBeMonitoredContract AS
SELECT
Contract.RevenueAccountingContract AS RevenueAccountingContract,
Contract.RevnAcctgContractDescription AS RevnAcctgContractDescription,
Contract.CompanyCode AS CompanyCode,
Contract._CompanyCode.CompanyCodeName AS CompanyCodeName,
Contract.AccountingPrinciple AS AccountingPrinciple,
Contract.BusinessPartner AS BusinessPartner,
Contract._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
Contract.Customer AS Customer,
Contract._Customer.CustomerName AS CustomerName,
Contract.SalesDocumentCurrency AS SalesDocumentCurrency,
Contract.TotContractualPrcInSlsDocCrcy AS TotContractualPrcInSlsDocCrcy,
cast('TAG' as farr_duration_unit) AS DurationUnit,
cast(ContrPendingDays.RAContrPendingDurationInDays as farr_cds_pending_days preserving type) AS RAContrPendingDurationInDays,
cast(MnlFlfmtPerfOblgn.NumberOfMnlFlfmtPerfOblgns as farr_cds_num_of_ma_flf_pob preserving type) AS NumberOfMnlFlfmtPerfOblgns,
cast(MnlCrtedPerfOblgn.NumberOfMnlCreatedPerfOblgns as farr_cds_num_of_ma_created_pob preserving type) AS NumberOfMnlCreatedPerfOblgns,
cast(FreezingPerfOblgn.NumberOfFrozenPerfOblgns as farr_cds_num_of_frozen_pob preserving type) AS NumberOfFrozenPerfOblgns,
cast(MaxEndDate.PerformanceObligationEndDate as farr_cds_contract_end_date preserving type) AS RevnAcctgContractEndDate,
Contract.NumberOfPerformanceObligations AS NumberOfPerformanceObligations,
Contract.AllocEffctAmountInSalesDocCrcy AS AllocEffctAmountInSalesDocCrcy,
Contract.RAContractHasAllocationEffect AS RAContractHasAllocationEffect,
Contract.RevnContrAssetsImpairmentDate AS RevnContrAssetsImpairmentDate,
Contract.RAContractHasAssetsImpairment AS RAContractHasAssetsImpairment,
Contract.RevnAcctgContractStatus AS RevnAcctgContractStatus,
Contract._RAContractStatus._Text[1: Language = $session.system_language].RevnAcctgContractStatusName AS RevnAcctgContractStatusName,
Contract.RAContractCompletionDate AS RAContractCompletionDate,
Contract.RevnAcctgSalesOrganization AS RevnAcctgSalesOrganization,
Contract.RevnAcctgContractCreatedByUser AS RevnAcctgContractCreatedByUser,
Contract.RevnAcctgContractCreationDate AS RevnAcctgContractCreationDate,
Contract.RAContractLastChangedByUsr AS RAContractLastChangedByUsr,
Contract.RAContractLastChangeDate AS RAContractLastChangeDate,
Contract.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
Contract.RAContractIsUniversal AS RAContractIsUniversal,
Contract._CompanyCode AS _CompanyCode,
Contract._AccountingPrinciple AS _AccountingPrinciple,
Contract._Customer AS _Customer,
Contract._BusinessPartner AS _BusinessPartner,
Contract._SalesOrganization AS _SalesOrganization,
Contract._RAContractStatus AS _RAContractStatus
FROM I_RevenueAccountingContract AS Contract
;
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