I_REJournalEntryValnObjMapping

DDL: I_REJOURNALENTRYVALNOBJMAPPING Type: view_entity COMPOSITE

RE Mapping between Journal Entry and Valuation Object

I_REJournalEntryValnObjMapping is a Composite CDS View that provides data about "RE Mapping between Journal Entry and Valuation Object" in SAP S/4HANA. It reads from 5 data sources (I_JournalEntryItem, I_RECondition, I_REDocumentHeader, I_REDocumentItem, I_REValuationCashFlow) and exposes 15 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 5 associations to related views.

Data Sources (5)

SourceAliasJoin Type
I_JournalEntryItem _JournalEntryItem from
I_RECondition _RECondition inner
I_REDocumentHeader _REDocumentHeader inner
I_REDocumentItem _REDocumentItem inner
I_REValuationCashFlow _REValuationCashFlow inner

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_REServiceGroup _REServiceGroup _RECondition.REStatusObjectCalculation = _REServiceGroup.REStatusObject
[0..1] I_REContractSubject _REContractSubject _RECondition.REStatusObjectCalculation = _REContractSubject.REStatusObject
[0..1] I_REIntegrationObjectBasicData _REIntegrationObject _RECondition.REStatusObjectCalculation = _REIntegrationObject.REStatusObject
[0..1] I_REFlowType _REFlowType _REValuationCashFlow.REFlowType = _REFlowType.REFlowType
[0..1] I_REConditionType _REConditionType _REValuationCashFlow.REConditionType = _REConditionType.REConditionType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label RE Mapping between Journal Entry and Valuation Object view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JournalEntryItem CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntryItem FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntryItem AccountingDocument Journal Entry
KEY LedgerGLLineItem I_JournalEntryItem LedgerGLLineItem Journal Entry Item
REFlowType I_REValuationCashFlow REFlowType Update Type
REConditionType I_REValuationCashFlow REConditionType Condition Type
REStatusObject I_RECondition REStatusObjectCalculation
RealEstateServiceGroupNumber _REServiceGroup RealEstateServiceGroupNumber Service Group
REIntegrationObjectNumber _REIntegrationObject REIntegrationObjectNumber
REContractSubjectNumber _REContractSubject REContractSubjectNumber Contract Object Number
_REContractSubject _REContractSubject
_REIntegrationObject _REIntegrationObject
_REServiceGroup _REServiceGroup
_REConditionType _REConditionType
_REFlowType _REFlowType

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_REJournalEntryValnObjMapping.
-- 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_REJournalEntryValnObjMapping AS
SELECT
  _JournalEntryItem.CompanyCode AS CompanyCode,
  _JournalEntryItem.FiscalYear AS FiscalYear,
  _JournalEntryItem.AccountingDocument AS AccountingDocument,
  _JournalEntryItem.LedgerGLLineItem AS LedgerGLLineItem,
  _REValuationCashFlow.REFlowType AS REFlowType,
  _REValuationCashFlow.REConditionType AS REConditionType,
  _RECondition.REStatusObjectCalculation AS REStatusObject,
  _REServiceGroup.RealEstateServiceGroupNumber AS RealEstateServiceGroupNumber,
  _REIntegrationObject.REIntegrationObjectNumber AS REIntegrationObjectNumber,
  _REContractSubject.REContractSubjectNumber AS REContractSubjectNumber
FROM I_JournalEntryItem AS _JournalEntryItem
INNER JOIN I_REDocumentHeader AS _REDocumentHeader ON /* join condition not captured in parsed metadata */
INNER JOIN I_REDocumentItem AS _REDocumentItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_REValuationCashFlow AS _REValuationCashFlow ON /* join condition not captured in parsed metadata */
INNER JOIN I_RECondition AS _RECondition ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_REServiceGroup AS _REServiceGroup ON _RECondition.REStatusObjectCalculation = _REServiceGroup.REStatusObject  -- association [0..1]
LEFT OUTER JOIN I_REContractSubject AS _REContractSubject ON _RECondition.REStatusObjectCalculation = _REContractSubject.REStatusObject  -- association [0..1]
LEFT OUTER JOIN I_REIntegrationObjectBasicData AS _REIntegrationObject ON _RECondition.REStatusObjectCalculation = _REIntegrationObject.REStatusObject  -- association [0..1]
LEFT OUTER JOIN I_REFlowType AS _REFlowType ON _REValuationCashFlow.REFlowType = _REFlowType.REFlowType  -- association [0..1]
LEFT OUTER JOIN I_REConditionType AS _REConditionType ON _REValuationCashFlow.REConditionType = _REConditionType.REConditionType  -- association [0..1]
;