R_DspDocFlwEmrkdFundsDocument
DDF Interface for Earmarked Funds
R_DspDocFlwEmrkdFundsDocument is a Basic CDS View that provides data about "DDF Interface for Earmarked Funds" in SAP S/4HANA. It reads from 1 data source (kblk) and exposes 31 fields with key field EarmarkedFundsDocument. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| kblk | kblk | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EarmarkedFunds_DocCategory | _EarmarkedFundsDocCategory | $projection.EarmarkedFundsDocumentCategory = _EarmarkedFundsDocCategory.EarmarkedFundsDocumentCategory |
| [0..1] | I_EarmarkedFunds_DocType | _EarmarkedFundsDocType | $projection.EarmarkedFundsDocumentCategory = _EarmarkedFundsDocType.EarmarkedFundsDocumentCategory and $projection.EarmarkedFundsDocumentType = _EarmarkedFundsDocType.EarmarkedFundsDocumentType |
| [0..1] | I_EarmarkedFundsDocTotals | _EarmarkedFundsDocTotals | $projection.EarmarkedFundsDocument = _EarmarkedFundsDocTotals.EarmarkedFundsDocument |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_FinancialManagementArea | _FinancialManagementArea | $projection.FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RDDFEMRKDFNDDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.representativeKey | EarmarkedFundsDocument | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | DDF Interface for Earmarked Funds | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EarmarkedFundsDocument | SD Document | ||
| BusinessTransactionCategory | kvrgng | Activity | ||
| EarmarkedFundsDocumentCategory | bltyp | Document Class | ||
| EarmarkedFundsDocumentType | Rep. rec. doc. type | |||
| CompanyCode | bukrs | Value | ||
| FinancialManagementArea | fikrs | FM Area | ||
| ControllingArea | kokrs | Org. Value | ||
| TransactionCurrency | waers | Transaction Currency | ||
| EmrkdFndsTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsTotalInTransCrcy | Total Amount | |
| EarmarkedFundsDocReference | xblnr | Reference | ||
| EarmarkedFundsDocReference2 | fmre_xblnr2 | Reference 2 | ||
| EarmarkedFundsDocReference3 | fmre_xblnr3 | Reference 3 | ||
| EarmarkedFundsHeaderText | ktext | Text | ||
| EarmarkedFundsHasLongText | ltext | Text exists | ||
| PostingDate | budat | Posting Date | ||
| DocumentDate | bldat | Journal Entry Date | ||
| ExchangeRateDate | wwert | Translatn Date | ||
| AbsoluteExchangeRate | ||||
| EmrkdFndsDocCreatedByUser | kerfas | Entered By | ||
| EmrkdFndsDocCreationDate | kerdat | Entered On | ||
| EmrkdFndsDocLastChangedByUser | kaende | Last Changed By | ||
| EmrkdFndsDocLastChangeDate | kaedat | Changed On | ||
| OrgnlBusinessTransactionType | orgvg | Original BTran. | ||
| EmrkdFndsIsMarkedForArchiving | Del. Ind. | |||
| IsEndOfPurposeBlocked | blkkz | Doc.Blocked | ||
| _EarmarkedFundsDocCategory | _EarmarkedFundsDocCategory | |||
| _EarmarkedFundsDocType | _EarmarkedFundsDocType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _FinancialManagementArea | _FinancialManagementArea |
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 R_DspDocFlwEmrkdFundsDocument.
-- 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: RDDFEMRKDFNDDOC
CREATE VIEW R_DspDocFlwEmrkdFundsDocument AS
SELECT
cast ( belnr as fmis_earmarkedfundsdoc preserving type ) AS EarmarkedFundsDocument,
kvrgng AS BusinessTransactionCategory,
bltyp AS EarmarkedFundsDocumentCategory,
cast ( blart as fmre_blart preserving type ) AS EarmarkedFundsDocumentType,
bukrs AS CompanyCode,
fikrs AS FinancialManagementArea,
kokrs AS ControllingArea,
waers AS TransactionCurrency,
_EarmarkedFundsDocTotals.EmrkdFndsTotalInTransCrcy AS EmrkdFndsTotalInTransCrcy,
xblnr AS EarmarkedFundsDocReference,
fmre_xblnr2 AS EarmarkedFundsDocReference2,
fmre_xblnr3 AS EarmarkedFundsDocReference3,
ktext AS EarmarkedFundsHeaderText,
ltext AS EarmarkedFundsHasLongText,
budat AS PostingDate,
bldat AS DocumentDate,
wwert AS ExchangeRateDate,
cast( abs ( kursf ) as fis_absolute_exchangerate preserving type) AS AbsoluteExchangeRate,
kerfas AS EmrkdFndsDocCreatedByUser,
kerdat AS EmrkdFndsDocCreationDate,
kaende AS EmrkdFndsDocLastChangedByUser,
kaedat AS EmrkdFndsDocLastChangeDate,
orgvg AS OrgnlBusinessTransactionType,
cast ( kloekz as kblkloekz preserving type ) AS EmrkdFndsIsMarkedForArchiving,
blkkz AS IsEndOfPurposeBlocked
FROM kblk
LEFT OUTER JOIN I_EarmarkedFunds_DocCategory AS _EarmarkedFundsDocCategory ON EarmarkedFundsDocumentCategory = _EarmarkedFundsDocCategory.EarmarkedFundsDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_EarmarkedFunds_DocType AS _EarmarkedFundsDocType ON EarmarkedFundsDocumentCategory = _EarmarkedFundsDocType.EarmarkedFundsDocumentCategory AND EarmarkedFundsDocumentType = _EarmarkedFundsDocType.EarmarkedFundsDocumentType -- association [0..1]
LEFT OUTER JOIN I_EarmarkedFundsDocTotals AS _EarmarkedFundsDocTotals ON EarmarkedFundsDocument = _EarmarkedFundsDocTotals.EarmarkedFundsDocument -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinancialManagementArea ON FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA