C_RAContrManualSpreadingTP

DDL: C_RACONTRMANUALSPREADINGTP Type: view_entity CONSUMPTION Package: ODATA_FARR_MANUALSPREADING

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 40 fields with key field RevenueAccountingContract. It has 5 associations to related views. It is exposed through 2 OData services (ASQL_F6122, UI_MANUALSPREADING). Part of development package ODATA_FARR_MANUALSPREADING.

Data Sources (2)

SourceAliasJoin Type
I_RevenueAccountingContract Contract from
P_RAContrWithTimeBasedPOB ContractWithTimeBasedPob inner

Associations (5)

CardinalityTargetAliasCondition
[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 (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Revenue Accounting Contract Entity view
Metadata.allowExtensions true view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #CONSUMPTION view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F6122 ASQL_F6122 C2 NOT_RELEASED
UI_MANUALSPREADING UI_MANUALSPREADING V4 C1 NOT_RELEASED

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
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
RAContractCompletionDate I_RevenueAccountingContract RAContractCompletionDate Completion Date
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
RevnAcctgSalesOrganization I_RevenueAccountingContract RevnAcctgSalesOrganization Sales Org.
SalesOrganizationName
RAContractIsSoftDeleted I_RevenueAccountingContract RAContractIsSoftDeleted Soft Deleted
RAContractIsUniversal I_RevenueAccountingContract RAContractIsUniversal Universal Revenue Contract
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.RAContractCompletionDate AS RAContractCompletionDate,
  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,
  Contract.RevnAcctgSalesOrganization AS RevnAcctgSalesOrganization,
  Contract._SalesOrganization._Text[1: Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
  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..*]
;