I_RevnAcctgReconciliationKey

DDL: I_REVNACCTGRECONCILIATIONKEY Type: view_entity BASIC Package: FARR_CONTRACT_CDS

Revenue Accounting Reconciliation Key

I_RevnAcctgReconciliationKey (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_RevnAcctgReconciliationKey is a Basic CDS View (Dimension) that provides data about "Revenue Accounting Reconciliation Key" in SAP S/4HANA. It reads from 1 data source (farr_d_recon_key) and exposes 27 fields with key fields CompanyCode, AccountingPrinciple, RevenueAccountingContract, RevnAcctgReconciliationKey. It has 6 associations to related views. Part of development package FARR_CONTRACT_CDS.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-RA-2CL
CapabilitiesAssociation Target for Defining CDS Entities,Data Source for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>What is the reconciliation key status for a specific reconciliation key that belongs to a contract? </p> </li> <li> <p>What is the fiscal year period of a reconciliation key?</p> </li> <li> <p>What is the run id for each reconciliation key?</p> </li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
farr_d_recon_key farr_d_recon_key from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_RevenueAccountingContract _RevenueAccountingContract $projection.RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_AccountingPrinciple _AccountingPrinciple $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple
[1..1] I_RAReconciliationKeyStatus _RAReconciliationKeyStatus $projection.RevnAcctgRecnclnKeyStatus = _RAReconciliationKeyStatus.RevnAcctgRecnclnKeyStatus
[1..1] I_User _ChangedByUser $projection.RARecnclnKeyChangedByUser = _ChangedByUser.UserID
[1..1] I_User _CreatedByUser $projection.RARecnclnKeyCreatedByUser = _CreatedByUser.UserID

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IRARCNCLTNKEY view
EndUserText.label Revenue Accounting Reconciliation Key view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey RevnAcctgReconciliationKey view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode company_code Company Code
KEY AccountingPrinciple acct_principle Accounting Principle
KEY RevenueAccountingContract Revenue Contract
KEY RevnAcctgReconciliationKey recon_key Reconciliation Key for a Contract in a Revenue Acctg. Period
FiscalYearPeriod
FiscalYear gjahr Settlement Year
FiscalPeriod poper Posting periods
RevnAcctgRecnclnKeyStatus status Status of Revenue Reconciliation Key
RAProspectiveSplitDate pro_split_date Prospective split date
RARecnclnKeyRunID runid Posting Service Run ID
RAParallelizationSubareaValue keypp Subarea for Parallelization
RARecnclnKeyCreatedByUser created_by Name of Person Responsible for Creating the Object
RARecnclnKeyCreationDateTime created_on UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
RARecnclnKeyChangedByUser last_changed_by Name of Person Who Changed Object
RARecnclnKeyLastChangeDateTime last_changed_on UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
RAContrLiabilityAssetIsCalcd liab_asset_flag Posting Job Includes Contract Liabilities/Assets
ContrLiabilityAssetValueDate value_date Value date
OriginalReferenceDocumentType awtyp Reference Document Type
ReferenceDocumentLogicalSystem awsys Logical System of Source Document
ReferenceDocumentContext aworg Reference Organizational Units
ReferenceDocument awref Reference Doc. Number
_RevenueAccountingContract _RevenueAccountingContract
_CompanyCode _CompanyCode
_AccountingPrinciple _AccountingPrinciple
_RAReconciliationKeyStatus _RAReconciliationKeyStatus
_ChangedByUser _ChangedByUser
_CreatedByUser _CreatedByUser

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 I_RevnAcctgReconciliationKey.
-- 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 I_RevnAcctgReconciliationKey AS
SELECT
  company_code AS CompanyCode,
  acct_principle AS AccountingPrinciple,
  cast(contract_id as farr_cds_contract_id preserving type) AS RevenueAccountingContract,
  recon_key AS RevnAcctgReconciliationKey,
  substring(recon_key, 1, 7) AS FiscalYearPeriod,
  gjahr AS FiscalYear,
  poper AS FiscalPeriod,
  status AS RevnAcctgRecnclnKeyStatus,
  pro_split_date AS RAProspectiveSplitDate,
  runid AS RARecnclnKeyRunID,
  keypp AS RAParallelizationSubareaValue,
  created_by AS RARecnclnKeyCreatedByUser,
  created_on AS RARecnclnKeyCreationDateTime,
  last_changed_by AS RARecnclnKeyChangedByUser,
  last_changed_on AS RARecnclnKeyLastChangeDateTime,
  liab_asset_flag AS RAContrLiabilityAssetIsCalcd,
  value_date AS ContrLiabilityAssetValueDate,
  awtyp AS OriginalReferenceDocumentType,
  awsys AS ReferenceDocumentLogicalSystem,
  aworg AS ReferenceDocumentContext,
  awref AS ReferenceDocument
FROM farr_d_recon_key
LEFT OUTER JOIN I_RevenueAccountingContract AS _RevenueAccountingContract ON RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple  -- association [1..1]
LEFT OUTER JOIN I_RAReconciliationKeyStatus AS _RAReconciliationKeyStatus ON RevnAcctgRecnclnKeyStatus = _RAReconciliationKeyStatus.RevnAcctgRecnclnKeyStatus  -- association [1..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON RARecnclnKeyChangedByUser = _ChangedByUser.UserID  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON RARecnclnKeyCreatedByUser = _CreatedByUser.UserID  -- association [1..1]
;