R_EarmarkedFundsDocItemDraft

DDL: R_EARMARKEDFUNDSDOCITEMDRAFT Type: view_entity BASIC Package: ODATA_PSM_S4C_EARMARKED_FUNDS

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)

SourceAliasJoin Type
kblp_draft2 efitm_draft from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;