I_EarmarkedFunds_Cons_Basic

DDL: I_EARMARKEDFUNDS_CONS_BASIC SQL: IEFDCONSB Type: view BASIC

DEPRECATED -> use I_EmrkdFndsDocItmProcessing

I_EarmarkedFunds_Cons_Basic is a Basic CDS View that provides data about "DEPRECATED -> use I_EmrkdFndsDocItmProcessing" in SAP S/4HANA. It reads from 1 data source (kble) and exposes 20 fields with key fields EarmarkedFunds, EarmarkedFundsItem, EarmarkedFundsItemProcessing. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
kble Consumption from

Associations (2)

CardinalityTargetAliasCondition
[0..1] kblk _header $projection.EarmarkedFunds = _header.belnr
[0..1] I_Currency _TransCurrency $projection.TransactionCurrency = _TransCurrency.Currency

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IEFDCONSB view
AbapCatalog.compiler.compareFilter true view
EndUserText.label DEPRECATED -> use I_EmrkdFndsDocItmProcessing view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
VDM.lifecycle.successor I_EmrkdFndsDocItmProcessing view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY EarmarkedFunds kble belnr SD Document
KEY EarmarkedFundsItem kble blpos Ref. Doc. Item
KEY EarmarkedFundsItemProcessing kble bpent Val.Adjustment
CompanyCode kble rbukrs Company Code
BusinessTransactionType kble vrgng Bus.Transaction
CreatedByUser kble erfas Entered By
CreationDate kble erdat Entered On
LastChangeUser kble aende Last Changed By
LastChangeDate kble aedat Obsolete
ReferenceDocumentType kble awtyp Reference Document Type
ReferenceDocument kble awref Reference Doc.
ReferenceDocumentContext kble aworg Refer. Org.Unit
ReferenceDocumentLogicalSystem kble awsys Logical System
ReferenceDocumentItem kble awpos Reference item
EmrkdFndsItmProcgIsStatistical kble stats Vehcle Status
IsReversed kble stokz Reversed
DocumentItemText kble atext Title
TransactionCurrency _header waers Transaction Currency
EmrkdFndsCnsmdAmtInTransCrcy kble wtabb Amount Used
_TransCurrency _TransCurrency

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_EarmarkedFunds_Cons_Basic.
-- 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: IEFDCONSB

CREATE VIEW I_EarmarkedFunds_Cons_Basic AS
SELECT
  Consumption.belnr AS EarmarkedFunds,
  Consumption.blpos AS EarmarkedFundsItem,
  Consumption.bpent AS EarmarkedFundsItemProcessing,
  Consumption.rbukrs AS CompanyCode,
  Consumption.vrgng AS BusinessTransactionType,
  Consumption.erfas AS CreatedByUser,
  Consumption.erdat AS CreationDate,
  Consumption.aende AS LastChangeUser,
  Consumption.aedat AS LastChangeDate,
  Consumption.awtyp AS ReferenceDocumentType,
  Consumption.awref AS ReferenceDocument,
  Consumption.aworg AS ReferenceDocumentContext,
  Consumption.awsys AS ReferenceDocumentLogicalSystem,
  Consumption.awpos AS ReferenceDocumentItem,
  Consumption.stats AS EmrkdFndsItmProcgIsStatistical,
  Consumption.stokz AS IsReversed,
  Consumption.atext AS DocumentItemText,
  _header.waers AS TransactionCurrency,
  Consumption.wtabb AS EmrkdFndsCnsmdAmtInTransCrcy
FROM kble AS Consumption
LEFT OUTER JOIN kblk AS _header ON EarmarkedFunds = _header.belnr  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransCurrency ON TransactionCurrency = _TransCurrency.Currency  -- association [0..1]
;