C_RecmddLiquidityItem

DDL: C_RECMDDLIQUIDITYITEM SQL: CRECMDDLQYITM Type: view CONSUMPTION Package: FCLM_ALI

Check Assigned Liquidity Items

C_RecmddLiquidityItem is a Consumption CDS View that provides data about "Check Assigned Liquidity Items" in SAP S/4HANA. It reads from 1 data source (P_RecLiquidityItem) and exposes 51 fields with key fields OriginSystem, OriginApplication, OriginDocument, OriginTransaction, OriginTransactionQualifier. It has 13 associations to related views. Part of development package FCLM_ALI.

Data Sources (1)

SourceAliasJoin Type
P_RecLiquidityItem P_RecLiquidityItem from

Associations (13)

CardinalityTargetAliasCondition
[1..1] I_CompanyCodeStdVH _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_PlanningLevel _PlanningLevel $projection.PlanningLevel = _PlanningLevel.PlanningLevel
[0..1] I_PlanningGroup _PlanningGroup $projection.CashPlanningGroup = _PlanningGroup.CashPlanningGroup
[0..1] I_LiquidityItem _RecommendedLiquidityItem $projection.RecommendedLiquidityItem = _RecommendedLiquidityItem.LiquidityItem
[0..1] I_LiquidityItem _LiquidityItem $projection.LiquidityItem = _LiquidityItem.LiquidityItem
[0..1] I_BankAccount _BankAccount $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID
[0..1] I_GlAccountTextInCompanycode _GLAccountText $projection.CompanyCode = _GLAccountText.CompanyCode and $projection.GLAccount = _GLAccountText.GLAccount and _GLAccountText.Language = $session.system_language
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_Partnercompany _Partnercompany $projection.PartnerCompany = _Partnercompany.PartnerCompany
[0..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language
[0..1] I_PlanningLevelText _PlanningLevelText $projection.PlanningLevel = _PlanningLevelText.PlanningLevel and _PlanningLevelText.Language = $session.system_language

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CRECMDDLQYITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Check Assigned Liquidity Items view
VDM.viewType #CONSUMPTION view
Search.searchable false view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
UI.headerInfo.typeName Cash Flows view
UI.headerInfo.typeNamePlural Cash Flows view
UI.headerInfo.title.label Adjust Assigned Liquidity Items view
UI.headerInfo.title.value ReferenceDocument view
UI.headerInfo.description.value OriginApplicationDescription view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem flow OriginSystem LogSys: Formula
KEY OriginApplication flow OriginApplication Origin Application
KEY OriginDocument flow OriginDocument
KEY OriginTransaction flow OriginTransaction
KEY OriginTransactionQualifier flow OriginTransactionQualifier
KEY CashFlow flow CashFlow
CompanyCode flow CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
TransactionDate flow TransactionDate Value Date
LiquidityItem flow LiquidityItem Assigned Liquidity Item
LiquidityItemName
RecommendedLiquidityItem flow RecommendedLiquidityItem Proposed Liquidity Item
RecommendedLiquidityItemName
DifferentLiquidityItem flow DifferentLiquidityItem Different from Assigned
LiquidityItemConfidenceRate flow LiquidityItemConfidenceRate ProposedLiquidItem with Confidence Level
AmountInTransactionCurrency flow AmountInTransactionCurrency Amount in Transaction Currency
Currency flow Currency Transaction Currency
OriginDocumentendasReferenceDocument Document Number
DocumentItemText flow DocumentItemText Document Number Text
Bank _BankAccount Bank Bank
BankName
BankAccountInternalID flow BankAccountInternalID Bank Account ID
BankAccountNumber _BankAccount BankAccountNumber Bank Account Number
BankAccountDescription
HouseBank flow HouseBank House Bank
HouseBankAccount flow HouseBankAccount House Bank Account
GLAccount flow GLAccount G/L Account
GLAccountName _GLAccountText GLAccountName Short Text
CashPlanningGroup flow CashPlanningGroup Planning Group
CashPlanningGroupName
PlanningLevel flow PlanningLevel Planning Level
CostCenter flow CostCenter Cost Center
ProfitCenter flow ProfitCenter Profit Center
BusinessPartner flow BusinessPartner Business Partner
BusinessPartnerName _BusinessPartner BusinessPartnerName Extracted Customer Name
Customer flow Customer Customer
CustomerName _Customer CustomerName Name of Customer
Supplier flow Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Material flow Material Material Number
MaterialName _MaterialText MaterialName Material Description
WBSElement flow WBSElement WBS Element
PartnerCompany flow PartnerCompany Trading Partner
TradingPartnerName _Partnercompany CompanyName Text
Segment flow Segment Segment
BusinessArea flow BusinessArea Business Area
_RecommendedLiquidityItem _RecommendedLiquidityItem
_LiquidityItem _LiquidityItem
_CompanyCode _CompanyCode
_PlanningLevel _PlanningLevel
_PlanningLevelText _PlanningLevelText

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 C_RecmddLiquidityItem.
-- 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: CRECMDDLQYITM

CREATE VIEW C_RecmddLiquidityItem AS
SELECT
  flow.OriginSystem AS OriginSystem,
  flow.OriginApplication AS OriginApplication,
  flow.OriginDocument AS OriginDocument,
  flow.OriginTransaction AS OriginTransaction,
  flow.OriginTransactionQualifier AS OriginTransactionQualifier,
  flow.CashFlow AS CashFlow,
  flow.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  flow.TransactionDate AS TransactionDate,
  flow.LiquidityItem AS LiquidityItem,
  _LiquidityItem._Text[1:Language = $session.system_language].LiquidityItemName AS LiquidityItemName,
  flow.RecommendedLiquidityItem AS RecommendedLiquidityItem,
  _RecommendedLiquidityItem._Text[1:Language = $session.system_language].LiquidityItemName AS RecommendedLiquidityItemName,
  flow.DifferentLiquidityItem AS DifferentLiquidityItem,
  flow.LiquidityItemConfidenceRate AS LiquidityItemConfidenceRate,
  flow.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  flow.Currency AS Currency,
  case when flow.OriginApplication = 'BSEGV' then flow.AccountingDocument when flow.OriginApplication = 'CMMRD' then flow.OriginDocument end as ReferenceDocument AS OriginDocumentendasReferenceDocument,
  flow.DocumentItemText AS DocumentItemText,
  _BankAccount.Bank AS Bank,
  _BankAccount._Bank.BankName AS BankName,
  flow.BankAccountInternalID AS BankAccountInternalID,
  _BankAccount.BankAccountNumber AS BankAccountNumber,
  _BankAccount._Text[1:Language = $session.system_language].BankAccountDescription AS BankAccountDescription,
  flow.HouseBank AS HouseBank,
  flow.HouseBankAccount AS HouseBankAccount,
  flow.GLAccount AS GLAccount,
  _GLAccountText.GLAccountName AS GLAccountName,
  flow.CashPlanningGroup AS CashPlanningGroup,
  _PlanningGroup._Text[1:Language = $session.system_language].CashPlanningGroupName AS CashPlanningGroupName,
  flow.PlanningLevel AS PlanningLevel,
  flow.CostCenter AS CostCenter,
  flow.ProfitCenter AS ProfitCenter,
  flow.BusinessPartner AS BusinessPartner,
  _BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
  flow.Customer AS Customer,
  _Customer.CustomerName AS CustomerName,
  flow.Supplier AS Supplier,
  _Supplier.SupplierName AS SupplierName,
  flow.Material AS Material,
  _MaterialText.MaterialName AS MaterialName,
  flow.WBSElement AS WBSElement,
  flow.PartnerCompany AS PartnerCompany,
  _Partnercompany.CompanyName AS TradingPartnerName,
  flow.Segment AS Segment,
  flow.BusinessArea AS BusinessArea
FROM P_RecLiquidityItem
LEFT OUTER JOIN I_CompanyCodeStdVH AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PlanningLevel AS _PlanningLevel ON PlanningLevel = _PlanningLevel.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_PlanningGroup AS _PlanningGroup ON CashPlanningGroup = _PlanningGroup.CashPlanningGroup  -- association [0..1]
LEFT OUTER JOIN I_LiquidityItem AS _RecommendedLiquidityItem ON RecommendedLiquidityItem = _RecommendedLiquidityItem.LiquidityItem  -- association [0..1]
LEFT OUTER JOIN I_LiquidityItem AS _LiquidityItem ON LiquidityItem = _LiquidityItem.LiquidityItem  -- association [0..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _GLAccountText ON CompanyCode = _GLAccountText.CompanyCode AND GLAccount = _GLAccountText.GLAccount AND _GLAccountText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_Partnercompany AS _Partnercompany ON PartnerCompany = _Partnercompany.PartnerCompany  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelText AS _PlanningLevelText ON PlanningLevel = _PlanningLevelText.PlanningLevel AND _PlanningLevelText.Language = $session.system_language  -- association [0..1]
;