C_EmrkdFundsPredecessorDocBsc
Auxiliary Cosumption view for Object Page
C_EmrkdFundsPredecessorDocBsc is a Consumption CDS View that provides data about "Auxiliary Cosumption view for Object Page" in SAP S/4HANA. It reads from 1 data source (I_EarmarkedFundsDocumentItem) and exposes 15 fields with key fields EarmarkedFundsDocument, EmrkdFndsItmPredecessor. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EarmarkedFundsDocumentItem | PredecessorItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EarmarkedFundsDocument | _PredecessorHeader | $projection.EmrkdFndsItmPredecessor = _PredecessorHeader.EarmarkedFundsDocument |
| [0..*] | I_EarmarkedFundsDocumentItem | _PredecessorItem | $projection.EmrkdFndsItmPredecessor = _PredecessorItem.EarmarkedFundsDocument |
| [0..1] | I_EarmarkedFunds_DocCatText | _EFDocCatText | $projection.earmarkedfundsdocumentcategory = _EFDocCatText.EarmarkedFundsDocumentCategory and _EFDocCatText.Language = $session.system_language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CEFPRDOCB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Auxiliary Cosumption view for Object Page | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EarmarkedFundsDocument | I_EarmarkedFundsDocumentItem | EarmarkedFundsDocument | Earmarked Funds |
| KEY | EmrkdFndsItmPredecessor | I_EarmarkedFundsDocumentItem | EmrkdFndsItmPredecessor | Ref. Document |
| CompanyCode | I_EarmarkedFundsDocumentItem | CompanyCode | Receiver Company Code | |
| CompanyCodeCurrency | ||||
| EarmarkedFundsDocumentCategory | _PredecessorHeader | EarmarkedFundsDocumentCategory | Document Category | |
| PostingDate | _PredecessorHeader | PostingDate | Posting Date for GR | |
| EarmarkedFundsDocumentType | _PredecessorHeader | EarmarkedFundsDocumentType | Document Type | |
| CreatedByUser | _PredecessorHeader | EmrkdFndsDocCreatedByUser | Entered By | |
| TransactionCurrency | I_EarmarkedFundsDocumentItem | TransactionCurrency | Transaction Currency | |
| EmrkdFndsAmountInCCCrcy | ||||
| EmrkdFndsChgdAmtInCCCrcy | ||||
| EmrkdFndsAmountInTransCrcy | ||||
| EmrkdFndsChgdAmtInTransCrcy | ||||
| EmrkdFndsOpenAmtInTransCrcy | ||||
| EmrkdFndsOpenAmtInCCCrcy |
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_EmrkdFundsPredecessorDocBsc.
-- 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 C_EmrkdFundsPredecessorDocBsc AS
SELECT
PredecessorItem.EarmarkedFundsDocument AS EarmarkedFundsDocument,
PredecessorItem.EmrkdFndsItmPredecessor AS EmrkdFndsItmPredecessor,
PredecessorItem.CompanyCode AS CompanyCode,
PredecessorItem._CompanyCode.Currency AS CompanyCodeCurrency,
_PredecessorHeader.EarmarkedFundsDocumentCategory AS EarmarkedFundsDocumentCategory,
_PredecessorHeader.PostingDate AS PostingDate,
_PredecessorHeader.EarmarkedFundsDocumentType AS EarmarkedFundsDocumentType,
_PredecessorHeader.EmrkdFndsDocCreatedByUser AS CreatedByUser,
PredecessorItem.TransactionCurrency AS TransactionCurrency,
sum( _PredecessorItem.EmrkdFndsAmountInCCCrcy ) AS EmrkdFndsAmountInCCCrcy,
sum( _PredecessorItem.EmrkdFndsChgdAmtInCCCrcy ) AS EmrkdFndsChgdAmtInCCCrcy,
sum( _PredecessorItem.EmrkdFndsAmountInTransCrcy ) AS EmrkdFndsAmountInTransCrcy,
sum( _PredecessorItem.EmrkdFndsChgdAmtInTransCrcy ) AS EmrkdFndsChgdAmtInTransCrcy,
sum( _PredecessorItem.EmrkdFndsOpenAmtInTransCrcy ) AS EmrkdFndsOpenAmtInTransCrcy,
sum( _PredecessorItem.EmrkdFndsOpenAmtInCCCrcy ) AS EmrkdFndsOpenAmtInCCCrcy
FROM I_EarmarkedFundsDocumentItem AS PredecessorItem
LEFT OUTER JOIN I_EarmarkedFundsDocument AS _PredecessorHeader ON EmrkdFndsItmPredecessor = _PredecessorHeader.EarmarkedFundsDocument -- association [1..1]
LEFT OUTER JOIN I_EarmarkedFundsDocumentItem AS _PredecessorItem ON EmrkdFndsItmPredecessor = _PredecessorItem.EarmarkedFundsDocument -- association [0..*]
LEFT OUTER JOIN I_EarmarkedFunds_DocCatText AS _EFDocCatText ON earmarkedfundsdocumentcategory = _EFDocCatText.EarmarkedFundsDocumentCategory AND _EFDocCatText.Language = $session.system_language -- 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