C_RAContrMnlFlfmtTP

DDL: C_RACONTRMNLFLFMTTP Type: view_entity CONSUMPTION

Revenue Accounting Contract Entity

C_RAContrMnlFlfmtTP 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_RAContrWithMaPob) and exposes 40 fields with key field RevenueAccountingContract. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_RevenueAccountingContract Contract from
P_RAContrWithMaPob ContractWithMaPob inner

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_RAContractStatusText _RAContractStatusText $projection.RevnAcctgContractStatus = _RAContractStatusText.RevnAcctgContractStatus
[0..*] I_AccountingPrincipleText _AccountingPrincipleText $projection.AccountingPrinciple = _AccountingPrincipleText.AccountingPrinciple
[0..*] C_RAPerfOblgnMnlFlfmtTP _PerformanceObligation

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY 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

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract I_RevenueAccountingContract RevenueAccountingContract Revenue Contract
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
RevnAcctgContractDescription I_RevenueAccountingContract RevnAcctgContractDescription Description
RevnAcctgSalesOrganization I_RevenueAccountingContract RevnAcctgSalesOrganization Sales Org.
SalesOrganizationName
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
NumberOfPerformanceObligations I_RevenueAccountingContract NumberOfPerformanceObligations Number of Performance Obligations
RevnAcctgContractCreationDate I_RevenueAccountingContract RevnAcctgContractCreationDate Created On
RevnAcctgContractCreatedByUser I_RevenueAccountingContract RevnAcctgContractCreatedByUser Last Changed By
CreatedByUserDescription
RAContractLastSavedDateTime I_RevenueAccountingContract RAContractLastSavedDateTime Time Stamp
IsBusinessPurposeCompleted I_RevenueAccountingContract IsBusinessPurposeCompleted Purpose Completed
RAContractCompletionDate I_RevenueAccountingContract RAContractCompletionDate Completion Date
RAContractLastChangedByUsr I_RevenueAccountingContract RAContractLastChangedByUsr Last Changed By
RAContractHasAssetsImpairment I_RevenueAccountingContract RAContractHasAssetsImpairment Contract was Terminated Early
RevnContrAssetsImpairmentDate I_RevenueAccountingContract RevnContrAssetsImpairmentDate Early Termination Date
RecognizedRevnUpToCurPerdPct
RatioUnit
UpToCurPeriodRecognizedRevenue ContractRevenue UpToCurPeriodRecognizedRevenue Recognizable Revenue
RATotalOpenRevnInSlsDocCrcy ContractRevenue RATotalOpenRevnInSlsDocCrcy Open Revenue
RAContractVersionCode I_RevenueAccountingContract RAContractVersionCode RAR version code
_PerformanceObligation _PerformanceObligation
_RAContractStatusText _RAContractStatusText
_AccountingPrincipleText _AccountingPrincipleText
_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_RAContrMnlFlfmtTP.
-- 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_RAContrMnlFlfmtTP AS
SELECT
  Contract.RevenueAccountingContract AS RevenueAccountingContract,
  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.RevnAcctgContractDescription AS RevnAcctgContractDescription,
  Contract.RevnAcctgSalesOrganization AS RevnAcctgSalesOrganization,
  Contract._SalesOrganization._Text[1:Language=$session.system_language].SalesOrganizationName AS SalesOrganizationName,
  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.NumberOfPerformanceObligations AS NumberOfPerformanceObligations,
  Contract.RevnAcctgContractCreationDate AS RevnAcctgContractCreationDate,
  Contract.RevnAcctgContractCreatedByUser AS RevnAcctgContractCreatedByUser,
  Contract._CreatedByUser.UserDescription AS CreatedByUserDescription,
  Contract.RAContractLastSavedDateTime AS RAContractLastSavedDateTime,
  Contract.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  Contract.RAContractCompletionDate AS RAContractCompletionDate,
  Contract.RAContractLastChangedByUsr AS RAContractLastChangedByUsr,
  Contract.RAContractHasAssetsImpairment AS RAContractHasAssetsImpairment,
  Contract.RevnContrAssetsImpairmentDate AS RevnContrAssetsImpairmentDate,
  cast(ContractRevenue.RecognizedRevnUpToCurPerdPct as farr_fulfilled_rev_progress) AS RecognizedRevnUpToCurPerdPct,
  cast ( '%' as farr_quantity_unit ) AS RatioUnit,
  ContractRevenue.UpToCurPeriodRecognizedRevenue AS UpToCurPeriodRecognizedRevenue,
  ContractRevenue.RATotalOpenRevnInSlsDocCrcy AS RATotalOpenRevnInSlsDocCrcy,
  Contract.RAContractVersionCode AS RAContractVersionCode,
  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_RAContrWithMaPob AS ContractWithMaPob 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 C_RAPerfOblgnMnlFlfmtTP AS _PerformanceObligation ON /* condition not available in parsed metadata */  -- association [0..*]
;