I_MemoRecord

DDL: I_MEMORECORD SQL: IMEMORECORD Type: view BASIC

Basic View for Memo Record

I_MemoRecord is a Basic CDS View that provides data about "Basic View for Memo Record" in SAP S/4HANA. It reads from 1 data source (fqm_flow) and exposes 83 fields with key fields CashFlowID, ValidFrom.

Data Sources (1)

SourceAliasJoin Type
fqm_flow fqm_flow from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMEMORECORD view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View for Memo Record view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CashFlowID view
Metadata.allowExtensions true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY CashFlowID flow_id Flow ID
KEY ValidFrom valid_from Validity Start Time
ValidTo valid_to Validity End Time
OriginApplication origin_application Source Application
CashFlowCategory flow_category Flow Category
MemoRecord
OriginDocument origin_document_id Source Doc. ID
OriginFlowID origin_flow_id Source Flow ID
CompanyCode company_code Company Code
PlanningLevel planning_level Planning Level
TransactionDate transaction_date Value Date
ExpirationDate fi_due_date Due Date
CashPlanningGroup planning_group Planning group
LiquidityItem liquidity_item Liquidity Item
CreatedByUser create_user User Name
CreationDateTime create_timestamp Time Stamp
LastChangedByUser last_update_user Fqm Last Update User
LastChangeDateTime last_update_timestamp FQM Flow Update Time
BusinessArea business_area Business Area
ProfitCenter profit_center Profit Center
Fund fund Sender Fund
GrantID grant_nbr Receiver Grant
BankStatement
BankStatementDate Plan. Pymt Date2
BankStatementShortID
BankStatementItem cmm_bs_num_eb Memo Record No.
GLAccount fi_account G/L Acct
DocumentItemText fi_item_text Text
Segment segment Segment number
CashReleaseStatus rel_status Release Status
CertaintyLevel Certainty Level
MemoRecordInternalReference internal_reference Internal Ref.
MemoRecordStatisticItem cmm_statistics_indicator Statistics Ind.
BusinessPartner partner With Partner
FinancialInstrCharacteristic characteristics Characteristics
TransactionCurrency currency Valuation Crcy
LocalCurrency base_currency Currency
OffsettingAccount cmm_offset_account Offsetting acct
OffsettingCompanyCode assigned_company_code Company Code
OffsettingValueDate fi_value_date Value date
OffstgBankAccountInternalID cmm_offset_accid Offset.Bank Acc
OffsetBankAccountNumber cmm_offset_bank_account_number Account Number
OffsettingHouseBank cmm_offset_housebank House Bank
OffsettingHouseBankAccount cmm_offset_housebankaccount Account ID
CashCalendarTypeForFinInvmt cmm_calendar_type Calendar Type
MemoRecordInterestRate cmm_interest_rate Interest rate
MemoRecordExchangeRateType cmm_exchange_rate_type Exch. Rate Type
CashPaymentAdviceGroup cmm_payment_group ID number (grp)
CashPaymentAdvicePairingReason cmm_reason CM pairing
MemoRecordAssignment cmm_assignment_number Assignment
MemoRecordPlanningType cmm_planning_type Memo Recd Type
CashRequestStatus cashrequest_status Request Status
CashReqInstrCategory instrument_category Instrument Cat.
FollowingCurrency following_currency Following Crcy
AmountInFollowingCurrency amount_in_folcur Amount
TrsyTradedAmountBuySellCode buy_sell_indicator Buy/Sell
CashReqHasDocument flag_document Documents Available
FinancialInstrumentAssignment assignment Assignment
FinancialInstrumentReference internal_reference Internal Ref.
BankIdentification following_bankdetail Bank Details
CashRequestSubmittedByUser cashrequest_subimitted_by Submitted By
TermStartDate mmk_term_from_date Value date
TermEndDate mmk_term_to_date Value date
LoanTermStartDate mmk_max_term_from_date Value date
LoanTermEndDate mmk_max_term_to_date Value date
MemoRecordBorrowInvestCode mmk_invest_borrow Invest/Borrow
MemoRecordIsOffsettingFlow mmk_offset_flag Flag
CshTrdReqFXLeg1ValueDate fxsw_value_date_leg_1 Value Date
CshTrdReqFXLeg1ReqdAmtInTDC fxsw_requested_amount_leg_1 Requested Amount
CshTrdReqFXLeg1OpenAmtInTDC fxsw_open_traded_amount_leg_1 Open Amount
CshTrdReqFXLeg1TradedCurrency fxsw_traded_currency_leg_1 Requested Currency
CshTrdReqFXLeg1ReqdAmtInOTDC fxsw_opposite_amount_leg_1 Requested Opposite Amount (Forecasted)
CshTrdReqFXLeg1OpstTrddCrcy fxsw_opposite_currency_leg_1 Requested Opposite Currency
CshTrdReqFXLeg1SndgBkAcctIntID fxsw_sending_acc_id_leg_1 Sending Bank Account ID
CshTrdReqFXLeg1RcvgBkAcctIntID fxsw_receiving_acc_id_leg_1 Receiving Bank Account ID
CshTrdReqFXLeg2ValueDate fxsw_value_date_leg_2 Value Date (Leg 2)
CshTrdReqFXLeg2ReqdAmtInTDC fxsw_requested_amount_leg_2 Requested Amount (Leg 2)
CshTrdReqFXLeg2OpenAmtInTDC fxsw_open_traded_amount_leg_2 Open Amount (Leg 2)
CshTrdReqFXLeg2TradedCurrency fxsw_traded_currency_leg_2 Requested Currency
CshTrdReqFXLeg2ReqdAmtInOTDC fxsw_opposite_amount_leg_2 Requested Opp. Amt (Forecasted, Leg 2)
CshTrdReqFXLeg2OpstTrddCrcy fxsw_opposite_currency_leg_2 Requested Opposite Currency
CshTrdReqFXLeg2SndgBkAcctIntID fxsw_sending_acc_id_leg_2 Sending Bank Account ID (Leg 2)
CshTrdReqFXLeg2RcvgBkAcctIntID fxsw_receiving_acc_id_leg_2 Receiving Bank Account ID (Leg 2)

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.
-- 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: IMEMORECORD

CREATE VIEW I_MemoRecord AS
SELECT
  flow_id AS CashFlowID,
  valid_from AS ValidFrom,
  valid_to AS ValidTo,
  origin_application AS OriginApplication,
  flow_category AS CashFlowCategory,
  cast ( lpad(substring(origin_document_id,1,10),10,'0') as idenr) AS MemoRecord,
  origin_document_id AS OriginDocument,
  origin_flow_id AS OriginFlowID,
  company_code AS CompanyCode,
  planning_level AS PlanningLevel,
  transaction_date AS TransactionDate,
  fi_due_date AS ExpirationDate,
  planning_group AS CashPlanningGroup,
  liquidity_item AS LiquidityItem,
  create_user AS CreatedByUser,
  create_timestamp AS CreationDateTime,
  last_update_user AS LastChangedByUser,
  last_update_timestamp AS LastChangeDateTime,
  business_area AS BusinessArea,
  profit_center AS ProfitCenter,
  Fund,
  grant_nbr AS GrantID,
  cast ( substring(origin_transaction_id_rl,1,18) as aznum_lg_eb ) AS BankStatement,
  cast ( lp_planed_payment_date2 as azdat_eb ) AS BankStatementDate,
  cast ( lpad(substring(internal_reference,1,8),8,'0') as kukey_eb) AS BankStatementShortID,
  cmm_bs_num_eb AS BankStatementItem,
  fi_account AS GLAccount,
  fi_item_text AS DocumentItemText,
  Segment,
  rel_status AS CashReleaseStatus,
  cast( certainty_level as fclm_mm_certainty_level ) AS CertaintyLevel,
  internal_reference AS MemoRecordInternalReference,
  cmm_statistics_indicator AS MemoRecordStatisticItem,
  partner AS BusinessPartner,
  characteristics AS FinancialInstrCharacteristic,
  currency AS TransactionCurrency,
  base_currency AS LocalCurrency,
  cmm_offset_account AS OffsettingAccount,
  assigned_company_code AS OffsettingCompanyCode,
  fi_value_date AS OffsettingValueDate,
  cmm_offset_accid AS OffstgBankAccountInternalID,
  cmm_offset_bank_account_number AS OffsetBankAccountNumber,
  cmm_offset_housebank AS OffsettingHouseBank,
  cmm_offset_housebankaccount AS OffsettingHouseBankAccount,
  cmm_calendar_type AS CashCalendarTypeForFinInvmt,
  cmm_interest_rate AS MemoRecordInterestRate,
  cmm_exchange_rate_type AS MemoRecordExchangeRateType,
  cmm_payment_group AS CashPaymentAdviceGroup,
  cmm_reason AS CashPaymentAdvicePairingReason,
  cmm_assignment_number AS MemoRecordAssignment,
  cmm_planning_type AS MemoRecordPlanningType,
  cashrequest_status AS CashRequestStatus,
  instrument_category AS CashReqInstrCategory,
  following_currency AS FollowingCurrency,
  amount_in_folcur AS AmountInFollowingCurrency,
  buy_sell_indicator AS TrsyTradedAmountBuySellCode,
  flag_document AS CashReqHasDocument,
  assignment AS FinancialInstrumentAssignment,
  internal_reference AS FinancialInstrumentReference,
  following_bankdetail AS BankIdentification,
  cashrequest_subimitted_by AS CashRequestSubmittedByUser,
  mmk_term_from_date AS TermStartDate,
  mmk_term_to_date AS TermEndDate,
  mmk_max_term_from_date AS LoanTermStartDate,
  mmk_max_term_to_date AS LoanTermEndDate,
  mmk_invest_borrow AS MemoRecordBorrowInvestCode,
  mmk_offset_flag AS MemoRecordIsOffsettingFlow,
  fxsw_value_date_leg_1 AS CshTrdReqFXLeg1ValueDate,
  fxsw_requested_amount_leg_1 AS CshTrdReqFXLeg1ReqdAmtInTDC,
  fxsw_open_traded_amount_leg_1 AS CshTrdReqFXLeg1OpenAmtInTDC,
  fxsw_traded_currency_leg_1 AS CshTrdReqFXLeg1TradedCurrency,
  fxsw_opposite_amount_leg_1 AS CshTrdReqFXLeg1ReqdAmtInOTDC,
  fxsw_opposite_currency_leg_1 AS CshTrdReqFXLeg1OpstTrddCrcy,
  fxsw_sending_acc_id_leg_1 AS CshTrdReqFXLeg1SndgBkAcctIntID,
  fxsw_receiving_acc_id_leg_1 AS CshTrdReqFXLeg1RcvgBkAcctIntID,
  fxsw_value_date_leg_2 AS CshTrdReqFXLeg2ValueDate,
  fxsw_requested_amount_leg_2 AS CshTrdReqFXLeg2ReqdAmtInTDC,
  fxsw_open_traded_amount_leg_2 AS CshTrdReqFXLeg2OpenAmtInTDC,
  fxsw_traded_currency_leg_2 AS CshTrdReqFXLeg2TradedCurrency,
  fxsw_opposite_amount_leg_2 AS CshTrdReqFXLeg2ReqdAmtInOTDC,
  fxsw_opposite_currency_leg_2 AS CshTrdReqFXLeg2OpstTrddCrcy,
  fxsw_sending_acc_id_leg_2 AS CshTrdReqFXLeg2SndgBkAcctIntID,
  fxsw_receiving_acc_id_leg_2 AS CshTrdReqFXLeg2RcvgBkAcctIntID
FROM fqm_flow
;