R_EarmarkedFundsDocItemDraft
Earmarked Funds Document Item - Draft
R_EarmarkedFundsDocItemDraft is a Basic CDS View that provides data about "Earmarked Funds Document Item - Draft" in SAP S/4HANA. It reads from 1 data source (kblp_draft2) and exposes 92 fields with key fields EarmarkedFundsDocument, EarmarkedFundsDocumentItem, DraftUUID. It has 7 associations to related views. Part of development package ODATA_PSM_S4C_EARMARKED_FUNDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| kblp_draft2 | efitm_draft | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_EarmarkedFundsDocumentDraft | _EarmarkedFundsDocumentDraft | $projection.EarmarkedFundsDocument = _EarmarkedFundsDocumentDraft.EarmarkedFundsDocument and $projection.ParentDraftUUID = _EarmarkedFundsDocumentDraft.DraftUUID |
| [0..1] | I_FinancialManagementArea | _FinancialManagementArea | $projection.FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea |
| [0..1] | I_Fund | _Fund | $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund |
| [0..1] | I_BudgetPeriod | _BudgetPeriod | $projection.BudgetPeriod = _BudgetPeriod.BudgetPeriod |
| [0..1] | I_Grant | _Grant | $projection.GrantID = _Grant.GrantID |
| [0..1] | I_FundsMgmtFunctionalArea | _FundsMgmtFunctionalArea | $projection.FunctionalArea = _FundsMgmtFunctionalArea.FunctionalArea |
| [1] | E_EarmarkedFundsDocItemDraft | _ExtensionDraft | $projection.EarmarkedFundsDocument = _ExtensionDraft.EarmarkedFundsDocument and $projection.EarmarkedFundsDocumentItem = _ExtensionDraft.EarmarkedFundsDocumentItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AbapCatalog.extensibility.elementSuffix | EFI | view | |
| AbapCatalog.extensibility.quota.maximumFields | 200 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 20000 | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Earmarked Funds Document Item - Draft | view |
Fields (92)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EarmarkedFundsDocument | earmarkedfundsdocument | Earmarked Funds | |
| KEY | EarmarkedFundsDocumentItem | earmarkedfundsdocumentitem | Document Item | |
| KEY | DraftUUID | draftuuid | UUID | |
| ParentDraftUUID | parentdraftuuid | NodeID | ||
| EarmarkedFundsDocItemForEdit | earmarkedfundsdocitemforedit | Document Item | ||
| ControllingArea | controllingarea | Controlling Area | ||
| CompanyCode | companycode | Receiver Company Code | ||
| FinancialManagementArea | financialmanagementarea | FM Area | ||
| TransactionCurrency | transactioncurrency | Transaction Currency | ||
| CompanyCodeCurrency | companycodecurrency | Local Currency | ||
| PostingDate | postingdate | Posting Date for GR | ||
| EmrkdFndsDocItmCreatedByUser | emrkdfndsdocitmcreatedbyuser | Entered By | ||
| EmrkdFndsDocItmCreationDate | emrkdfndsdocitmcreationdate | Entered On | ||
| EmrkdFndsDocItmLastChgdByUsr | emrkdfndsdocitmlastchgdbyusr | Last Changed By | ||
| EmrkdFndsDocItmLastChangeDate | emrkdfndsdocitmlastchangedate | Changed On | ||
| GLAccount | glaccount | General Ledger | ||
| CostCenter | costcenter | Cost Center | ||
| InternalOrder | internalorder | Order | ||
| WBSElementInternalID | wbselementinternalid | WBS Internal ID | ||
| WBSElementExternalID | wbselementexternalid | WBS Element External ID | ||
| ProjectNetwork | projectnetwork | Order | ||
| CostElement | costelement | G/L Account | ||
| CommitmentItem | commitmentitem | Commitment item | ||
| FundsCenter | fundscenter | Funds Center | ||
| Fund | fund | Sender Fund | ||
| FundedProgram | fundedprogram | Funded Program | ||
| BudgetPeriod | budgetperiod | Budget Period | ||
| FunctionalArea | functionalarea | Sendr Fctl Area | ||
| GrantID | grantid | Sender Grant | ||
| BusinessArea | businessarea | Business Area | ||
| Product | product | Product Sold | ||
| Supplier | supplier | Supplier | ||
| Customer | customer | Sold-to Party | ||
| AlternativePayee | alternativepayee | Alternat.payee | ||
| DocumentItemText | documentitemtext | Text | ||
| EmrkdFndsReferenceDocumentItem | emrkdfndsreferencedocumentitem | Reference item | ||
| ReferenceDocumentItem | Reference item | |||
| DueDate | duedate | Promised For | ||
| EmrkdFndsItmCompletionDate | emrkdfndsitmcompletiondate | Completed On | ||
| EmrkdFndsDocItmGroupingNumber | emrkdfndsdocitmgroupingnumber | Grouping Number | ||
| ProfitCenter | profitcenter | Profit Center | ||
| EmrkdFndsItmPrdcssrDocCat | emrkdfndsitmprdcssrdoccat | Ref.Doc.Cat. | ||
| EmrkdFndsItmPredecessor | emrkdfndsitmpredecessor | Ref. Document | ||
| EmrkdFndsItmPrdcssrItem | emrkdfndsitmprdcssritem | Reference Item | ||
| EmrkdFndsItmPrdcssrCompleted | emrkdfndsitmprdcssrcompleted | Set "Completed" | ||
| PrdcssrFundsReservationDoc | prdcssrfundsreservationdoc | Funds Reservation | ||
| PrdcssrFundsReservationDocItem | prdcssrfundsreservationdocitem | Funds Reservation Item | ||
| PrdcssrFundsPreCmtmtDoc | prdcssrfundsprecmtmtdoc | Funds Precommitment | ||
| PrdcssrFundsPreCmtmtDocItem | prdcssrfundsprecmtmtdocitem | Funds Precommitment Item | ||
| EmrkdFndsItmIsCompleted | emrkdfndsitmiscompleted | Item Completed | ||
| EmrkdFndsItmIsStatistical | emrkdfndsitmisstatistical | Statistical | ||
| EmrkdFndsItmIsDeleted | emrkdfndsitmisdeleted | Del. Ind. | ||
| EmrkdFndsItmIsSender | emrkdfndsitmissender | Sender | ||
| EmrkdFndsItmIsReceiver | emrkdfndsitmisreceiver | Receiver | ||
| EmrkdFndsItmManualEditBlock | emrkdfndsitmmanualeditblock | Item Block | ||
| EmrkdFndsItmIsBlkdAgainstUsage | emrkdfndsitmisblkdagainstusage | Item Blocked | ||
| EmrkdFndsItmIsUnlimited | emrkdfndsitmisunlimited | Unlimited | ||
| EmrkdFndsItmToleranceLmtInPct | emrkdfndsitmtolerancelmtinpct | Overrun Tol. | ||
| EmrkdFndsOverrideGlobTolerance | emrkdfndsoverrideglobtolerance | Override Toler. | ||
| EmrkdFndsItmIsApproved | emrkdfndsitmisapproved | Item Approved | ||
| EmrkdFndsItmNoCarryforward | emrkdfndsitmnocarryforward | No Carryforward | ||
| EmrkdFndsAcctAssgmtChangeable | emrkdfndsacctassgmtchangeable | AcctAss.Change. | ||
| EmrkdFndsHasValueAdjustments | emrkdfndshasvalueadjustments | Value Adjustmts | ||
| EmrkdFndsItmCnsmpnInCCCrcyOnly | emrkdfndsitmcnsmpnincccrcyonly | Reduction in Local Currency only | ||
| EmrkdFndsDocItmNmbrOfProcgItms | emrkdfndsdocitmnmbrofprocgitms | Devel. Records | ||
| PubSecSplitBatchNumberID | pubsecsplitbatchnumberid | Dist.Batch No. | ||
| PubSecSplitAuthznGroup | pubsecsplitauthzngroup | Auth.Group | ||
| EmrkdFndsAmountInTransCrcy | emrkdfndsamountintranscrcy | Total Amount | ||
| EmrkdFndsRelAmtInTransCrcy | emrkdfndsrelamtintranscrcy | Release Amount | ||
| EmrkdFndsOpenAmtInTransCrcy | emrkdfndsopenamtintranscrcy | Open Amount | ||
| EmrkdFndsChgdAmtInTransCrcy | emrkdfndschgdamtintranscrcy | Amount Changed | ||
| EmrkdFndsCnsmdAmtInTransCrcy | emrkdfndscnsmdamtintranscrcy | Reduced Amount | ||
| EmrkdFndsOriglAmtInTransCrcy | emrkdfndsoriglamtintranscrcy | Original Amount | ||
| EmrkdFndsAmountInCCCrcy | emrkdfndsamountincccrcy | Total Amount in Local Currency | ||
| EmrkdFndsRelAmtInCCCrcy | emrkdfndsrelamtincccrcy | Amt for Release | ||
| EmrkdFndsOpenAmtInCCCrcy | emrkdfndsopenamtincccrcy | Open Amount in Local Currency | ||
| EmrkdFndsChgdAmtInCCCrcy | emrkdfndschgdamtincccrcy | Amount Changed | ||
| EmrkdFndsCnsmdAmtInCCCrcy | emrkdfndscnsmdamtincccrcy | Reduced Amount | ||
| EmrkdFndsOriglAmtInCCCrcy | emrkdfndsoriglamtincccrcy | Original Amount | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| DraftFieldChanges | draftfieldchanges | Field Changes | ||
| PubSecBdgtAcctRevnExpnCode | pubsecbdgtacctrevnexpncode | Expense/Revenue | ||
| _EarmarkedFundsDocumentDraft | _EarmarkedFundsDocumentDraft | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _Fund | _Fund | |||
| _BudgetPeriod | _BudgetPeriod | |||
| _Grant | _Grant | |||
| _FundsMgmtFunctionalArea | _FundsMgmtFunctionalArea |
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_EarmarkedFundsDocItemDraft.
-- 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_EarmarkedFundsDocItemDraft AS
SELECT
EarmarkedFundsDocument,
EarmarkedFundsDocumentItem,
DraftUUID,
ParentDraftUUID,
EarmarkedFundsDocItemForEdit,
ControllingArea,
CompanyCode,
FinancialManagementArea,
TransactionCurrency,
CompanyCodeCurrency,
PostingDate,
EmrkdFndsDocItmCreatedByUser,
EmrkdFndsDocItmCreationDate,
EmrkdFndsDocItmLastChgdByUsr,
EmrkdFndsDocItmLastChangeDate,
GLAccount,
CostCenter,
InternalOrder,
WBSElementInternalID,
WBSElementExternalID,
ProjectNetwork,
CostElement,
CommitmentItem,
FundsCenter,
Fund,
FundedProgram,
BudgetPeriod,
FunctionalArea,
GrantID,
BusinessArea,
Product,
Supplier,
Customer,
AlternativePayee,
DocumentItemText,
EmrkdFndsReferenceDocumentItem,
cast ( referencedocumentitem as fins_awitem ) AS ReferenceDocumentItem,
DueDate,
EmrkdFndsItmCompletionDate,
EmrkdFndsDocItmGroupingNumber,
ProfitCenter,
EmrkdFndsItmPrdcssrDocCat,
EmrkdFndsItmPredecessor,
EmrkdFndsItmPrdcssrItem,
EmrkdFndsItmPrdcssrCompleted,
PrdcssrFundsReservationDoc,
PrdcssrFundsReservationDocItem,
PrdcssrFundsPreCmtmtDoc,
PrdcssrFundsPreCmtmtDocItem,
EmrkdFndsItmIsCompleted,
EmrkdFndsItmIsStatistical,
EmrkdFndsItmIsDeleted,
EmrkdFndsItmIsSender,
EmrkdFndsItmIsReceiver,
EmrkdFndsItmManualEditBlock,
EmrkdFndsItmIsBlkdAgainstUsage,
EmrkdFndsItmIsUnlimited,
EmrkdFndsItmToleranceLmtInPct,
EmrkdFndsOverrideGlobTolerance,
EmrkdFndsItmIsApproved,
EmrkdFndsItmNoCarryforward,
EmrkdFndsAcctAssgmtChangeable,
EmrkdFndsHasValueAdjustments,
EmrkdFndsItmCnsmpnInCCCrcyOnly,
EmrkdFndsDocItmNmbrOfProcgItms,
PubSecSplitBatchNumberID,
PubSecSplitAuthznGroup,
EmrkdFndsAmountInTransCrcy,
EmrkdFndsRelAmtInTransCrcy,
EmrkdFndsOpenAmtInTransCrcy,
EmrkdFndsChgdAmtInTransCrcy,
EmrkdFndsCnsmdAmtInTransCrcy,
EmrkdFndsOriglAmtInTransCrcy,
EmrkdFndsAmountInCCCrcy,
EmrkdFndsRelAmtInCCCrcy,
EmrkdFndsOpenAmtInCCCrcy,
EmrkdFndsChgdAmtInCCCrcy,
EmrkdFndsCnsmdAmtInCCCrcy,
EmrkdFndsOriglAmtInCCCrcy,
HasActiveEntity,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
DraftFieldChanges,
PubSecBdgtAcctRevnExpnCode
FROM kblp_draft2 AS efitm_draft
LEFT OUTER JOIN R_EarmarkedFundsDocumentDraft AS _EarmarkedFundsDocumentDraft ON EarmarkedFundsDocument = _EarmarkedFundsDocumentDraft.EarmarkedFundsDocument AND ParentDraftUUID = _EarmarkedFundsDocumentDraft.DraftUUID -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinancialManagementArea ON FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea -- association [0..1]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund -- association [0..1]
LEFT OUTER JOIN I_BudgetPeriod AS _BudgetPeriod ON BudgetPeriod = _BudgetPeriod.BudgetPeriod -- association [0..1]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID -- association [0..1]
LEFT OUTER JOIN I_FundsMgmtFunctionalArea AS _FundsMgmtFunctionalArea ON FunctionalArea = _FundsMgmtFunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN E_EarmarkedFundsDocItemDraft AS _ExtensionDraft ON EarmarkedFundsDocument = _ExtensionDraft.EarmarkedFundsDocument AND EarmarkedFundsDocumentItem = _ExtensionDraft.EarmarkedFundsDocumentItem -- association [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