C_RAContrWithPostedBalanceTP

DDL: C_RACONTRWITHPOSTEDBALANCETP Type: view_entity CONSUMPTION

Consumption RA Posted Contract Balance

C_RAContrWithPostedBalanceTP 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_RAContrWithPostedBalanceTP) and exposes 69 fields with key field RevenueAccountingContract. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RAContrWithPostedBalanceTP RAContract from

Associations (1)

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

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption RA Posted Contract Balance view
Metadata.allowExtensions true view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.createEnabled false view
ObjectModel.draftEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
Search.searchable true view
VDM.viewType #CONSUMPTION view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract I_RAContrWithPostedBalanceTP RevenueAccountingContract Revenue Contract
RevnAcctgContractDescription I_RAContrWithPostedBalanceTP RevnAcctgContractDescription Description
CompanyCode I_RAContrWithPostedBalanceTP CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
AccountingPrinciple I_RAContrWithPostedBalanceTP AccountingPrinciple AP Ledger/CoCode
AccountingPrincipleName
BusinessPartner I_RAContrWithPostedBalanceTP BusinessPartner Issuing Authority
BusinessPartnerName I_RAContrWithPostedBalanceTP BusinessPartnerName Extracted Customer Name
Customer I_RAContrWithPostedBalanceTP Customer Sold-to Party
CustomerName I_RAContrWithPostedBalanceTP CustomerName Name of Customer
TotContractualPrcInSlsDocCrcy I_RAContrWithPostedBalanceTP TotContractualPrcInSlsDocCrcy Contractual Price
RAContrBalanceIsDfrrdRevn I_RAContrWithPostedBalanceTP RAContrBalanceIsDfrrdRevn TRUE
RAContrBalanceIsLiability I_RAContrWithPostedBalanceTP RAContrBalanceIsLiability TRUE
UpToCurPeriodRecognizedRevenue
PostedRevnInSlsDocCrcy
SuspendedRevnAmtInSlsDocCrcy
SuspendedCostAmtInSlsDocCrcy
RAContrLiabilitiesAmount
RAContractAssetsAmount
RAPostedUnbilldRblsAmount
RADeferredRevenueInSlsDocCrcy
RAReceivablesAmtInSlsDocCrcy
RABilledRblsAmtInSlsDocCrcy
RAUnbilledRblsAmount
RARblAdjustmentAmtInSlsDocCrcy
NumberOfPerformanceObligations I_RAContrWithPostedBalanceTP NumberOfPerformanceObligations Number of Performance Obligations
AllocEffctAmountInSalesDocCrcy I_RAContrWithPostedBalanceTP AllocEffctAmountInSalesDocCrcy Allocation Effect
RevnContrAssetsImpairmentDate I_RAContrWithPostedBalanceTP RevnContrAssetsImpairmentDate Early Termination Date
RAContractHasAssetsImpairment I_RAContrWithPostedBalanceTP RAContractHasAssetsImpairment Contract was Terminated Early
RevnAcctgContractStatus I_RAContrWithPostedBalanceTP RevnAcctgContractStatus Contract Status
RevnAcctgContractStatusName I_RAContrWithPostedBalanceTP RevnAcctgContractStatusName Contract Status Description
RAContractPostingMode I_RAContrWithPostedBalanceTP RAContractPostingMode Posting Mode
RAContractPostingModeName I_RAContrWithPostedBalanceTP RAContractPostingModeName Short Description
RAContractStatusCriticality I_RAContrWithPostedBalanceTP RAContractStatusCriticality INT1
RAContractCompletionDate I_RAContrWithPostedBalanceTP RAContractCompletionDate Completion Date
SalesDocumentCurrency I_RAContrWithPostedBalanceTP SalesDocumentCurrency Currency
RevnAcctgSalesOrganization I_RAContrWithPostedBalanceTP RevnAcctgSalesOrganization Sales Org.
RAContractHasAllocationEffect I_RAContrWithPostedBalanceTP RAContractHasAllocationEffect Has Allocation Effect
RevnAcctgContractCreatedByUser I_RAContrWithPostedBalanceTP RevnAcctgContractCreatedByUser Last Changed By
CreatedByUserDescription I_RAContrWithPostedBalanceTP CreatedByUserDescription Description
RevnAcctgContractCreationDate I_RAContrWithPostedBalanceTP RevnAcctgContractCreationDate Created On
RAContractLastChangedByUsr I_RAContrWithPostedBalanceTP RAContractLastChangedByUsr Last Changed By
LastChangedByUserDescription I_RAContrWithPostedBalanceTP LastChangedByUserDescription Description
RAContractLastChangeDate I_RAContrWithPostedBalanceTP RAContractLastChangeDate Changed on
RAContractVersionCode I_RAContrWithPostedBalanceTP RAContractVersionCode RAR version code
RAContractIsSoftDeleted I_RAContrWithPostedBalanceTP RAContractIsSoftDeleted Soft Deleted
RAContrManualChgBusinessReason I_RAContrWithPostedBalanceTP RAContrManualChgBusinessReason Bus Chg Reason
HasAttachment I_RAContrWithPostedBalanceTP HasAttachment Truth Value
RAContractHasCompoundPerfOblgn I_RAContrWithPostedBalanceTP RAContractHasCompoundPerfOblgn TRUE
RAContractIsManuallyAllocated RAContractIsManuallyAllocated Price Allocated Manually
RAContrHasMnlPrcAllocConflict RAContrHasMnlPrcAllocConflict Allocation Conflict
RAAttributeHasConflict RAAttributeHasConflict Attr conflict
PerfOblgnHasSprdgConflict PerfOblgnHasSprdgConflict Spreading Conflict
PerfOblgnHasManualSpreading PerfOblgnHasManualSpreading Spreading Changed Manually
RAContrLiabilityAssetIsPosted _RAContrPostedAmt RAContrLiabilityAssetIsPosted
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
RARevnLbltyAssetCalcIsEnabled RARevnLbltyAssetCalcIsEnabled Revenue Calculation is Allowed
RARevenuePostIsEnabled RARevenuePostIsEnabled Revenue Post is Allowed
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
RAContractHasPostponedItem RAContractHasPostponedItem
RAContractIsUniversal I_RAContrWithPostedBalanceTP RAContractIsUniversal Universal Rev Contr
RAContrIsNotActvUnivRevnRecgn I_RAContrWithPostedBalanceTP RAContrIsNotActvUnivRevnRecgn TRUE
_RAPerfOblgnWithToCurPerdAmt _RAPerfOblgnWithToCurPerdAmt
_BusinessPartner _BusinessPartner
_AccountingPrinciple _AccountingPrinciple
_CompanyCode _CompanyCode
_RAContrMnlChgBusinessRsnText _RAContrMnlChgBusinessRsnText
_SalesOrganization _SalesOrganization

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_RAContrWithPostedBalanceTP.
-- 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_RAContrWithPostedBalanceTP AS
SELECT
  RAContract.RevenueAccountingContract AS RevenueAccountingContract,
  RAContract.RevnAcctgContractDescription AS RevnAcctgContractDescription,
  RAContract.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  RAContract.AccountingPrinciple AS AccountingPrinciple,
  _AccountingPrinciple._Text[1:Language =$session.system_language].AccountingPrincipleName AS AccountingPrincipleName,
  RAContract.BusinessPartner AS BusinessPartner,
  RAContract.BusinessPartnerName AS BusinessPartnerName,
  RAContract.Customer AS Customer,
  RAContract.CustomerName AS CustomerName,
  RAContract.TotContractualPrcInSlsDocCrcy AS TotContractualPrcInSlsDocCrcy,
  RAContract.RAContrBalanceIsDfrrdRevn AS RAContrBalanceIsDfrrdRevn,
  RAContract.RAContrBalanceIsLiability AS RAContrBalanceIsLiability,
  cast(_RAContractRev2CurPerd.UpToCurPeriodRecognizedRevenue as farr_recog_amt) AS UpToCurPeriodRecognizedRevenue,
  cast(_RAContrPostedAmt.PostedRevnInSlsDocCrcy as farr_post_price) AS PostedRevnInSlsDocCrcy,
  cast(RAContract.SuspendedRevnAmtInSlsDocCrcy as farr_cds_suspended_revenue) AS SuspendedRevnAmtInSlsDocCrcy,
  cast(RAContract.SuspendedCostAmtInSlsDocCrcy as farr_cds_suspended_cost) AS SuspendedCostAmtInSlsDocCrcy,
  cast(_RAContrPostedAmt.RAContrLiabilitiesAmount as farr_posted_clt) AS RAContrLiabilitiesAmount,
  cast(_RAContrPostedAmt.RAContractAssetsAmount as farr_posted_cat) AS RAContractAssetsAmount,
  cast(_RAContrPostedAmt.RAPostedUnbilldRblsAmount as farr_posted_urt) AS RAPostedUnbilldRblsAmount,
  cast(_RAContrPostedAmt.RADeferredRevenueInSlsDocCrcy as farr_posted_drt) AS RADeferredRevenueInSlsDocCrcy,
  cast(_RAContrPostedAmt.RAReceivablesAmtInSlsDocCrcy as farr_receivable) AS RAReceivablesAmtInSlsDocCrcy,
  cast(_RAContrPostedAmt.RABilledRblsAmtInSlsDocCrcy as farr_billed_rbl) AS RABilledRblsAmtInSlsDocCrcy,
  cast(_RAContrPostedAmt.RAUnbilledRblsAmount as farr_unbill_rbl) AS RAUnbilledRblsAmount,
  cast(_RAContrPostedAmt.RARblAdjustmentAmtInSlsDocCrcy as farr_cds_rbl_adjmt_amt) AS RARblAdjustmentAmtInSlsDocCrcy,
  RAContract.NumberOfPerformanceObligations AS NumberOfPerformanceObligations,
  RAContract.AllocEffctAmountInSalesDocCrcy AS AllocEffctAmountInSalesDocCrcy,
  RAContract.RevnContrAssetsImpairmentDate AS RevnContrAssetsImpairmentDate,
  RAContract.RAContractHasAssetsImpairment AS RAContractHasAssetsImpairment,
  RAContract.RevnAcctgContractStatus AS RevnAcctgContractStatus,
  RAContract.RevnAcctgContractStatusName AS RevnAcctgContractStatusName,
  RAContract.RAContractPostingMode AS RAContractPostingMode,
  RAContract.RAContractPostingModeName AS RAContractPostingModeName,
  RAContract.RAContractStatusCriticality AS RAContractStatusCriticality,
  RAContract.RAContractCompletionDate AS RAContractCompletionDate,
  RAContract.SalesDocumentCurrency AS SalesDocumentCurrency,
  RAContract.RevnAcctgSalesOrganization AS RevnAcctgSalesOrganization,
  RAContract.RAContractHasAllocationEffect AS RAContractHasAllocationEffect,
  RAContract.RevnAcctgContractCreatedByUser AS RevnAcctgContractCreatedByUser,
  RAContract.CreatedByUserDescription AS CreatedByUserDescription,
  RAContract.RevnAcctgContractCreationDate AS RevnAcctgContractCreationDate,
  RAContract.RAContractLastChangedByUsr AS RAContractLastChangedByUsr,
  RAContract.LastChangedByUserDescription AS LastChangedByUserDescription,
  RAContract.RAContractLastChangeDate AS RAContractLastChangeDate,
  RAContract.RAContractVersionCode AS RAContractVersionCode,
  RAContract.RAContractIsSoftDeleted AS RAContractIsSoftDeleted,
  RAContract.RAContrManualChgBusinessReason AS RAContrManualChgBusinessReason,
  RAContract.HasAttachment AS HasAttachment,
  RAContract.RAContractHasCompoundPerfOblgn AS RAContractHasCompoundPerfOblgn,
  RAContractIsManuallyAllocated,
  RAContrHasMnlPrcAllocConflict,
  RAAttributeHasConflict,
  PerfOblgnHasSprdgConflict,
  PerfOblgnHasManualSpreading,
  _RAContrPostedAmt.RAContrLiabilityAssetIsPosted AS RAContrLiabilityAssetIsPosted,
  IsBusinessPurposeCompleted,
  RARevnLbltyAssetCalcIsEnabled,
  RARevenuePostIsEnabled,
  FiscalYear,
  FiscalPeriod,
  RAContractHasPostponedItem,
  RAContract.RAContractIsUniversal AS RAContractIsUniversal,
  RAContract.RAContrIsNotActvUnivRevnRecgn AS RAContrIsNotActvUnivRevnRecgn
FROM I_RAContrWithPostedBalanceTP AS RAContract
LEFT OUTER JOIN C_RAPerfOblgnWthToCurPerdAmtTP AS _RAPerfOblgnWithToCurPerdAmt ON RevenueAccountingContract = _RAPerfOblgnWithToCurPerdAmt.RevenueAccountingContract  -- association [0..*]
;