P_ISLEADINGLEDGER

CDS View

Ledger which have is leading ledger flag set

P_ISLEADINGLEDGER is a CDS View in S/4HANA. Ledger which have is leading ledger flag set. It contains 1 fields. 8 CDS views read from this table.

CDS Views using this table (8)

ViewTypeJoinVDMDescription
P_ActvENTERPRISEPROJPLNCOSTS view inner COMPOSITE Project Cost Line Items with Planning Category Costs
P_ACTVENTPROJACTCOSTSFORLEDGER view inner COMPOSITE Project Cost Line Items with Actual Costs
P_EnterpriseProjectActCosts view inner COMPOSITE Project Cost Line Items with Actual Costs
P_EnterpriseProjectPlnCosts view inner COMPOSITE Project Cost Line Items with Planning Category Costs
P_ENTPROJECTACTCOSTS view inner COMPOSITE Project Cost Line Items with Actual Costs
P_ENTPROJECTPLNCOSTS view inner COMPOSITE Project Cost Line Items with Planning Category Costs
P_ENTPROJPPLNCOSTS view inner COMPOSITE Project Cost Line Items with Planning Category Costs
P_ProjectStockCostLineItem view inner COMPOSITE Project Stock Cost line item

Fields (1)

KeyField CDS FieldsUsed in Views
KEY Ledger Ledger 2
@VDM.viewType: #COMPOSITE
@VDM.private:true
@AbapCatalog.sqlViewName: 'PFILLEDGER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'Ledger'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
  dataClass: #CUSTOMIZING,
  serviceQuality: #A,
  sizeCategory: #S
}
define view P_IsLeadingLedger as select from I_Ledger 
inner join I_LedgerSourceLedger on I_LedgerSourceLedger.Ledger = I_Ledger.Ledger
{
    key I_LedgerSourceLedger.Ledger,
    key I_LedgerSourceLedger.SourceLedger
}
where I_Ledger.IsLeadingLedger = 'X'