I_MemoRecord_2

DDL: I_MEMORECORD_2 SQL: IMMRD2 Type: view BASIC

Memo Record

I_MemoRecord_2 is a Basic CDS View that provides data about "Memo Record" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, fclm_mmrd) and exposes 56 fields with key field MemoRecord. It has 16 associations to related views.

SAP Help Documentation

CategoryCDS Views for Cash and Liquidity Management
StatusMemo Record Status
Purpose
This CDS view helps you retrieve detailed information about memo records in your system. This view works only for memo records 2.0. It includes fields such as memo record ID, description, amount, company code, memo record category, memo record type, and various attributes related to the memo record. Memo records are used to record planned or expected cash flows for purposes such as cash positioning, planning, and cash flow reconciliation. This CDS view provides the data to answer the following business questions: What are the memo records for a specific memo record category or type? What is the total amount of memo records for a specific company code? What are the memo records associated with a specific bank account? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: F_CLM_MR These restriction types are edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Description COMPANYCODECURRENCY Company Code Currency LASTCHANGEDATE Changed On BANKACCOUNTINTERNALID Bank Account ID TRANSACTIONDATE Value Date MEMORECORDEXPIRATIONDATETIME Expiration Time BANKSTATEMENTDATE Statement Date MEMORECDOFFSTGTRANSACTIONDATE Offsetting Value Date MEMORECDOFFSTGBKACCTINTERNALID Offsetting Bank Account ID CASHFLOWRECONCILIATIONBUNDLE Reconciliation Bundle MEMORECORDIMPORT Memo Record Import ID OFFSETTINGMEMORECORD Offsetting Memo Record ID MEMORECORD Memo Record ID LASTCHANGEDATETIME Changed At CREATIONDATETIME Created At GLACCOUNT G/L Account PROFITCENTER Profit Center GRANTID Grant LIQUIDITYITEM Liquidity Item CASHPLANNINGGROUP Planning Group BANKSTATEMENTSHORTID Statement Short Key BANKSTATEMENTITEM Line Item Number AMOUNTINTRANSACTIONCURRENCY Amount in Transaction Currency AMOUNTINCOMPANYCODECURRENCY Amount in Company Code Currency TRANSACTIONCURRENCY Transaction Currency CREATEDBYUSER Created By BUSINESSAREA Business Area FUND Fund HOUSEBANK House Bank HOUSEBANKACCOUNT House Bank Account PLANNINGLEVEL Planning Level MEMORECDOFFSETTINGCOMPANYCODE Offsetting Company Code MEMORECORDTYPE Memo Record Type LASTCHANGEBYUSER Changed By MEMORECORDDESCRIPTION Description MEMORECDOFFSTGHOUSEBANKACCOUNT Offsetting House Bank Account MEMORECORDOFFSETTINGHOUSEBANK Offsetting House Bank MEMORECORDINTERNALREFERENCE Reference MEMORECORDCHARACTERISTIC Characteristics COMPANYCODE Company Code MEMORECORDSTATUS_2 Memo Record Status MEMORECORDSTATISTICSINDICATOR Statistics Indicator MEMORECORDISLEADINGDOCUMENT Is Leading Document MEMORECORDCHANNEL Memo Record Channel MEMORECORDCATEGORY Memo Record Category POSTINGDATE Posting Date CREATIONDATE Created On

View on SAP Help Portal →

Data Sources (2)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
fclm_mmrd Memorecord from

Associations (16)

CardinalityTargetAliasCondition
[0..*] I_MemoRecordCategoryText _MemoRecordCategoryText $projection.MemoRecordCategory = _MemoRecordCategoryText.MemoRecordCategory
[0..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[0..1] I_BankAccount _BankAccount $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID
[0..*] I_MemoRecordStatusText_2 _MemoRecordStatusText $projection.MemoRecordStatus_2 = _MemoRecordStatusText.MemoRecordStatus_2
[0..*] I_MemoRecordTypeText _MemoRecordTypeText $projection.MemoRecordType = _MemoRecordTypeText.MemoRecordType
[0..*] I_PlanningLevelText _PlanningLevelText $projection.PlanningLevel = _PlanningLevelText.PlanningLevel
[0..*] I_CashPlanningGroupText _CashPlanningGroupText $projection.CashPlanningGroup = _CashPlanningGroupText.CashPlanningGroup
[0..*] I_LiquidityItemText _LiquidityItemText $projection.LiquidityItem = _LiquidityItemText.LiquidityItem
[0..1] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.TransactionDate <= _ProfitCenter.ValidityEndDate and $projection.TransactionDate >= _ProfitCenter.ValidityStartDate
[0..*] I_ProfitCenterText _ProfitCenterText $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProfitCenterValidityEndDate = _ProfitCenterText.ValidityEndDate
[0..*] I_FundText _FundText $projection.Fund = _FundText.Fund and $projection.FinancialManagementArea = _FundText.FinancialManagementArea
[0..*] I_GrantText _GrantText $projection.GrantID = _GrantText.GrantID
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_FinancialInstrCharcText _FinancialInstrCharcText $projection.FinancialInstrCharacteristic = _FinancialInstrCharcText.FinancialInstrCharacteristic
[0..*] I_StatisticalItemText _StatisticalItemText $projection.MemoRecordStatisticsIndicator = _StatisticalItemText.MemoRecordStatisticItem
[0..*] I_BankAccountText _BankAccountText $projection.BankAccountInternalID = _BankAccountText.BankAccountInternalID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IMMRD2 view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Memo Record view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY MemoRecord fclm_mmrd document_id Snapshot ID
MemoRecordDescription fclm_mmrd description Well Code Des.
CompanyCode fclm_mmrd company_code Company Code
MemoRecordCategory fclm_mmrd category Violation Category
MemoRecordType fclm_mmrd planning_type Memo Recd Type
PlanningLevel fclm_mmrd planning_level Planning Level
TransactionDate fclm_mmrd transaction_date Value Date
ExpirationDate fclm_mmrd expiration_date Valid To
MemoRecordStatus_2 fclm_mmrd status Workflow Status
MemoRecordStatus fclm_mmrd status Workflow Status
BankAccountInternalID fclm_mmrd acc_id Technical ID
AmountInTransactionCurrency fclm_mmrd amount_in_transaction_currency Transaction Amount
TransactionCurrency fclm_mmrd transaction_currency Transaction Currency
CashFlowReconciliationBundle fclm_mmrd source_rcn_bndl Reconciliation Bundle
CashPlanningGroup fclm_mmrd planning_group Planning group
LiquidityItem fclm_mmrd liquidity_item Liquidity Item
BankStatementShortID fclm_mmrd kukey Statement Short Key
BankStatementItem fclm_mmrd esnum Memo Record No.
ProfitCenter fclm_mmrd profit_center Profit Center
Fund fclm_mmrd fund Sender Fund
GrantID fclm_mmrd grant_nbr Receiver Grant
BusinessArea fclm_mmrd business_area Business Area
MemoRecordStatisticsIndicator fclm_mmrd statistics_indicator Statistics Ind.
FinancialInstrCharacteristic fclm_mmrd characteristics Characteristics
MemoRecordChannel fclm_mmrd channel Memo Record Channel
ControllingArea I_CompanyCode ControllingArea Controlling Area
FinancialManagementArea I_CompanyCode FinancialManagementArea FM Area
CompanyCodeName I_CompanyCode CompanyCodeName Company Name
CreationDate fclm_mmrd created_on Variant created on
LastChangeDate fclm_mmrd changed_on Variant Changed on
CreatedByUser fclm_mmrd created_by Version Created By
LastChangeByUser fclm_mmrd changed_by User Name
CreationDateTime fclm_mmrd created_at Uploaded On
LastChangeDateTime fclm_mmrd changed_at Timestamp
LocalLastChangeDateTime fclm_mmrd local_changed_at Changed On
HouseBank fclm_mmrd hbkid House Bank
HouseBankAccount fclm_mmrd hktid House Bank Account
MemoRecordImport fclm_mmrd memorecordimportid Memo Record Import ID
ProfitCenterValidityEndDate _ProfitCenter ValidityEndDate ValidTo
_ControllingArea I_CompanyCode _ControllingArea
_Currency _Currency
_BankAccount _BankAccount
_MemoRecordStatusText _MemoRecordStatusText
_MemoRecordCategoryText _MemoRecordCategoryText
_MemoRecordTypeText _MemoRecordTypeText
_PlanningLevelText _PlanningLevelText
_CashPlanningGroupText _CashPlanningGroupText
_LiquidityItemText _LiquidityItemText
_ProfitCenterText _ProfitCenterText
_FundText _FundText
_GrantText _GrantText
_ProfitCenter _ProfitCenter
_BusinessAreaText _BusinessAreaText
_FinancialInstrCharcText _FinancialInstrCharcText
_StatisticalItemText _StatisticalItemText
_BankAccountText _BankAccountText

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_MemoRecord_2.
-- 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.
-- SQL view name: IMMRD2

CREATE VIEW I_MemoRecord_2 AS
SELECT
  Memorecord.document_id AS MemoRecord,
  Memorecord.description AS MemoRecordDescription,
  Memorecord.company_code AS CompanyCode,
  Memorecord.category AS MemoRecordCategory,
  Memorecord.planning_type AS MemoRecordType,
  Memorecord.planning_level AS PlanningLevel,
  Memorecord.transaction_date AS TransactionDate,
  Memorecord.expiration_date AS ExpirationDate,
  Memorecord.status AS MemoRecordStatus_2,
  Memorecord.status AS MemoRecordStatus,
  Memorecord.acc_id AS BankAccountInternalID,
  Memorecord.amount_in_transaction_currency AS AmountInTransactionCurrency,
  Memorecord.transaction_currency AS TransactionCurrency,
  Memorecord.source_rcn_bndl AS CashFlowReconciliationBundle,
  Memorecord.planning_group AS CashPlanningGroup,
  Memorecord.liquidity_item AS LiquidityItem,
  Memorecord.kukey AS BankStatementShortID,
  Memorecord.esnum AS BankStatementItem,
  Memorecord.profit_center AS ProfitCenter,
  Memorecord.fund AS Fund,
  Memorecord.grant_nbr AS GrantID,
  Memorecord.business_area AS BusinessArea,
  Memorecord.statistics_indicator AS MemoRecordStatisticsIndicator,
  Memorecord.characteristics AS FinancialInstrCharacteristic,
  Memorecord.channel AS MemoRecordChannel,
  CompanyCode.ControllingArea AS ControllingArea,
  CompanyCode.FinancialManagementArea AS FinancialManagementArea,
  CompanyCode.CompanyCodeName AS CompanyCodeName,
  Memorecord.created_on AS CreationDate,
  Memorecord.changed_on AS LastChangeDate,
  Memorecord.created_by AS CreatedByUser,
  Memorecord.changed_by AS LastChangeByUser,
  Memorecord.created_at AS CreationDateTime,
  Memorecord.changed_at AS LastChangeDateTime,
  Memorecord.local_changed_at AS LocalLastChangeDateTime,
  Memorecord.hbkid AS HouseBank,
  Memorecord.hktid AS HouseBankAccount,
  Memorecord.memorecordimportid AS MemoRecordImport,
  _ProfitCenter.ValidityEndDate AS ProfitCenterValidityEndDate,
  CompanyCode._ControllingArea AS _ControllingArea
FROM fclm_mmrd AS Memorecord
INNER JOIN I_CompanyCode AS CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MemoRecordCategoryText AS _MemoRecordCategoryText ON MemoRecordCategory = _MemoRecordCategoryText.MemoRecordCategory  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_MemoRecordStatusText_2 AS _MemoRecordStatusText ON MemoRecordStatus_2 = _MemoRecordStatusText.MemoRecordStatus_2  -- association [0..*]
LEFT OUTER JOIN I_MemoRecordTypeText AS _MemoRecordTypeText ON MemoRecordType = _MemoRecordTypeText.MemoRecordType  -- association [0..*]
LEFT OUTER JOIN I_PlanningLevelText AS _PlanningLevelText ON PlanningLevel = _PlanningLevelText.PlanningLevel  -- association [0..*]
LEFT OUTER JOIN I_CashPlanningGroupText AS _CashPlanningGroupText ON CashPlanningGroup = _CashPlanningGroupText.CashPlanningGroup  -- association [0..*]
LEFT OUTER JOIN I_LiquidityItemText AS _LiquidityItemText ON LiquidityItem = _LiquidityItemText.LiquidityItem  -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea AND TransactionDate <= _ProfitCenter.ValidityEndDate AND TransactionDate >= _ProfitCenter.ValidityStartDate  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ProfitCenter = _ProfitCenterText.ProfitCenter AND ControllingArea = _ProfitCenterText.ControllingArea AND ProfitCenterValidityEndDate = _ProfitCenterText.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_FundText AS _FundText ON Fund = _FundText.Fund AND FinancialManagementArea = _FundText.FinancialManagementArea  -- association [0..*]
LEFT OUTER JOIN I_GrantText AS _GrantText ON GrantID = _GrantText.GrantID  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_FinancialInstrCharcText AS _FinancialInstrCharcText ON FinancialInstrCharacteristic = _FinancialInstrCharcText.FinancialInstrCharacteristic  -- association [0..*]
LEFT OUTER JOIN I_StatisticalItemText AS _StatisticalItemText ON MemoRecordStatisticsIndicator = _StatisticalItemText.MemoRecordStatisticItem  -- association [0..*]
LEFT OUTER JOIN I_BankAccountText AS _BankAccountText ON BankAccountInternalID = _BankAccountText.BankAccountInternalID  -- association [0..*]
;