R_EarmarkedFundsDocumentTP
Bus Obj Earmarked Funds Document
R_EarmarkedFundsDocumentTP is a Transactional CDS View that provides data about "Bus Obj Earmarked Funds Document" in SAP S/4HANA. It reads from 1 data source (I_EarmarkedFundsDocument) and exposes 75 fields with key field EarmarkedFundsDocument. It has 2 associations to related views. Part of development package ODATA_PSM_S4C_EARMARKED_FUNDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EarmarkedFundsDocument | efdoc | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | E_EarmarkedFundsDocument | _Extension | $projection.EarmarkedFundsDocument = _Extension.EarmarkedFundsDocument |
| [0..*] | R_EarmarkedFundsDocumentItemTP | _EarmarkedFundsDocumentItem | |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.draft.sharing | #PUBLIC | view | |
| ObjectModel.draft.concurrentEditing | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.representativeKey | EarmarkedFundsDocument | view | |
| ObjectModel.sapObjectNodeType.name | EarmarkedFundsDocument | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | EFD | view | |
| AbapCatalog.extensibility.quota.maximumFields | 200 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 20000 | view | |
| EndUserText.label | Bus Obj Earmarked Funds Document | view |
Fields (75)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EarmarkedFundsDocument | Earmarked Funds | ||
| EarmarkedFundsDocumentForEdit | Earmarked Funds | |||
| EarmarkedFundsDocumentCategory | EarmarkedFundsDocumentCategory | Document Category | ||
| EarmarkedFundsDocumentType | EarmarkedFundsDocumentType | Document Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| FinancialManagementArea | FinancialManagementArea | FM Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| EarmarkedFundsDocReference | EarmarkedFundsDocReference | Reference | ||
| EarmarkedFundsDocReference2 | EarmarkedFundsDocReference2 | Reference 2 | ||
| EarmarkedFundsDocReference3 | EarmarkedFundsDocReference3 | Reference 3 | ||
| EarmarkedFundsHeaderText | EarmarkedFundsHeaderText | Document Text | ||
| EarmarkedFundsHasLongText | EarmarkedFundsHasLongText | Long Txt Exists | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| AbsoluteExchangeRate | AbsoluteExchangeRate | Absolute Exchange Rate | ||
| ExchRateIsIndirectQuotation | ExchRateIsIndirectQuotation | Exchange Rate Is Indirect Quotation | ||
| EmrkdFndsDocCreatedByUser | EmrkdFndsDocCreatedByUser | Entered By | ||
| EmrkdFndsDocCreationDate | EmrkdFndsDocCreationDate | Entered On | ||
| EmrkdFndsDocLastChangedByUser | EmrkdFndsDocLastChangedByUser | Last Changed By | ||
| EmrkdFndsDocLastChangeDate | EmrkdFndsDocLastChangeDate | Changed On | ||
| EmrkdFndsDocLastChangeDateTime | EmrkdFndsDocLastChangeDateTime | Last Changed On | ||
| OrgnlBusinessTransactionType | OrgnlBusinessTransactionType | Original BTran. | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| ReferenceDocumentLogicalSystem | ReferenceDocumentLogicalSystem | Ref. Doc. Lgcl Syst. | ||
| EmrkdFndsIsMarkedForArchiving | EmrkdFndsIsMarkedForArchiving | Can Be Archived | ||
| EmrkdFndsHasNegativeAmounts | EmrkdFndsHasNegativeAmounts | Neg.Values | ||
| EmrkdFndsIsBlockedAgainstUsage | EmrkdFndsIsBlockedAgainstUsage | Doc.Blocked | ||
| EarmarkedFundsIsCompleted | EarmarkedFundsIsCompleted | Doc.Completed | ||
| EarmarkedFundsIsApproved | EarmarkedFundsIsApproved | Doc. Approved | ||
| EmrkdFndsWasAlreadyAprvdOnce | EmrkdFndsWasAlreadyAprvdOnce | Already Apprvd | ||
| EmrkdFndsHasAddlCnsmpnLogic | EmrkdFndsHasAddlCnsmpnLogic | Add. Rdctn Logic | ||
| EarmarkedFundsDecisionReason | EarmarkedFundsDecisionReason | Decision Reason | ||
| EarmarkedFundsStartWorkflow | EarmarkedFundsStartWorkflow | Start Approval by Workflow | ||
| EarmarkedFundsManualEditBlock | EarmarkedFundsManualEditBlock | Document Block | ||
| EmrkdFndsMnlEditBlkForEdit | EarmarkedFundsManualEditBlock | Document Block | ||
| EmrkdFndsHasValueAdjustments | EmrkdFndsHasValueAdjustments | Value Adjustmts | ||
| EarmarkedFundsDocEntryStatus | EarmarkedFundsDocEntryStatus | Status | ||
| EmrkdFndsTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsTotalInTransCrcy | Total Amount | |
| EmrkdFndsRelTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsRelTotalInTransCrcy | Release Amount | |
| EmrkdFndsOpenTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsOpenTotalInTransCrcy | Open Amount | |
| EmrkdFndsChgdTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsChgdTotalInTransCrcy | Amount Changed | |
| EmrkdFndsCnsmdTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsCnsmdTotalInTransCrcy | Reduced Amount | |
| EmrkdFndsOriglTotalInTransCrcy | _EarmarkedFundsDocTotals | EmrkdFndsOriglTotalInTransCrcy | Original Amount | |
| EmrkdFndsTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsTotalInCCCrcy | Total Amount in Local Currency | |
| EmrkdFndsRelTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsRelTotalInCCCrcy | Amt for Release | |
| EmrkdFndsOpenTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsOpenTotalInCCCrcy | Open Amount in Local Currency | |
| EmrkdFndsChgdTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsChgdTotalInCCCrcy | Amount Changed in Local Currency | |
| EmrkdFndsCnsmdTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsCnsmdTotalInCCCrcy | Reduced Amount | |
| EmrkdFndsOriglTotalInCCCrcy | _EarmarkedFundsDocTotals | EmrkdFndsOriglTotalInCCCrcy | Original Amount | |
| _EarmarkedFundsDocumentItem | _EarmarkedFundsDocumentItem | |||
| _EarmarkedFundsDocTotals | _EarmarkedFundsDocTotals | |||
| _FiscalCalDateForFinMgmtArea | _FiscalCalDateForFinMgmtArea | |||
| _FiscalYearForCompanyCode | _FiscalYearForCompanyCode | |||
| _EarmarkedFundsDocCategory | _EarmarkedFundsDocCategory | |||
| _EarmarkedFundsDocCatText | _EarmarkedFundsDocCatText | |||
| _EarmarkedFundsDocType | _EarmarkedFundsDocType | |||
| _EarmarkedFundsDocTypeText | _EarmarkedFundsDocTypeText | |||
| _EarmarkedFundsMnlEditBlk | _EarmarkedFundsMnlEditBlk | |||
| _EarmarkedFundsDcsnReason | _EarmarkedFundsDcsnReason | |||
| _EarmarkedFundsDocEntryStatus | _EarmarkedFundsDocEntryStatus | |||
| _ReferenceDocumentType | _ReferenceDocumentType | |||
| _ReferenceDocumentTypeText | _ReferenceDocumentTypeText | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCode | _CompanyCode | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _ControllingArea | _ControllingArea | |||
| _EmrkdFndsDocLastChangedByUser | _EmrkdFndsDocLastChangedByUser | |||
| _EmrkdFndsDocCreatedByUser | _EmrkdFndsDocCreatedByUser | |||
| _RefDocumentLogicalSystem | _RefDocumentLogicalSystem |
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_EarmarkedFundsDocumentTP.
-- 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 R_EarmarkedFundsDocumentTP AS
SELECT
cast( EarmarkedFundsDocument as kblnr_dy preserving type ) AS EarmarkedFundsDocument,
cast( EarmarkedFundsDocument as fmis_earmarkedfundsdocext preserving type ) AS EarmarkedFundsDocumentForEdit,
EarmarkedFundsDocumentCategory,
EarmarkedFundsDocumentType,
CompanyCode,
FinancialManagementArea,
ControllingArea,
TransactionCurrency,
CompanyCodeCurrency,
EarmarkedFundsDocReference,
EarmarkedFundsDocReference2,
EarmarkedFundsDocReference3,
EarmarkedFundsHeaderText,
EarmarkedFundsHasLongText,
PostingDate,
DocumentDate,
ExchangeRateDate,
AbsoluteExchangeRate,
ExchRateIsIndirectQuotation,
EmrkdFndsDocCreatedByUser,
EmrkdFndsDocCreationDate,
EmrkdFndsDocLastChangedByUser,
EmrkdFndsDocLastChangeDate,
EmrkdFndsDocLastChangeDateTime,
OrgnlBusinessTransactionType,
ReferenceDocumentType,
ReferenceDocument,
ReferenceDocumentContext,
ReferenceDocumentLogicalSystem,
EmrkdFndsIsMarkedForArchiving,
EmrkdFndsHasNegativeAmounts,
EmrkdFndsIsBlockedAgainstUsage,
EarmarkedFundsIsCompleted,
EarmarkedFundsIsApproved,
EmrkdFndsWasAlreadyAprvdOnce,
EmrkdFndsHasAddlCnsmpnLogic,
EarmarkedFundsDecisionReason,
EarmarkedFundsStartWorkflow,
EarmarkedFundsManualEditBlock,
EarmarkedFundsManualEditBlock AS EmrkdFndsMnlEditBlkForEdit,
EmrkdFndsHasValueAdjustments,
EarmarkedFundsDocEntryStatus,
_EarmarkedFundsDocTotals.EmrkdFndsTotalInTransCrcy AS EmrkdFndsTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsRelTotalInTransCrcy AS EmrkdFndsRelTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsOpenTotalInTransCrcy AS EmrkdFndsOpenTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsChgdTotalInTransCrcy AS EmrkdFndsChgdTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsCnsmdTotalInTransCrcy AS EmrkdFndsCnsmdTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsOriglTotalInTransCrcy AS EmrkdFndsOriglTotalInTransCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsTotalInCCCrcy AS EmrkdFndsTotalInCCCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsRelTotalInCCCrcy AS EmrkdFndsRelTotalInCCCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsOpenTotalInCCCrcy AS EmrkdFndsOpenTotalInCCCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsChgdTotalInCCCrcy AS EmrkdFndsChgdTotalInCCCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsCnsmdTotalInCCCrcy AS EmrkdFndsCnsmdTotalInCCCrcy,
_EarmarkedFundsDocTotals.EmrkdFndsOriglTotalInCCCrcy AS EmrkdFndsOriglTotalInCCCrcy
FROM I_EarmarkedFundsDocument AS efdoc
LEFT OUTER JOIN E_EarmarkedFundsDocument AS _Extension ON EarmarkedFundsDocument = _Extension.EarmarkedFundsDocument -- association [1]
LEFT OUTER JOIN R_EarmarkedFundsDocumentItemTP AS _EarmarkedFundsDocumentItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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