R_RevenueAccountingContrDraft

DDL: R_REVENUEACCOUNTINGCONTRDRAFT Type: view_entity BASIC Package: FARR_CONTRACT_RAP

Revenue Contract - Draft

R_RevenueAccountingContrDraft is a Basic CDS View that provides data about "Revenue Contract - Draft" in SAP S/4HANA. It reads from 1 data source (farr_d_contr_d) and exposes 38 fields with key field RevenueAccountingContract. Part of development package FARR_CONTRACT_RAP.

Data Sources (1)

SourceAliasJoin Type
farr_d_contr_d farr_d_contr_d from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Revenue Contract - Draft view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract revenueaccountingcontract Revenue Contract
CompanyCode companycode Receiver Company Code
AccountingPrinciple accountingprinciple AP Ledger/CoCode
BusinessPartner businesspartner Issuing Authority
RevnAcctgContractDescription revnacctgcontractdescription Description
RevnAcctgContractCategory revnacctgcontractcategory Contract Category
Customer customer Sold-to Party
TotContractualPrcInSlsDocCrcy totcontractualprcinslsdoccrcy Contractual Price
AllocEffctAmountInSalesDocCrcy alloceffctamountinsalesdoccrcy Allocation Effect
ContrToBeAllcdAmtInSlsDocCrcy contrtobeallcdamtinslsdoccrcy Allocation Effect
RAContractHasAllocationEffect racontracthasallocationeffect Has Allocation Effect
SalesDocumentCurrency salesdocumentcurrency Currency
RevnAcctgSalesOrganization revnacctgsalesorganization Sales Org.
NumberOfPerformanceObligations numberofperformanceobligations Number of Performance Obligations
RevnAcctgContractStatus revnacctgcontractstatus Contract Status
RAContractStatusCriticality racontractstatuscriticality INT1
RAContractIsManuallyAllocated racontractismanuallyallocated Price Allocated Manually
RAContractLastSavedDateTime racontractlastsaveddatetime Time Stamp
RevnAcctgContractCreationDate revnacctgcontractcreationdate Created On
RevnAcctgContractCreatedByUser revnacctgcontractcreatedbyuser Last Changed By
CreatedByUserDescription createdbyuserdescription Description
IsBusinessPurposeCompleted isbusinesspurposecompleted Purpose Completed
RAContractLastChangedByUsr racontractlastchangedbyusr Last Changed By
LastChangedByUserDescription lastchangedbyuserdescription Description
RAContractLastChangeDate racontractlastchangedate Changed on
RAContractCompletionDate racontractcompletiondate Completion Date
RAContractIsSetToSystemAlloc racontractissettosystemalloc Manual Changed
RAContrHasMnlPrcAllocConflict racontrhasmnlprcallocconflict Allocation Conflict
RAAttributeHasConflict raattributehasconflict Attr conflict
RAContractHasAssetsImpairment racontracthasassetsimpairment Contract was Terminated Early
PerfOblgnHasSprdgConflict perfoblgnhassprdgconflict Spreading Conflict
RAContractIsUniversal racontractisuniversal Universal Rev Contr
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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 R_RevenueAccountingContrDraft.
-- 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 R_RevenueAccountingContrDraft AS
SELECT
  RevenueAccountingContract,
  CompanyCode,
  AccountingPrinciple,
  BusinessPartner,
  RevnAcctgContractDescription,
  RevnAcctgContractCategory,
  Customer,
  TotContractualPrcInSlsDocCrcy,
  AllocEffctAmountInSalesDocCrcy,
  ContrToBeAllcdAmtInSlsDocCrcy,
  RAContractHasAllocationEffect,
  SalesDocumentCurrency,
  RevnAcctgSalesOrganization,
  NumberOfPerformanceObligations,
  RevnAcctgContractStatus,
  RAContractStatusCriticality,
  RAContractIsManuallyAllocated,
  RAContractLastSavedDateTime,
  RevnAcctgContractCreationDate,
  RevnAcctgContractCreatedByUser,
  CreatedByUserDescription,
  IsBusinessPurposeCompleted,
  RAContractLastChangedByUsr,
  LastChangedByUserDescription,
  RAContractLastChangeDate,
  RAContractCompletionDate,
  RAContractIsSetToSystemAlloc,
  RAContrHasMnlPrcAllocConflict,
  RAAttributeHasConflict,
  RAContractHasAssetsImpairment,
  PerfOblgnHasSprdgConflict,
  RAContractIsUniversal,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM farr_d_contr_d
;