C_RAContrManualSpreadingTP
Revenue Accounting Contract Entity
C_RAContrManualSpreadingTP is a Consumption CDS View that provides data about "Revenue Accounting Contract Entity" in SAP S/4HANA. It reads from 2 data sources (I_RevenueAccountingContract, P_RAContrWithTimeBasedPOB) and exposes 42 fields with key field RevenueAccountingContract. It has 5 associations to related views. It is exposed through 1 OData service (UI_MANUALSPREADING).
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_RevenueAccountingContract | Contract | from |
| P_RAContrWithTimeBasedPOB | ContractWithTimeBasedPob | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_RAContractStatusText | _RAContractStatusText | $projection.RevnAcctgContractStatus = _RAContractStatusText.RevnAcctgContractStatus |
| [0..*] | I_AccountingPrincipleText | _AccountingPrincipleText | $projection.AccountingPrinciple = _AccountingPrincipleText.AccountingPrinciple |
| [0..1] | I_UserContactCard | _CreatedByUserContactCard | $projection.RevnAcctgContractCreatedByUser = _CreatedByUserContactCard.ContactCardID |
| [0..1] | I_UserContactCard | _LastChangedByContactCard | $projection.RAContractLastChangedByUsr = _LastChangedByContactCard.ContactCardID |
| [0..*] | C_RAPerfOblgnManualSpreadingTP | _PerformanceObligation | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Revenue Accounting Contract Entity | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_MANUALSPREADING | UI_MANUALSPREADING | V4 | C1 | NOT_RELEASED |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RevenueAccountingContract | I_RevenueAccountingContract | RevenueAccountingContract | Revenue Contract |
| CompanyCode | I_RevenueAccountingContract | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| AccountingPrinciple | I_RevenueAccountingContract | AccountingPrinciple | AP Ledger/CoCode | |
| AccountingPrincipleName | ||||
| BusinessPartner | I_RevenueAccountingContract | BusinessPartner | Issuing Authority | |
| BusinessPartnerName | ||||
| Customer | I_RevenueAccountingContract | Customer | Sold-to Party | |
| CustomerName | ||||
| TotContractualPrcInSlsDocCrcy | I_RevenueAccountingContract | TotContractualPrcInSlsDocCrcy | Contractual Price | |
| AllocEffctAmountInSalesDocCrcy | I_RevenueAccountingContract | AllocEffctAmountInSalesDocCrcy | Allocation Effect | |
| RAContractHasAllocationEffect | I_RevenueAccountingContract | RAContractHasAllocationEffect | Has Allocation Effect | |
| SalesDocumentCurrency | I_RevenueAccountingContract | SalesDocumentCurrency | Currency | |
| RevnAcctgContractStatus | I_RevenueAccountingContract | RevnAcctgContractStatus | Contract Status | |
| RevnAcctgContractStatusName | ||||
| RAContractIsCreatedByContrMgr | I_RevenueAccountingContract | RAContractIsCreatedByContrMgr | RAR version code | |
| RAContractLastSavedDateTime | I_RevenueAccountingContract | RAContractLastSavedDateTime | Time Stamp | |
| RevnAcctgContractCreationDate | I_RevenueAccountingContract | RevnAcctgContractCreationDate | Created On | |
| RevnAcctgContractCreatedByUser | I_RevenueAccountingContract | RevnAcctgContractCreatedByUser | Last Changed By | |
| RAContractLastChangedByUsr | I_RevenueAccountingContract | RAContractLastChangedByUsr | Last Changed By | |
| CreatedByUserDescription | ||||
| LastChangedByUserDescription | ||||
| RAContractLastChangeDate | I_RevenueAccountingContract | RAContractLastChangeDate | Changed on | |
| IsBusinessPurposeCompleted | I_RevenueAccountingContract | IsBusinessPurposeCompleted | Purpose Completed | |
| RAContrHasMnlPrcAllocConflict | I_RevenueAccountingContract | RAContrHasMnlPrcAllocConflict | Allocation Conflict | |
| RAAttributeHasConflict | ||||
| RevnAcctgSalesOrganization | I_RevenueAccountingContract | RevnAcctgSalesOrganization | Sales Org. | |
| SalesOrganizationName | ||||
| PerfOblgnHasSprdgConflict | ||||
| RAContractIsSoftDeleted | I_RevenueAccountingContract | RAContractIsSoftDeleted | Soft Deleted | |
| RAContractIsUniversal | I_RevenueAccountingContract | RAContractIsUniversal | Universal Rev Contr | |
| RAContractHasAssetsImpairment | I_RevenueAccountingContract | RAContractHasAssetsImpairment | Contract was Terminated Early | |
| _PerformanceObligation | _PerformanceObligation | |||
| _RAContractStatusText | _RAContractStatusText | |||
| _AccountingPrincipleText | _AccountingPrincipleText | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _LastChangedByContactCard | _LastChangedByContactCard | |||
| _Customer | I_RevenueAccountingContract | _Customer | ||
| _SalesOrganization | I_RevenueAccountingContract | _SalesOrganization | ||
| _AccountingPrinciple | I_RevenueAccountingContract | _AccountingPrinciple | ||
| _CompanyCode | I_RevenueAccountingContract | _CompanyCode | ||
| _BusinessPartner | I_RevenueAccountingContract | _BusinessPartner |
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 C_RAContrManualSpreadingTP.
-- 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 C_RAContrManualSpreadingTP AS
SELECT
Contract.RevenueAccountingContract AS RevenueAccountingContract,
Contract.CompanyCode AS CompanyCode,
Contract._CompanyCode.CompanyCodeName AS CompanyCodeName,
Contract.AccountingPrinciple AS AccountingPrinciple,
Contract._AccountingPrinciple._Text[1:Language=$session.system_language].AccountingPrincipleName AS AccountingPrincipleName,
Contract.BusinessPartner AS BusinessPartner,
Contract._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
Contract.Customer AS Customer,
Contract._Customer.CustomerName AS CustomerName,
Contract.TotContractualPrcInSlsDocCrcy AS TotContractualPrcInSlsDocCrcy,
Contract.AllocEffctAmountInSalesDocCrcy AS AllocEffctAmountInSalesDocCrcy,
Contract.RAContractHasAllocationEffect AS RAContractHasAllocationEffect,
Contract.SalesDocumentCurrency AS SalesDocumentCurrency,
Contract.RevnAcctgContractStatus AS RevnAcctgContractStatus,
Contract._RAContractStatus._Text[1:Language=$session.system_language].RevnAcctgContractStatusName AS RevnAcctgContractStatusName,
Contract.RAContractIsCreatedByContrMgr AS RAContractIsCreatedByContrMgr,
Contract.RAContractLastSavedDateTime AS RAContractLastSavedDateTime,
Contract.RevnAcctgContractCreationDate AS RevnAcctgContractCreationDate,
Contract.RevnAcctgContractCreatedByUser AS RevnAcctgContractCreatedByUser,
Contract.RAContractLastChangedByUsr AS RAContractLastChangedByUsr,
Contract._CreatedByUser.UserDescription AS CreatedByUserDescription,
Contract._ChangedByUser.UserDescription AS LastChangedByUserDescription,
Contract.RAContractLastChangeDate AS RAContractLastChangeDate,
Contract.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
Contract.RAContrHasMnlPrcAllocConflict AS RAContrHasMnlPrcAllocConflict,
cast (coalesce(ContractWithAttribConflict.RAAttributeHasConflict, '') as farr_attr_conflict preserving type ) AS RAAttributeHasConflict,
Contract.RevnAcctgSalesOrganization AS RevnAcctgSalesOrganization,
Contract._SalesOrganization._Text[1:Language=$session.system_language].SalesOrganizationName AS SalesOrganizationName,
cast (coalesce(ContractWithSpreadingConflict.PerfOblgnHasSprdgConflict, '') as farr_spread_conflict preserving type ) AS PerfOblgnHasSprdgConflict,
Contract.RAContractIsSoftDeleted AS RAContractIsSoftDeleted,
Contract.RAContractIsUniversal AS RAContractIsUniversal,
Contract.RAContractHasAssetsImpairment AS RAContractHasAssetsImpairment,
Contract._Customer AS _Customer,
Contract._SalesOrganization AS _SalesOrganization,
Contract._AccountingPrinciple AS _AccountingPrinciple,
Contract._CompanyCode AS _CompanyCode,
Contract._BusinessPartner AS _BusinessPartner
FROM I_RevenueAccountingContract AS Contract
INNER JOIN P_RAContrWithTimeBasedPOB AS ContractWithTimeBasedPob ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RAContractStatusText AS _RAContractStatusText ON RevnAcctgContractStatus = _RAContractStatusText.RevnAcctgContractStatus -- association [0..*]
LEFT OUTER JOIN I_AccountingPrincipleText AS _AccountingPrincipleText ON AccountingPrinciple = _AccountingPrincipleText.AccountingPrinciple -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON RevnAcctgContractCreatedByUser = _CreatedByUserContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByContactCard ON RAContractLastChangedByUsr = _LastChangedByContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN C_RAPerfOblgnManualSpreadingTP AS _PerformanceObligation ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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