R_RAContrMngRevnContrDraft
Draft Query for Revenue Contract
R_RAContrMngRevnContrDraft is a Basic CDS View that provides data about "Draft Query for Revenue Contract" in SAP S/4HANA. It reads from 1 data source (farr_mgn_1_d) and exposes 54 fields with key field RevenueAccountingContract. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| farr_mgn_1_d | Draft | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_RAContrMngRevnContrDraft | _Extension | $projection.RevenueAccountingContract = _Extension.RevenueAccountingContract |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Draft Query for Revenue Contract | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.extensibility.elementSuffix | RCH | view | |
| AbapCatalog.extensibility.quota.maximumFields | 200 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2200 | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RevenueAccountingContract | revenueaccountingcontract | Revenue Contract | |
| RevnAcctgContractDescription | revnacctgcontractdescription | Description | ||
| BusinessPartner | businesspartner | Issuing Authority | ||
| BusinessPartnerName | businesspartnername | Extracted Customer Name | ||
| Customer | customer | Sold-to Party | ||
| CustomerName | customername | Name of Customer | ||
| AccountingPrinciple | accountingprinciple | AP Ledger/CoCode | ||
| CompanyCode | companycode | Receiver Company Code | ||
| RAContractLastSavedDateTime | racontractlastsaveddatetime | Time Stamp | ||
| FiscalYear | fiscalyear | G/L Fiscal Year | ||
| FiscalPeriod | fiscalperiod | Tax period | ||
| IsBusinessPurposeCompleted | isbusinesspurposecompleted | Purpose Completed | ||
| HasAttachment | hasattachment | Truth Value | ||
| RAContractHasCompoundPerfOblgn | racontracthascompoundperfoblgn | TRUE | ||
| RAContractIsManuallyAllocated | racontractismanuallyallocated | Price Allocated Manually | ||
| RAContrHasMnlPrcAllocConflict | racontrhasmnlprcallocconflict | Allocation Conflict | ||
| RAAttributeHasConflict | raattributehasconflict | Attr conflict | ||
| PerfOblgnHasSprdgConflict | perfoblgnhassprdgconflict | Spreading Conflict | ||
| PerfOblgnHasManualSpreading | perfoblgnhasmanualspreading | Spreading Changed Manually | ||
| TotContractualPrcInSlsDocCrcy | totcontractualprcinslsdoccrcy | Contractual Price | ||
| RAContrBalanceIsDfrrdRevn | racontrbalanceisdfrrdrevn | TRUE | ||
| RAContrBalanceIsLiability | racontrbalanceisliability | TRUE | ||
| NumberOfPerformanceObligations | numberofperformanceobligations | Number of Performance Obligations | ||
| AllocEffctAmountInSalesDocCrcy | alloceffctamountinsalesdoccrcy | Allocation Effect | ||
| RevnContrAssetsImpairmentDate | revncontrassetsimpairmentdate | Early Termination Date | ||
| RAContractHasAssetsImpairment | racontracthasassetsimpairment | Contract was Terminated Early | ||
| RevnAcctgContractStatus | revnacctgcontractstatus | Contract Status | ||
| RevnAcctgContractStatusName | revnacctgcontractstatusname | Contract Status Description | ||
| RAContractStatusCriticality | racontractstatuscriticality | INT1 | ||
| RAContractCompletionDate | racontractcompletiondate | Completion Date | ||
| SalesDocumentCurrency | salesdocumentcurrency | Currency | ||
| RevnAcctgSalesOrganization | revnacctgsalesorganization | Sales Org. | ||
| RAContractHasAllocationEffect | racontracthasallocationeffect | Has Allocation Effect | ||
| RARevnLbltyAssetCalcIsEnabled | rarevnlbltyassetcalcisenabled | Revenue Calculation is Allowed | ||
| RARevenuePostIsEnabled | rarevenuepostisenabled | Revenue Post is Allowed | ||
| RAContractPostingMode | racontractpostingmode | Posting Mode | ||
| RAContractPostingModeName | racontractpostingmodename | Short Description | ||
| CreatedByUserDescription | createdbyuserdescription | Description | ||
| RevnAcctgContractCreationDate | revnacctgcontractcreationdate | Created On | ||
| LastChangedByUserDescription | lastchangedbyuserdescription | Description | ||
| RAContractLastChangeDate | racontractlastchangedate | Changed on | ||
| RAContractIsCreatedByContrMgr | racontractiscreatedbycontrmgr | RAR version code | ||
| RAContractIsSoftDeleted | racontractissoftdeleted | Soft Deleted | ||
| RAContrManualChgBusinessReason | racontrmanualchgbusinessreason | Bus Chg Reason | ||
| RevnAcctgContractCreatedByUser | revnacctgcontractcreatedbyuser | Last Changed By | ||
| RAContractLastChangedByUsr | racontractlastchangedbyusr | Last Changed By | ||
| RAContractIsUniversal | racontractisuniversal | Universal Rev Contr | ||
| RAContrIsNotActvUnivRevnRecgn | racontrisnotactvunivrevnrecgn | TRUE | ||
| 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_RAContrMngRevnContrDraft.
-- 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_RAContrMngRevnContrDraft AS
SELECT
RevenueAccountingContract,
RevnAcctgContractDescription,
BusinessPartner,
BusinessPartnerName,
Customer,
CustomerName,
AccountingPrinciple,
CompanyCode,
RAContractLastSavedDateTime,
FiscalYear,
FiscalPeriod,
IsBusinessPurposeCompleted,
HasAttachment,
RAContractHasCompoundPerfOblgn,
RAContractIsManuallyAllocated,
RAContrHasMnlPrcAllocConflict,
RAAttributeHasConflict,
PerfOblgnHasSprdgConflict,
PerfOblgnHasManualSpreading,
TotContractualPrcInSlsDocCrcy,
RAContrBalanceIsDfrrdRevn,
RAContrBalanceIsLiability,
NumberOfPerformanceObligations,
AllocEffctAmountInSalesDocCrcy,
RevnContrAssetsImpairmentDate,
RAContractHasAssetsImpairment,
RevnAcctgContractStatus,
RevnAcctgContractStatusName,
RAContractStatusCriticality,
RAContractCompletionDate,
SalesDocumentCurrency,
RevnAcctgSalesOrganization,
RAContractHasAllocationEffect,
RARevnLbltyAssetCalcIsEnabled,
RARevenuePostIsEnabled,
RAContractPostingMode,
RAContractPostingModeName,
CreatedByUserDescription,
RevnAcctgContractCreationDate,
LastChangedByUserDescription,
RAContractLastChangeDate,
RAContractIsCreatedByContrMgr,
RAContractIsSoftDeleted,
RAContrManualChgBusinessReason,
RevnAcctgContractCreatedByUser,
RAContractLastChangedByUsr,
RAContractIsUniversal,
RAContrIsNotActvUnivRevnRecgn,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM farr_mgn_1_d AS Draft
LEFT OUTER JOIN E_RAContrMngRevnContrDraft AS _Extension ON RevenueAccountingContract = _Extension.RevenueAccountingContract -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA