Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

C_RAContrWithPostedBalance

DDL: C_RACONTRWITHPOSTEDBALANCE Type: view_entity CONSUMPTION

Consumption RA Posted Contract Balance

C_RAContrWithPostedBalance is a Consumption CDS View that provides data about "Consumption RA Posted Contract Balance" in SAP S/4HANA. It reads from 1 data source (I_RAContrWithPostedBalance) and exposes 37 fields with key field RevenueAccountingContract. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RAContrWithPostedBalance I_RAContrWithPostedBalance from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_RAPerfOblgnWithToCurPerdAmt _RAPerfOblgnWithToCurPerdAmt $projection.RevenueAccountingContract = _RAPerfOblgnWithToCurPerdAmt.RevenueAccountingContract

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption RA Posted Contract Balance view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
VDM.lifecycle.status #DEPRECATED view
VDM.viewType #CONSUMPTION view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract RevenueAccountingContract Revenue Contract
RevnAcctgContractDescription RevnAcctgContractDescription Description
CompanyCode CompanyCode Receiver Company Code
AccountingPrinciple AccountingPrinciple AP Ledger/CoCode
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerName
Customer Customer Sold-to Party
CustomerName
TotContractualPrcInSlsDocCrcy TotContractualPrcInSlsDocCrcy Contractual Price
UpToCurPeriodRecognizedRevenue
PostedRevnInSlsDocCrcy
RAContrLiabilitiesAmount
RAContractAssetsAmount
RAPostedUnbilldRblsAmount
RADeferredRevenueInSlsDocCrcy
RAReceivablesAmtInSlsDocCrcy
RABilledRblsAmtInSlsDocCrcy
RAUnbilledRblsAmount
NumberOfPerformanceObligations NumberOfPerformanceObligations Number of Performance Obligations
AllocEffctAmountInSalesDocCrcy AllocEffctAmountInSalesDocCrcy Allocation Effect
RAContractHasAssetsImpairment RAContractHasAssetsImpairment Contract was Terminated Early
RevnAcctgContractStatus RevnAcctgContractStatus Contract Status
RevnAcctgContractStatusName RevnAcctgContractStatusName Contract Status Description
RAContractCompletionDate RAContractCompletionDate Completion Date
SalesDocumentCurrency SalesDocumentCurrency Currency
RevnAcctgSalesOrganization RevnAcctgSalesOrganization Sales Org.
RAContractHasAllocationEffect RAContractHasAllocationEffect Has Allocation Effect
RevnAcctgContractCreatedByUser RevnAcctgContractCreatedByUser Last Changed By
RevnAcctgContractCreationDate RevnAcctgContractCreationDate Created On
RAContractLastChangedByUsr RAContractLastChangedByUsr Last Changed By
RAContractLastChangeDate RAContractLastChangeDate Changed on
RAContractVersionCode RAContractVersionCode RAR version code
RAContractHasPostponedItem RAContractHasPostponedItem
_RAPerfOblgnWithToCurPerdAmt _RAPerfOblgnWithToCurPerdAmt
_BusinessPartner _BusinessPartner
_AccountingPrinciple _AccountingPrinciple
_CompanyCode _CompanyCode

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_RAContrWithPostedBalance.
-- 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_RAContrWithPostedBalance AS
SELECT
  RevenueAccountingContract,
  RevnAcctgContractDescription,
  CompanyCode,
  AccountingPrinciple,
  BusinessPartner,
  I_RAContrWithPostedBalance._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
  Customer,
  I_RAContrWithPostedBalance._Customer.CustomerName AS CustomerName,
  TotContractualPrcInSlsDocCrcy,
  cast(UpToCurPeriodRecognizedRevenue + RAContrCatchUpAmtInSlsDocCrcy as farr_recog_amt) AS UpToCurPeriodRecognizedRevenue,
  cast(PostedRevnInSlsDocCrcy as farr_post_price) AS PostedRevnInSlsDocCrcy,
  cast(RAContrLiabilitiesAmount as farr_posted_clt) AS RAContrLiabilitiesAmount,
  cast(RAContractAssetsAmount as farr_posted_cat preserving type) AS RAContractAssetsAmount,
  cast(RAPostedUnbilldRblsAmount as farr_posted_urt preserving type) AS RAPostedUnbilldRblsAmount,
  cast(RADeferredRevenueInSlsDocCrcy as farr_posted_drt) AS RADeferredRevenueInSlsDocCrcy,
  cast(RAReceivablesAmtInSlsDocCrcy as farr_receivable) AS RAReceivablesAmtInSlsDocCrcy,
  cast(RABilledRblsAmtInSlsDocCrcy as farr_billed_rbl preserving type) AS RABilledRblsAmtInSlsDocCrcy,
  cast(RAUnbilledRblsAmount as farr_unbill_rbl) AS RAUnbilledRblsAmount,
  NumberOfPerformanceObligations,
  AllocEffctAmountInSalesDocCrcy,
  RAContractHasAssetsImpairment,
  RevnAcctgContractStatus,
  RevnAcctgContractStatusName,
  RAContractCompletionDate,
  SalesDocumentCurrency,
  RevnAcctgSalesOrganization,
  RAContractHasAllocationEffect,
  RevnAcctgContractCreatedByUser,
  RevnAcctgContractCreationDate,
  RAContractLastChangedByUsr,
  RAContractLastChangeDate,
  RAContractVersionCode,
  RAContractHasPostponedItem
FROM I_RAContrWithPostedBalance
LEFT OUTER JOIN C_RAPerfOblgnWithToCurPerdAmt AS _RAPerfOblgnWithToCurPerdAmt ON RevenueAccountingContract = _RAPerfOblgnWithToCurPerdAmt.RevenueAccountingContract  -- association [0..*]
;