I_BudgetDocumentItemBasic
Budget document item - basic
I_BudgetDocumentItemBasic is a Basic CDS View that provides data about "Budget document item - basic" in SAP S/4HANA. It reads from 1 data source (P_Acdocp_BdgtDoc_Item) and exposes 45 fields with key fields ControllingArea, BudgetDocument, BudgetDocumentYear, BudgetDocumentItem. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_Acdocp_BdgtDoc_Item | P_Acdocp_BdgtDoc_Item | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BudgetDocument | _BudgetDocument | $projection.ControllingArea = _BudgetDocument.ControllingArea and $projection.BudgetDocumentYear = _BudgetDocument.BudgetDocumentYear and $projection.BudgetDocument = _BudgetDocument.BudgetDocument |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_FinancialManagementArea | _FinMgmtArea | $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea |
| [1..1] | I_BudgetPlanningCategory | _PlanningCategory | $projection.BudgetCategory = _PlanningCategory.PlanningCategory |
| [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 |
| [0..1] | I_BudgetProcess | _BudgetProcess | $projection.BudgetProcess = _BudgetProcess.BudgetProcess |
| [0..1] | I_BudgetingType | _BudgetingType | $projection.BudgetingType = _BudgetingType.BudgetingType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.sqlViewName | IBDGTDOCITBASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Budget document item - basic | view | |
| AbapCatalog.preserveKey | true | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | kokrs | Org. Value | |
| KEY | BudgetDocument | BudgetDocument | Document Number | |
| KEY | BudgetDocumentYear | Fiscal Year | ||
| KEY | BudgetDocumentItem | BudgetDocumentItem | Data record number | |
| BudgetCategory | 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 | ||
| SponsoredProgram | rsponsored_prog | Sponsored Program | ||
| SponsoredClass | rsponsored_class | Sponsored Class | ||
| GteeMBudgetValidityNumber | rbdgt_vldty_nbr | Bdgt Validty No. | ||
| WBSElement | ps_posid | WBS Element | ||
| WBSElementInternalID | WBS Element | |||
| Project | ps_pspid | Project def. | ||
| ProjectInternalID | Project def. | |||
| FiscalPeriod | poper | Posting periods | ||
| BudgetProcess | BudgetProcess | Budget Process Type | ||
| BudgetingType | BudgetSubCategory | Budget Type | ||
| TransactionCurrency | rwcur | Transaction Currency | ||
| AmountInTransactionCurrency | wsl | OrigTrnsCrcyAmt | ||
| CompanyCodeCurrency | rhcur | Local Currency | ||
| AmountInCompanyCodeCurrency | hsl | Local Crcy Amt | ||
| GlobalCurrency | rkcur | Ledger curr. | ||
| AmountInGlobalCurrency | ksl | GrpCurr | ||
| ControllingObjectCurrency | rco_ocur | Object Currency | ||
| AmountInObjectCurrency | co_osl | Value/Obj. Crcy | ||
| BudgetDocumentLineItemDesc | BudgetDocumentLineItemDesc | Text | ||
| _BudgetDocument | _BudgetDocument | |||
| _CompanyCode | _CompanyCode | |||
| _FinMgmtArea | _FinMgmtArea | |||
| _PlanningCategory | _PlanningCategory | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _ControllingAreaCurrency | _ControllingAreaCurrency | |||
| _LedgerFiscalYear | _LedgerFiscalYear | |||
| _BudgetProcess | _BudgetProcess | |||
| _BudgetingType | _BudgetingType | |||
| _ControllingArea | _ControllingArea |
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_BudgetDocumentItemBasic.
-- 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: IBDGTDOCITBASIC
CREATE VIEW I_BudgetDocumentItemBasic AS
SELECT
kokrs AS ControllingArea,
BudgetDocument,
cast( BudgetDocumentYear as gjahr ) AS BudgetDocumentYear,
BudgetDocumentItem,
category AS BudgetCategory,
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,
rsponsored_prog AS SponsoredProgram,
rsponsored_class AS SponsoredClass,
rbdgt_vldty_nbr AS GteeMBudgetValidityNumber,
ps_posid AS WBSElement,
cast( ps_psp_pnr as ps_posnr ) AS WBSElementInternalID,
ps_pspid AS Project,
cast( ps_prj_pnr as ps_s4_proj_pspnr ) AS ProjectInternalID,
poper AS FiscalPeriod,
BudgetProcess,
BudgetSubCategory AS BudgetingType,
rwcur AS TransactionCurrency,
wsl AS AmountInTransactionCurrency,
rhcur AS CompanyCodeCurrency,
hsl AS AmountInCompanyCodeCurrency,
rkcur AS GlobalCurrency,
ksl AS AmountInGlobalCurrency,
rco_ocur AS ControllingObjectCurrency,
co_osl AS AmountInObjectCurrency,
BudgetDocumentLineItemDesc
FROM P_Acdocp_BdgtDoc_Item
LEFT OUTER JOIN I_BudgetDocument AS _BudgetDocument ON ControllingArea = _BudgetDocument.ControllingArea AND BudgetDocumentYear = _BudgetDocument.BudgetDocumentYear AND BudgetDocument = _BudgetDocument.BudgetDocument -- association [1..1]
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_BudgetPlanningCategory AS _PlanningCategory ON BudgetCategory = _PlanningCategory.PlanningCategory -- 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_BudgetProcess AS _BudgetProcess ON BudgetProcess = _BudgetProcess.BudgetProcess -- association [0..1]
LEFT OUTER JOIN I_BudgetingType AS _BudgetingType ON BudgetingType = _BudgetingType.BudgetingType -- 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