I_BudgetDocumentItmSearchBasic

DDL: I_BUDGETDOCUMENTITMSEARCHBASIC SQL: IBDGTDOCITMESH Type: view BASIC

Budget Document Item Search Basic

I_BudgetDocumentItmSearchBasic is a Basic CDS View that provides data about "Budget Document Item Search Basic" in SAP S/4HANA. It reads from 1 data source (acdocp) and exposes 40 fields with key fields ControllingArea, BudgetDocumentYear, BudgetDocument, BudgetDocumentItem. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
acdocp acdocp from

Associations (11)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_FinancialManagementArea _FinMgmtArea $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _ControllingAreaCurrency $projection.ControllingObjectCurrency = _ControllingAreaCurrency.Currency
[1..1] I_FiscalYearForCompanyCode _LedgerFiscalYear $projection.FiscalYear = _LedgerFiscalYear.FiscalYear and $projection.CompanyCode = _LedgerFiscalYear.CompanyCode
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1..1] I_BudgetPlanningCategory _PlanningCategory $projection.PlanningCategory = _PlanningCategory.PlanningCategory
[0..1] I_BudgetProcess _BudgetProcess $projection.BudgetProcess = _BudgetProcess.BudgetProcess
[0..1] I_BudgetingType _BudgetingType $projection.BudgetingType = _BudgetingType.BudgetingType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBDGTDOCITMESH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Budget Document Item Search Basic view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea kokrs Org. Value
KEY BudgetDocumentYear ryear Ref. Year1
KEY BudgetDocument awref Reference Doc.
KEY BudgetDocumentItem record Object GUID
PlanningCategory category Violation Category
CompanyCode rbukrs Company Code
GLAccount racct GL Account From
CostCenter rcntr Cost Center
FunctionalArea rfarea R FuncArea
FiscalYear ryear Ref. Year1
FinancialManagementArea fikrs FM Area
Fund rfund Fund
BudgetPeriod rbudget_pd Rec BudPer
GrantID rgrant_nbr Grant
WBSElement WBS Element
WBSElementInternalID WBS Element
Project Project def.
ProjectInternalID Project def.
FiscalPeriod poper Posting periods
BudgetProcess budget_process Budget Process Type
BudgetingType budget_subcategory Budget Type
TransactionCurrency Transaction Currency
AmountInTransactionCurrency OrigTrnsCrcyAmt
CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency Ledger curr.
AmountInGlobalCurrency GrpCurr
ControllingObjectCurrency Object Currency
AmountInObjectCurrency Value/Obj. Crcy
_PlanningCategory _PlanningCategory
_BudgetingType _BudgetingType
_BudgetProcess _BudgetProcess
_CompanyCode _CompanyCode
_CompanyCodeCurrency _CompanyCodeCurrency
_ControllingArea _ControllingArea
_ControllingAreaCurrency _ControllingAreaCurrency
_FinMgmtArea _FinMgmtArea
_GlobalCurrency _GlobalCurrency
_LedgerFiscalYear _LedgerFiscalYear
_TransactionCurrency _TransactionCurrency

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 I_BudgetDocumentItmSearchBasic.
-- 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: IBDGTDOCITMESH

CREATE VIEW I_BudgetDocumentItmSearchBasic AS
SELECT
  kokrs AS ControllingArea,
  ryear AS BudgetDocumentYear,
  awref AS BudgetDocument,
  record AS BudgetDocumentItem,
  category AS PlanningCategory,
  rbukrs AS CompanyCode,
  racct AS GLAccount,
  rcntr AS CostCenter,
  rfarea AS FunctionalArea,
  ryear AS FiscalYear,
  fikrs AS FinancialManagementArea,
  rfund AS Fund,
  rbudget_pd AS BudgetPeriod,
  rgrant_nbr AS GrantID,
  cast( ps_posid as ps_posid_edit ) AS WBSElement,
  cast( ps_psp_pnr as ps_s4_pspnr ) AS WBSElementInternalID,
  cast( ps_pspid as ps_pspid_edit ) AS Project,
  cast( ps_prj_pnr as ps_s4_proj_pspnr ) AS ProjectInternalID,
  poper AS FiscalPeriod,
  budget_process AS BudgetProcess,
  budget_subcategory AS BudgetingType,
  cast( rwcur as fis_rwcur preserving type ) AS TransactionCurrency,
  cast( wsl as fis_wsl preserving type ) AS AmountInTransactionCurrency,
  cast( rhcur as fis_hwaer preserving type ) AS CompanyCodeCurrency,
  cast( hsl as fis_hsl preserving type ) AS AmountInCompanyCodeCurrency,
  cast( rkcur as fis_rkcur preserving type ) AS GlobalCurrency,
  cast( ksl as fis_ksl preserving type ) AS AmountInGlobalCurrency,
  cast( rco_ocur as fins_co_ocur preserving type ) AS ControllingObjectCurrency,
  cast( co_osl as fins_vco_ocur12 preserving type ) AS AmountInObjectCurrency
FROM acdocp
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ControllingAreaCurrency ON ControllingObjectCurrency = _ControllingAreaCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _LedgerFiscalYear ON FiscalYear = _LedgerFiscalYear.FiscalYear AND CompanyCode = _LedgerFiscalYear.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..1]
LEFT OUTER JOIN I_BudgetPlanningCategory AS _PlanningCategory ON PlanningCategory = _PlanningCategory.PlanningCategory  -- association [1..1]
LEFT OUTER JOIN I_BudgetProcess AS _BudgetProcess ON BudgetProcess = _BudgetProcess.BudgetProcess  -- association [0..1]
LEFT OUTER JOIN I_BudgetingType AS _BudgetingType ON BudgetingType = _BudgetingType.BudgetingType  -- association [0..1]
;