I_PubSecBdgtLineItemBasic
Budget Line Items Basic
I_PubSecBdgtLineItemBasic is a Composite CDS View that provides data about "Budget Line Items Basic" in SAP S/4HANA. It reads from 2 data sources (I_PubSecPlanningCategory, I_FinancialPlanningEntryItem) and exposes 182 fields with key fields FinancialPlanningReqTransSqnc, FinancialPlanningDataPacket, FinancialPlanningEntryItem. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PubSecPlanningCategory | _PlanningCategory | inner |
| I_FinancialPlanningEntryItem | AcItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PubSecBudgetAccount | _PubSecBudgetAccount | $projection.CompanyCode = _PubSecBudgetAccount.PubSecBudgetAccountCoCode and $projection.GLAccount = _PubSecBudgetAccount.PubSecBudgetAccount |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPSMS4BDLNBSC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| EndUserText.label | Budget Line Items Basic | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (182)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialPlanningReqTransSqnc | I_FinancialPlanningEntryItem | FinancialPlanningReqTransSqnc | |
| KEY | FinancialPlanningDataPacket | I_FinancialPlanningEntryItem | FinancialPlanningDataPacket | |
| KEY | FinancialPlanningEntryItem | I_FinancialPlanningEntryItem | FinancialPlanningEntryItem | |
| ControllingArea | I_FinancialPlanningEntryItem | ControllingArea | ||
| CompanyCode | I_FinancialPlanningEntryItem | CompanyCode | ||
| Ledger | I_FinancialPlanningEntryItem | Ledger | ||
| GLAccount | I_FinancialPlanningEntryItem | GLAccount | ||
| ChartOfAccounts | I_FinancialPlanningEntryItem | ChartOfAccounts | ||
| FiscalYear | I_FinancialPlanningEntryItem | FiscalYear | ||
| LedgerFiscalYear | I_FinancialPlanningEntryItem | LedgerFiscalYear | ||
| BusinessTransactionType | I_FinancialPlanningEntryItem | BusinessTransactionType | ||
| FinancialTransactionType | I_FinancialPlanningEntryItem | FinancialTransactionType | ||
| BusinessArea | I_FinancialPlanningEntryItem | BusinessArea | ||
| ProfitCenter | I_FinancialPlanningEntryItem | ProfitCenter | ||
| CostCenter | I_FinancialPlanningEntryItem | CostCenter | ||
| ProjectInternalID | I_FinancialPlanningEntryItem | ProjectInternalID | ||
| PartnerProjectInternalID | I_FinancialPlanningEntryItem | PartnerProjectInternalID | ||
| WBSElementInternalID | I_FinancialPlanningEntryItem | WBSElementInternalID | ||
| PartnerWBSElementInternalID | I_FinancialPlanningEntryItem | PartnerWBSElementInternalID | ||
| FunctionalArea | I_FinancialPlanningEntryItem | FunctionalArea | ||
| Segment | I_FinancialPlanningEntryItem | Segment | ||
| CostCtrActivityType | I_FinancialPlanningEntryItem | CostCtrActivityType | ||
| CostAnalysisResource | I_FinancialPlanningEntryItem | CostAnalysisResource | ||
| WorkPackage | I_FinancialPlanningEntryItem | WorkPackage | ||
| WorkItem | I_FinancialPlanningEntryItem | WorkItem | ||
| IsLotSizeIndependent | I_FinancialPlanningEntryItem | IsLotSizeIndependent | ||
| PartnerCompanyCode | I_FinancialPlanningEntryItem | PartnerCompanyCode | ||
| PartnerBusinessArea | I_FinancialPlanningEntryItem | PartnerBusinessArea | ||
| PartnerSegment | I_FinancialPlanningEntryItem | PartnerSegment | ||
| PartnerProfitCenter | I_FinancialPlanningEntryItem | PartnerProfitCenter | ||
| PartnerCostCenter | I_FinancialPlanningEntryItem | PartnerCostCenter | ||
| PartnerFunctionalArea | I_FinancialPlanningEntryItem | PartnerFunctionalArea | ||
| PartnerCostCtrActivityType | I_FinancialPlanningEntryItem | PartnerCostCtrActivityType | ||
| OrderID | I_FinancialPlanningEntryItem | OrderID | ||
| PartnerOrder | I_FinancialPlanningEntryItem | PartnerOrder | ||
| PartnerOrder_2 | I_FinancialPlanningEntryItem | PartnerOrder_2 | ||
| PartnerCompany | I_FinancialPlanningEntryItem | PartnerCompany | ||
| ReferenceDocumentType | I_FinancialPlanningEntryItem | ReferenceDocumentType | ||
| ReferenceDocumentContext | I_FinancialPlanningEntryItem | ReferenceDocumentContext | ||
| ReferenceDocument | I_FinancialPlanningEntryItem | ReferenceDocument | ||
| TransactionCurrency | I_FinancialPlanningEntryItem | TransactionCurrency | ||
| AmountInTransactionCurrency | I_FinancialPlanningEntryItem | AmountInTransactionCurrency | ||
| CompanyCodeCurrency | I_FinancialPlanningEntryItem | CompanyCodeCurrency | ||
| AmountInCompanyCodeCurrency | I_FinancialPlanningEntryItem | AmountInCompanyCodeCurrency | ||
| GlobalCurrency | I_FinancialPlanningEntryItem | GlobalCurrency | ||
| AmountInGlobalCurrency | I_FinancialPlanningEntryItem | AmountInGlobalCurrency | ||
| ControllingObjectCurrency | I_FinancialPlanningEntryItem | ControllingObjectCurrency | ||
| AmountInObjectCurrency | I_FinancialPlanningEntryItem | AmountInObjectCurrency | ||
| FixedAmountInGlobalCrcy | I_FinancialPlanningEntryItem | FixedAmountInGlobalCrcy | ||
| CostSourceUnit | I_FinancialPlanningEntryItem | CostSourceUnit | ||
| ValuationQuantity | I_FinancialPlanningEntryItem | ValuationQuantity | ||
| FiscalYearVariant | I_FinancialPlanningEntryItem | FiscalYearVariant | ||
| FiscalPeriod | I_FinancialPlanningEntryItem | FiscalPeriod | ||
| FiscalYearPeriod | I_FinancialPlanningEntryItem | FiscalYearPeriod | ||
| PostingDate | I_FinancialPlanningEntryItem | PostingDate | ||
| SalesDocument | I_FinancialPlanningEntryItem | SalesDocument | ||
| SalesDocumentItem | I_FinancialPlanningEntryItem | SalesDocumentItem | ||
| Plant | I_FinancialPlanningEntryItem | Plant | ||
| Product | I_FinancialPlanningEntryItem | Product | ||
| Customer | I_FinancialPlanningEntryItem | Customer | ||
| PlanningCategory | I_FinancialPlanningEntryItem | PlanningCategory | ||
| AccountAssignmentType | I_FinancialPlanningEntryItem | AccountAssignmentType | ||
| PartnerAccountAssignmentType | I_FinancialPlanningEntryItem | PartnerAccountAssignmentType | ||
| ControllingDebitCreditCode | I_FinancialPlanningEntryItem | ControllingDebitCreditCode | ||
| PersonnelNumber | I_FinancialPlanningEntryItem | PersonnelNumber | ||
| BillingDocumentType | I_FinancialPlanningEntryItem | BillingDocumentType | ||
| SalesOrganization | I_FinancialPlanningEntryItem | SalesOrganization | ||
| DistributionChannel | I_FinancialPlanningEntryItem | DistributionChannel | ||
| OrganizationDivision | I_FinancialPlanningEntryItem | OrganizationDivision | ||
| SoldProduct | I_FinancialPlanningEntryItem | SoldProduct | ||
| CustomerGroup | I_FinancialPlanningEntryItem | CustomerGroup | ||
| CustomerSupplierCountry | I_FinancialPlanningEntryItem | CustomerSupplierCountry | ||
| CustomerSupplierIndustry | I_FinancialPlanningEntryItem | CustomerSupplierIndustry | ||
| SalesDistrict | I_FinancialPlanningEntryItem | SalesDistrict | ||
| BillToParty | I_FinancialPlanningEntryItem | BillToParty | ||
| ShipToParty | I_FinancialPlanningEntryItem | ShipToParty | ||
| CustomerSupplierCorporateGroup | I_FinancialPlanningEntryItem | CustomerSupplierCorporateGroup | ||
| FinancialManagementArea | I_FinancialPlanningEntryItem | FinancialManagementArea | ||
| Fund | I_FinancialPlanningEntryItem | Fund | ||
| GrantID | I_FinancialPlanningEntryItem | GrantID | ||
| SponsoredClass | I_FinancialPlanningEntryItem | SponsoredClass | ||
| SponsoredProgram | I_FinancialPlanningEntryItem | SponsoredProgram | ||
| GteeMBudgetValidityNumber | I_FinancialPlanningEntryItem | GteeMBudgetValidityNumber | ||
| BudgetPeriod | I_FinancialPlanningEntryItem | BudgetPeriod | ||
| BudgetProcess | I_FinancialPlanningEntryItem | BudgetProcess | ||
| BudgetingType | I_FinancialPlanningEntryItem | BudgetingType | ||
| BudgetDocWorkFlowStatus | I_FinancialPlanningEntryItem | BudgetDocWorkFlowStatus | ||
| WorkCenterInternalID | I_FinancialPlanningEntryItem | WorkCenterInternalID | ||
| OrderOperation | I_FinancialPlanningEntryItem | OrderOperation | ||
| OrderItem | I_FinancialPlanningEntryItem | OrderItem | ||
| PlanPriceInGlobalCurrency | I_FinancialPlanningEntryItem | PlanPriceInGlobalCurrency | ||
| PlanPriceInCompanyCodeCurrency | I_FinancialPlanningEntryItem | PlanPriceInCompanyCodeCurrency | ||
| PlanPriceInTransactionCurrency | I_FinancialPlanningEntryItem | PlanPriceInTransactionCurrency | ||
| GLAccountAuthorizationGroup | I_FinancialPlanningEntryItem | GLAccountAuthorizationGroup | ||
| CustomerBasicAuthorizationGrp | I_FinancialPlanningEntryItem | CustomerBasicAuthorizationGrp | ||
| OrderType | I_FinancialPlanningEntryItem | OrderType | ||
| SalesOrderType | I_FinancialPlanningEntryItem | SalesOrderType | ||
| AssetDepreciationArea | I_FinancialPlanningEntryItem | AssetDepreciationArea | ||
| MasterFixedAsset | I_FinancialPlanningEntryItem | MasterFixedAsset | ||
| FixedAsset | I_FinancialPlanningEntryItem | FixedAsset | ||
| AssetAcctTransClassfctn | I_FinancialPlanningEntryItem | AssetAcctTransClassfctn | ||
| AssetClass | I_FinancialPlanningEntryItem | AssetClass | ||
| _BillingDocumentType | I_FinancialPlanningEntryItem | _BillingDocumentType | ||
| _BillToParty | I_FinancialPlanningEntryItem | _BillToParty | ||
| _BudgetingType | I_FinancialPlanningEntryItem | _BudgetingType | ||
| _BudgetPeriod | I_FinancialPlanningEntryItem | _BudgetPeriod | ||
| _BudgetProcess | I_FinancialPlanningEntryItem | _BudgetProcess | ||
| _BusinessArea | I_FinancialPlanningEntryItem | _BusinessArea | ||
| _BusinessTransactionType | I_FinancialPlanningEntryItem | _BusinessTransactionType | ||
| _CalendarDate | I_FinancialPlanningEntryItem | _CalendarDate | ||
| _ChartOfAccounts | I_FinancialPlanningEntryItem | _ChartOfAccounts | ||
| _CompanyCode | I_FinancialPlanningEntryItem | _CompanyCode | ||
| _CompanyCodeCurrency | I_FinancialPlanningEntryItem | _CompanyCodeCurrency | ||
| _ControllingArea | I_FinancialPlanningEntryItem | _ControllingArea | ||
| _ControllingDebitCreditCode | I_FinancialPlanningEntryItem | _ControllingDebitCreditCode | ||
| _ControllingObjectCurrency | I_FinancialPlanningEntryItem | _ControllingObjectCurrency | ||
| _CostAnalysisResource | I_FinancialPlanningEntryItem | _CostAnalysisResource | ||
| _CostCenter | I_FinancialPlanningEntryItem | _CostCenter | ||
| _CostCtrActivityType | I_FinancialPlanningEntryItem | _CostCtrActivityType | ||
| _CostSourceUnit | I_FinancialPlanningEntryItem | _CostSourceUnit | ||
| _CurrentCostCenter | I_FinancialPlanningEntryItem | _CurrentCostCenter | ||
| _CurrentProfitCenter | I_FinancialPlanningEntryItem | _CurrentProfitCenter | ||
| _Customer | I_FinancialPlanningEntryItem | _Customer | ||
| _CustomerGroup | I_FinancialPlanningEntryItem | _CustomerGroup | ||
| _CustomerSupplierCountry | I_FinancialPlanningEntryItem | _CustomerSupplierCountry | ||
| _CustomerSupplierIndustryText | I_FinancialPlanningEntryItem | _CustomerSupplierIndustryText | ||
| _DistributionChannel | I_FinancialPlanningEntryItem | _DistributionChannel | ||
| _Employment | I_FinancialPlanningEntryItem | _Employment | ||
| _FinancialManagementArea | I_FinancialPlanningEntryItem | _FinancialManagementArea | ||
| _FinancialTransactionType | I_FinancialPlanningEntryItem | _FinancialTransactionType | ||
| _FiscalCalendarDate | I_FinancialPlanningEntryItem | _FiscalCalendarDate | ||
| _FiscalPeriodForVariant | I_FinancialPlanningEntryItem | _FiscalPeriodForVariant | ||
| _FiscalYear | I_FinancialPlanningEntryItem | _FiscalYear | ||
| _FiscalYearPeriodForVariant | I_FinancialPlanningEntryItem | _FiscalYearPeriodForVariant | ||
| _FiscalYearVariant | I_FinancialPlanningEntryItem | _FiscalYearVariant | ||
| _FixedAsset | I_FinancialPlanningEntryItem | _FixedAsset | ||
| _FunctionalArea | I_FinancialPlanningEntryItem | _FunctionalArea | ||
| _Fund | I_FinancialPlanningEntryItem | _Fund | ||
| _GLAccountInChartOfAccounts | I_FinancialPlanningEntryItem | _GLAccountInChartOfAccounts | ||
| _GLAccountInCompanyCode | I_FinancialPlanningEntryItem | _GLAccountInCompanyCode | ||
| _GlobalCurrency | I_FinancialPlanningEntryItem | _GlobalCurrency | ||
| _Grant | I_FinancialPlanningEntryItem | _Grant | ||
| _InternalOrder | I_FinancialPlanningEntryItem | _InternalOrder | ||
| _Ledger | I_FinancialPlanningEntryItem | _Ledger | ||
| _LedgerFiscalYear | I_FinancialPlanningEntryItem | _LedgerFiscalYear | ||
| _LedgerFiscalYearForVariant | I_FinancialPlanningEntryItem | _LedgerFiscalYearForVariant | ||
| _MasterFixedAsset | I_FinancialPlanningEntryItem | _MasterFixedAsset | ||
| _Order | I_FinancialPlanningEntryItem | _Order | ||
| _OrganizationDivision | I_FinancialPlanningEntryItem | _OrganizationDivision | ||
| _PartnerBusinessArea | I_FinancialPlanningEntryItem | _PartnerBusinessArea | ||
| _PartnerCompany | I_FinancialPlanningEntryItem | _PartnerCompany | ||
| _PartnerCompanyCode | I_FinancialPlanningEntryItem | _PartnerCompanyCode | ||
| _PartnerCostCenter | I_FinancialPlanningEntryItem | _PartnerCostCenter | ||
| _PartnerCostCtrActivityType | I_FinancialPlanningEntryItem | _PartnerCostCtrActivityType | ||
| _PartnerFunctionalArea | I_FinancialPlanningEntryItem | _PartnerFunctionalArea | ||
| _PartnerOrder | I_FinancialPlanningEntryItem | _PartnerOrder | ||
| _PartnerOrder_2 | I_FinancialPlanningEntryItem | _PartnerOrder_2 | ||
| _PartnerProfitCenter | I_FinancialPlanningEntryItem | _PartnerProfitCenter | ||
| _PartnerProjectBasicData | I_FinancialPlanningEntryItem | _PartnerProjectBasicData | ||
| _PartnerSegment | I_FinancialPlanningEntryItem | _PartnerSegment | ||
| _Plant | I_FinancialPlanningEntryItem | _Plant | ||
| _Product | I_FinancialPlanningEntryItem | _Product | ||
| _ProfitCenter | I_FinancialPlanningEntryItem | _ProfitCenter | ||
| _ProjectBasicData | I_FinancialPlanningEntryItem | _ProjectBasicData | ||
| _SalesDistrict | I_FinancialPlanningEntryItem | _SalesDistrict | ||
| _SalesDocument | I_FinancialPlanningEntryItem | _SalesDocument | ||
| _SalesDocumentItem | I_FinancialPlanningEntryItem | _SalesDocumentItem | ||
| _SalesOrganization | I_FinancialPlanningEntryItem | _SalesOrganization | ||
| _Segment | I_FinancialPlanningEntryItem | _Segment | ||
| _SemTagGLAccount | I_FinancialPlanningEntryItem | _SemTagGLAccount | ||
| _ShipToParty | I_FinancialPlanningEntryItem | _ShipToParty | ||
| _SoldProduct | I_FinancialPlanningEntryItem | _SoldProduct | ||
| _SponsoredClass | I_FinancialPlanningEntryItem | _SponsoredClass | ||
| _SponsoredProgram | I_FinancialPlanningEntryItem | _SponsoredProgram | ||
| _TransactionCurrency | I_FinancialPlanningEntryItem | _TransactionCurrency | ||
| _WBSElementBasicData | I_FinancialPlanningEntryItem | _WBSElementBasicData | ||
| _WBSElementByInternalKey | I_FinancialPlanningEntryItem | _WBSElementByInternalKey | ||
| _PartnerWBSElementBasicData | I_FinancialPlanningEntryItem | _PartnerWBSElementBasicData | ||
| _WorkCenter | I_FinancialPlanningEntryItem | _WorkCenter | ||
| _WorkPackage | I_FinancialPlanningEntryItem | _WorkPackage | ||
| _WorkPackageWorkItem | I_FinancialPlanningEntryItem | _WorkPackageWorkItem | ||
| _PlanningCategory | _PlanningCategory |
@AbapCatalog.sqlViewName: 'IPSMS4BDLNBSC'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.buffering.status: #NOT_ALLOWED
@EndUserText.label: 'Budget Line Items Basic'
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
// representativeKey: 'FinancialPlanningEntryItem',
usageType: {
dataClass: #MIXED,
serviceQuality: #D,
sizeCategory: #XXL
}
}
define view I_PubSecBdgtLineItemBasic
as select from I_FinancialPlanningEntryItem as AcItem
inner join I_PubSecPlanningCategory as _PlanningCategory on AcItem.PlanningCategory = _PlanningCategory.PlanningCategory
association [0..1] to I_PubSecBudgetAccount as _PubSecBudgetAccount on $projection.CompanyCode = _PubSecBudgetAccount.PubSecBudgetAccountCoCode
and $projection.GLAccount = _PubSecBudgetAccount.PubSecBudgetAccount
{
key AcItem.FinancialPlanningReqTransSqnc,
key AcItem.FinancialPlanningDataPacket,
@DefaultAggregation: #NONE
key AcItem.FinancialPlanningEntryItem,
AcItem.ControllingArea,
AcItem.CompanyCode,
AcItem.Ledger,
// Account assignments
AcItem.GLAccount,
AcItem.ChartOfAccounts,
AcItem.FiscalYear,
AcItem.LedgerFiscalYear,
AcItem.BusinessTransactionType,
AcItem.FinancialTransactionType,
AcItem.BusinessArea,
AcItem.ProfitCenter,
AcItem.CostCenter,
AcItem.ProjectInternalID,
AcItem.PartnerProjectInternalID,
AcItem.WBSElementInternalID,
AcItem.PartnerWBSElementInternalID,
AcItem.FunctionalArea,
AcItem.Segment,
AcItem.CostCtrActivityType,
AcItem.CostAnalysisResource,
AcItem.WorkPackage,
AcItem.WorkItem,
AcItem.IsLotSizeIndependent,
AcItem.PartnerCompanyCode,
AcItem.PartnerBusinessArea,
AcItem.PartnerSegment,
AcItem.PartnerProfitCenter,
AcItem.PartnerCostCenter,
AcItem.PartnerFunctionalArea,
AcItem.PartnerCostCtrActivityType,
AcItem.OrderID,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'PartnerOrder_2'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'PartnerOrder_2'
AcItem.PartnerOrder,
AcItem.PartnerOrder_2,
AcItem.PartnerCompany,
// Transaction data
AcItem.ReferenceDocumentType,
AcItem.ReferenceDocumentContext,
AcItem.ReferenceDocument,
// Amount/Currency/Unit
AcItem.TransactionCurrency,
AcItem.AmountInTransactionCurrency,
AcItem.CompanyCodeCurrency,
AcItem.AmountInCompanyCodeCurrency,
AcItem.GlobalCurrency,
AcItem.AmountInGlobalCurrency,
AcItem.ControllingObjectCurrency,
AcItem.AmountInObjectCurrency,
AcItem.FixedAmountInGlobalCrcy,
AcItem.CostSourceUnit,
AcItem.ValuationQuantity,
// Continue with transactional data
AcItem.FiscalYearVariant,
AcItem.FiscalPeriod,
AcItem.FiscalYearPeriod,
AcItem.PostingDate,
AcItem.SalesDocument,
AcItem.SalesDocumentItem,
AcItem.Plant,
AcItem.Product,
AcItem.Customer,
AcItem.PlanningCategory,
AcItem.AccountAssignmentType,
AcItem.PartnerAccountAssignmentType,
AcItem.ControllingDebitCreditCode,
AcItem.PersonnelNumber,
AcItem.BillingDocumentType,
AcItem.SalesOrganization,
AcItem.DistributionChannel,
AcItem.OrganizationDivision,
AcItem.SoldProduct,
AcItem.CustomerGroup,
AcItem.CustomerSupplierCountry,
AcItem.CustomerSupplierIndustry,
AcItem.SalesDistrict,
AcItem.BillToParty,
AcItem.ShipToParty,
AcItem.CustomerSupplierCorporateGroup,
// Add PSM account assignments
AcItem.FinancialManagementArea,
AcItem.Fund,
AcItem.GrantID,
AcItem.SponsoredClass,
AcItem.SponsoredProgram,
AcItem.GteeMBudgetValidityNumber,
case
when _PubSecBudgetAccount.PubSecBdgtAcctRevnExpnCode = 'E' or
_PubSecBudgetAccount.PubSecBdgtAcctRevnExpnCode = 'R' then
cast( AcItem.GLAccount as psm_bdgt_account preserving type )
else
cast( '' as psm_bdgt_account )
end as PubSecBudgetAccount,
case
when _PubSecBudgetAccount.PubSecBdgtAcctRevnExpnCode = 'E' or
_PubSecBudgetAccount.PubSecBdgtAcctRevnExpnCode = 'R' then
cast( AcItem.CompanyCode as psm_bdgt_account_cocode preserving type )
else
cast( '' as psm_bdgt_account_cocode )
end as PubSecBudgetAccountCoCode,
AcItem.BudgetPeriod,
AcItem.BudgetProcess,
AcItem.BudgetingType,
AcItem.BudgetDocWorkFlowStatus,
AcItem.WorkCenterInternalID,
AcItem.OrderOperation,
AcItem.OrderItem,
AcItem.PlanPriceInGlobalCurrency,
AcItem.PlanPriceInCompanyCodeCurrency,
AcItem.PlanPriceInTransactionCurrency,
AcItem.GLAccountAuthorizationGroup,
AcItem.CustomerBasicAuthorizationGrp,
AcItem.OrderType,
AcItem.SalesOrderType,
// Asset
AcItem.AssetDepreciationArea,
AcItem.MasterFixedAsset,
AcItem.FixedAsset,
AcItem.AssetAcctTransClassfctn,
AcItem.AssetClass,
// Associations
AcItem._BillingDocumentType,
AcItem._BillToParty,
AcItem._BudgetingType,
AcItem._BudgetPeriod,
AcItem._BudgetProcess,
AcItem._BusinessArea,
AcItem._BusinessTransactionType,
AcItem._CalendarDate,
AcItem._ChartOfAccounts,
AcItem._CompanyCode,
AcItem._CompanyCodeCurrency,
AcItem._ControllingArea,
AcItem._ControllingDebitCreditCode,
AcItem._ControllingObjectCurrency,
AcItem._CostAnalysisResource,
AcItem._CostCenter,
AcItem._CostCtrActivityType,
AcItem._CostSourceUnit,
AcItem._CurrentCostCenter,
AcItem._CurrentProfitCenter,
AcItem._Customer,
AcItem._CustomerGroup,
AcItem._CustomerSupplierCountry,
AcItem._CustomerSupplierIndustryText,
AcItem._DistributionChannel,
AcItem._Employment,
AcItem._FinancialManagementArea,
AcItem._FinancialTransactionType,
AcItem._FiscalCalendarDate,
AcItem._FiscalPeriodForVariant,
AcItem._FiscalYear,
AcItem._FiscalYearPeriodForVariant,
AcItem._FiscalYearVariant,
AcItem._FixedAsset,
AcItem._FunctionalArea,
AcItem._Fund,
AcItem._GLAccountInChartOfAccounts,
AcItem._GLAccountInCompanyCode,
AcItem._GlobalCurrency,
AcItem._Grant,
AcItem._InternalOrder,
AcItem._Ledger,
AcItem._LedgerFiscalYear,
AcItem._LedgerFiscalYearForVariant,
AcItem._MasterFixedAsset,
AcItem._Order,
AcItem._OrganizationDivision,
AcItem._PartnerBusinessArea,
AcItem._PartnerCompany,
AcItem._PartnerCompanyCode,
AcItem._PartnerCostCenter,
AcItem._PartnerCostCtrActivityType,
AcItem._PartnerFunctionalArea,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_PartnerOrder_2'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_PartnerOrder_2'
AcItem._PartnerOrder,
AcItem._PartnerOrder_2,
AcItem._PartnerProfitCenter,
AcItem._PartnerProjectBasicData,
AcItem._PartnerSegment,
// AcItem._PlanningCategory,
AcItem._Plant,
AcItem._Product,
AcItem._ProfitCenter,
AcItem._ProjectBasicData,
AcItem._SalesDistrict,
AcItem._SalesDocument,
AcItem._SalesDocumentItem,
AcItem._SalesOrganization,
AcItem._Segment,
AcItem._SemTagGLAccount,
AcItem._ShipToParty,
AcItem._SoldProduct,
AcItem._SponsoredClass,
AcItem._SponsoredProgram,
AcItem._TransactionCurrency,
AcItem._WBSElementBasicData,
AcItem._WBSElementByInternalKey,
AcItem._PartnerWBSElementBasicData,
AcItem._WorkCenter,
AcItem._WorkPackage,
AcItem._WorkPackageWorkItem,
_PlanningCategory
// Select Budget from base or extension ledger
} where ( ( AcItem.Ledger = '0L' or AcItem.Ledger = '0E' ) )
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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