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
KEY FiscalYear I_JournalEntry FiscalYear
KEY AccountingDocument I_JournalEntry AccountingDocument
AccountingDocumentType I_JournalEntry AccountingDocumentType
AccountingDocumentTypeName
PostingDate I_JournalEntry PostingDate
OriginalReferenceDocument I_JournalEntry OriginalReferenceDocument
ReferenceDocumentType I_JournalEntry ReferenceDocumentType
Ledger I_JournalEntry Ledger
@VDM.viewType: #CONSUMPTION
@AbapCatalog: {sqlViewName: 'CBDGTRDOCOBJP', compiler.compareFilter: true}
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType: {sizeCategory: #XXL, dataClass:  #TRANSACTIONAL, serviceQuality: #A}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Auxiliary Budgetary Doc Cosumption view for FM Obejct Pages'
define view C_BudgetaryDocumentForObjP
  as select from I_JournalEntry
{
      @Consumption.hidden: true
  key I_JournalEntry.CompanyCode,
      @Consumption.hidden: true
  key I_JournalEntry.FiscalYear,
  key I_JournalEntry.AccountingDocument,

      // Exposed

      @Consumption.hidden: true
      I_JournalEntry.AccountingDocumentType,
      I_JournalEntry._AccountingDocumentType._Text[1:Language = $session.system_language].AccountingDocumentTypeName,
      I_JournalEntry.PostingDate,

      //For Assocation key

      @Consumption.hidden: true
      I_JournalEntry.OriginalReferenceDocument,
      @Consumption.hidden: true
      I_JournalEntry.ReferenceDocumentType,

      //Auth.

      @Consumption.hidden: true
      I_JournalEntry.Ledger
}

where
  I_JournalEntry.IsBudgetaryLedgerDoc <> ' ' 
  
  
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENTTYPE",
"I_ACCOUNTINGDOCUMENTTYPETEXT",
"I_JOURNALENTRY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/