I_MemoRecord_2

DDL: I_MEMORECORD_2 Type: view_entity BASIC Package: FCLM_MR_IMP

Memo Record

I_MemoRecord_2 (Basic)

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

Financial Operations

I_MemoRecord_2 is a Basic CDS View that provides data about "Memo Record" in SAP S/4HANA. It reads from 1 data source (fclm_mmrd) and exposes 69 fields with key field MemoRecord. It has 20 associations to related views. Part of development package FCLM_MR_IMP.

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 →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CLM-2CL
CapabilitiesData Source for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)Yes
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>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.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the memo records for a specific memo record category or type?</p></li> <li><p>What is the total amount of memo records for a specific company code?</p></li> <li><p>What are the memo records associated with a specific bank account?</p></li> </ul> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
fclm_mmrd Memorecord from

Associations (20)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = Memorecord.company_code
[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..1] I_BankAccount _OffsetBankAccount $projection.MemoRecdOffstgBkAcctInternalID = _OffsetBankAccount.BankAccountInternalID
[0..1] I_CompanyCode _OffsetCompanyCode $projection.MemoRecdOffsettingCompanyCode = _OffsetCompanyCode.CompanyCode
[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_GLAccountInCompanyCode _GLAccountInCompanyCode $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount
[0..*] I_GrantText _GrantText $projection.GrantID = _GrantText.GrantID
[0..*] I_MemoRecordBalDteDimnText _BalDteDimnText $projection.MemoRecordBalanceDateDimension = _BalDteDimnText.MemoRecordBalanceDateDimension
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_StatisticalItemText _StatisticalItemText $projection.MemoRecordStatisticsIndicator = _StatisticalItemText.MemoRecordStatisticItem
[0..*] I_BankAccountText _BankAccountText $projection.BankAccountInternalID = _BankAccountText.BankAccountInternalID
[0..*] I_BankAccountText _OffstgBankAccountText $projection.MemoRecdOffstgBkAcctInternalID = _OffstgBankAccountText.BankAccountInternalID
[0..*] I_GlAccountTextInCompanycode _GLAccountTextInCompanyCode $projection.CompanyCode = _GLAccountTextInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountTextInCompanyCode.GLAccount
[1..1] E_MemoRecord _Extension $projection.MemoRecord = _Extension.MemoRecord

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
EndUserText.label Memo Record view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix MMS view
AbapCatalog.extensibility.quota.maximumFields 350 view
AbapCatalog.extensibility.quota.maximumBytes 10000 view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY MemoRecord fclm_mmrd document_id Memo Record Document ID
MemoRecordDescription fclm_mmrd description Memo Record Description
CompanyCode fclm_mmrd company_code Company Code
MemoRecordCategory fclm_mmrd category Memo Record Category
MemoRecordType fclm_mmrd planning_type Memo Record Type
PlanningLevel fclm_mmrd planning_level Planning Level
MemoRecordBalanceDateDimension fclm_mmrd date_dimension Date Dimension
TransactionDate fclm_mmrd transaction_date Memo Record Value Date
MemoRecordExpirationDateTime fclm_mmrd expiration_datetime Expiration Time
MemoRecordStatus_2 fclm_mmrd status Memo Record Status
MemoRecordStatus fclm_mmrd status Memo Record Status
BankAccountInternalID fclm_mmrd acc_id Bank Account Technical ID
AmountInTransactionCurrency fclm_mmrd amount_in_transaction_currency Amount in Transaction Currency
TransactionCurrency fclm_mmrd transaction_currency Transaction Currency
AmountInCompanyCodeCurrency fclm_mmrd amount_in_company_code_curr Amount in Company Code Currency
CompanyCodeCurrency fclm_mmrd company_code_currency Company Code Currency
CashFlowReconciliationBundle fclm_mmrd source_rcn_bndl Cash Flow Reconciliation Bundle
CashPlanningGroup fclm_mmrd planning_group Planning group
LiquidityItem fclm_mmrd liquidity_item Liquidity Item
BankStatementShortID fclm_mmrd kukey Bank Statement Short Key
BankStatementItem fclm_mmrd esnum Line Item Number
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 Indicator
MemoRecordCharacteristic fclm_mmrd characteristics Characteristics
MemoRecordInternalReference fclm_mmrd refer Reference
BankStatementDate fclm_mmrd azdat Statement Date
MemoRecordChannel fclm_mmrd channel Memo Record Channel
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 Last Changed By User
CreationDateTime fclm_mmrd created_at Creation Date Time
LastChangeDateTime fclm_mmrd changed_at Last Change Date Time
LocalLastChangeDateTime fclm_mmrd local_changed_at Local Instance Last Change Date Time
HouseBank fclm_mmrd hbkid House Bank Key
HouseBankAccount fclm_mmrd hktid House Bank Account
PostingDate fclm_mmrd posting_date Posting Date
GLAccount fclm_mmrd gl_account G/L Account
MemoRecordImport fclm_mmrd memorecordimportid Memo Record Import ID
MemoRecordIsLeadingDocument fclm_mmrd is_leading_doc Memo Record Is Leading Document
MemoRecdOffsettingCompanyCode fclm_mmrd offset_company_code Memo Record Offsetting Company Code
MemoRecordOffsettingHouseBank fclm_mmrd offset_hbkid Memo Record Offsetting House Bank
MemoRecdOffstgHouseBankAccount fclm_mmrd offset_hktid Memo Record Offsetting House Bank Account
MemoRecordPairingReason fclm_mmrd pairing_reason Memo Record Pairing Reason
MemoRecdOffstgBkAcctInternalID fclm_mmrd offset_acc_id Memo Record Offsetting Bank Account Technical ID
OffsettingMemoRecord fclm_mmrd offset_doc_id Offsetting Memo Record Document ID
MemoRecdOffstgTransactionDate fclm_mmrd offset_transaction_date Memo Record Offsetting Value Date
_Currency _Currency
_CompanyCode _CompanyCode
_BankAccount _BankAccount
_OffsetBankAccount _OffsetBankAccount
_OffsetCompanyCode _OffsetCompanyCode
_GLAccountInCompanyCode _GLAccountInCompanyCode
_MemoRecordStatusText _MemoRecordStatusText
_MemoRecordCategoryText _MemoRecordCategoryText
_MemoRecordTypeText _MemoRecordTypeText
_PlanningLevelText _PlanningLevelText
_CashPlanningGroupText _CashPlanningGroupText
_LiquidityItemText _LiquidityItemText
_BalDteDimnText _BalDteDimnText
_GrantText _GrantText
_BusinessAreaText _BusinessAreaText
_StatisticalItemText _StatisticalItemText
_BankAccountText _BankAccountText
_OffstgBankAccountText _OffstgBankAccountText
_GLAccountTextInCompanyCode _GLAccountTextInCompanyCode

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.

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.date_dimension AS MemoRecordBalanceDateDimension,
  Memorecord.transaction_date AS TransactionDate,
  Memorecord.expiration_datetime AS MemoRecordExpirationDateTime,
  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.amount_in_company_code_curr AS AmountInCompanyCodeCurrency,
  Memorecord.company_code_currency AS CompanyCodeCurrency,
  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 MemoRecordCharacteristic,
  Memorecord.refer AS MemoRecordInternalReference,
  Memorecord.azdat AS BankStatementDate,
  Memorecord.channel AS MemoRecordChannel,
  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.posting_date AS PostingDate,
  Memorecord.gl_account AS GLAccount,
  Memorecord.memorecordimportid AS MemoRecordImport,
  Memorecord.is_leading_doc AS MemoRecordIsLeadingDocument,
  Memorecord.offset_company_code AS MemoRecdOffsettingCompanyCode,
  Memorecord.offset_hbkid AS MemoRecordOffsettingHouseBank,
  Memorecord.offset_hktid AS MemoRecdOffstgHouseBankAccount,
  Memorecord.pairing_reason AS MemoRecordPairingReason,
  Memorecord.offset_acc_id AS MemoRecdOffstgBkAcctInternalID,
  Memorecord.offset_doc_id AS OffsettingMemoRecord,
  Memorecord.offset_transaction_date AS MemoRecdOffstgTransactionDate
FROM fclm_mmrd AS Memorecord
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = Memorecord.company_code  -- association [0..1]
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_BankAccount AS _OffsetBankAccount ON MemoRecdOffstgBkAcctInternalID = _OffsetBankAccount.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _OffsetCompanyCode ON MemoRecdOffsettingCompanyCode = _OffsetCompanyCode.CompanyCode  -- 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_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GrantText AS _GrantText ON GrantID = _GrantText.GrantID  -- association [0..*]
LEFT OUTER JOIN I_MemoRecordBalDteDimnText AS _BalDteDimnText ON MemoRecordBalanceDateDimension = _BalDteDimnText.MemoRecordBalanceDateDimension  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- 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..*]
LEFT OUTER JOIN I_BankAccountText AS _OffstgBankAccountText ON MemoRecdOffstgBkAcctInternalID = _OffstgBankAccountText.BankAccountInternalID  -- association [0..*]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _GLAccountTextInCompanyCode ON CompanyCode = _GLAccountTextInCompanyCode.CompanyCode AND GLAccount = _GLAccountTextInCompanyCode.GLAccount  -- association [0..*]
LEFT OUTER JOIN E_MemoRecord AS _Extension ON MemoRecord = _Extension.MemoRecord  -- association [1..1]
;