C_BudgetaryDocumentForObjP

DDL: C_BUDGETARYDOCUMENTFOROBJP Type: view CONSUMPTION

Auxiliary Budgetary Doc Cosumption view for FM Obejct Pages

C_BudgetaryDocumentForObjP is a Consumption CDS View that provides data about "Auxiliary Budgetary Doc Cosumption view for FM Obejct Pages" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 9 fields with key fields CompanyCode, FiscalYear, AccountingDocument.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry I_JournalEntry from

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CBDGTRDOCOBJP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Auxiliary Budgetary Doc Cosumption view for FM Obejct Pages view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JournalEntry CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntry FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntry AccountingDocument Journal Entry
AccountingDocumentType I_JournalEntry AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
PostingDate I_JournalEntry PostingDate Posting Date for GR
OriginalReferenceDocument I_JournalEntry OriginalReferenceDocument Reference Key
ReferenceDocumentType I_JournalEntry ReferenceDocumentType Reference Document Type
Ledger I_JournalEntry Ledger Ledger

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 C_BudgetaryDocumentForObjP.
-- 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 C_BudgetaryDocumentForObjP AS
SELECT
  I_JournalEntry.CompanyCode AS CompanyCode,
  I_JournalEntry.FiscalYear AS FiscalYear,
  I_JournalEntry.AccountingDocument AS AccountingDocument,
  I_JournalEntry.AccountingDocumentType AS AccountingDocumentType,
  I_JournalEntry._AccountingDocumentType._Text[1:Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  I_JournalEntry.PostingDate AS PostingDate,
  I_JournalEntry.OriginalReferenceDocument AS OriginalReferenceDocument,
  I_JournalEntry.ReferenceDocumentType AS ReferenceDocumentType,
  I_JournalEntry.Ledger AS Ledger
FROM I_JournalEntry
;