I_PPS_PurgDocBudgetOverview

DDL: I_PPS_PURGDOCBUDGETOVERVIEW Type: view_entity COMPOSITE

Budget overview for PPS Purchasing Doc

I_PPS_PurgDocBudgetOverview is a Composite CDS View that provides data about "Budget overview for PPS Purchasing Doc" in SAP S/4HANA. It reads from 1 data source (I_FundsMgmtCmtmtEntryItemBasic) and exposes 60 fields with key fields ReferenceDocument, FundsMgmtRefDocumentCategory, ReferenceDocumentContext, FundsMgmtReferenceDocumentItem, RefDocAccountAssignment. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_FundsMgmtCmtmtEntryItemBasic _PurgDocBudgetOvwBasic from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_MasterDataDomainValueText _RefDocCat _RefDocCat.Language = $session.system_language and _RefDocCat.Name = 'FM_REFBTYP' and _RefDocCat.DomainValue = $projection.FundsMgmtRefDocumentCategory
[0..*] I_CommitmentItemText _CommitmentItemTxt _CommitmentItemTxt.Language = $session.system_language and _CommitmentItemTxt.FinancialManagementArea = $projection.FinancialManagementArea and _CommitmentItemTxt.CommitmentItem = $projection.PostedCommitmentItem
[0..1] I_MasterDataDomainValueText _AmtTypeText _AmtTypeText.Language = $session.system_language and _AmtTypeText.Name = 'FM_BTART' and _AmtTypeText.DomainValue = $projection.FundsMgmtAmountType
[0..1] I_MasterDataDomainValueText _ValueTypeText _ValueTypeText.Language = $session.system_language and _ValueTypeText.Name = 'FM_WRTTP' and _ValueTypeText.DomainValue = $projection.FundsMgmtValueType
[0..*] I_FundsCenterText _FundCtrText _FundCtrText.Language = $session.system_language and _FundCtrText.FinancialManagementArea = $projection.FinancialManagementArea and _FundCtrText.FundsCenter = $projection.PostedFundsCenter
[0..1] I_FundText _FundText _FundText.Language = $session.system_language and _FundText.FinancialManagementArea = $projection.FinancialManagementArea and _FundText.Fund = $projection.PostedFund
[0..1] I_CompanyCode _CompanyCode _CompanyCode.Language = $session.system_language and _CompanyCode.CompanyCode = $projection.CompanyCode
[0..1] I_GLAccountText _GLAccountText _GLAccountText.Language = $session.system_language and _GLAccountText.ChartOfAccounts = 'INT' and _GLAccountText.GLAccount = $projection.GLAccount
[1..1] I_Supplier _Supplier _Supplier.Supplier = $projection.Supplier
[1..1] I_CommitmentItemBasic _CommitmentItem _CommitmentItem.FinancialManagementArea = $projection.FinancialManagementArea and _CommitmentItem.FinMgmtAreaFiscalYear = $projection.CashEffectivityFiscalYear and _CommitmentItem.CommitmentItem = $projection.PostedCommitmentItem
[0..1] R_PPS_PurOrderItemExtension _PurOrderItemExtension $projection.ReferenceDocument = _PurOrderItemExtension.PurchaseOrder and $projection.FundsMgmtReferenceDocumentItem = _PurOrderItemExtension.PurchaseOrderItem and $projection.FundsMgmtRefDocumentCategory = '020'
[0..1] I_PPS_PurReqnItmExtensionBasic _PurReqItemExtension $projection.ReferenceDocument = _PurReqItemExtension.PurchaseRequisition and $projection.FundsMgmtReferenceDocumentItem = _PurReqItemExtension.PurchaseRequisitionItem and $projection.FundsMgmtRefDocumentCategory = '010'

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Budget overview for PPS Purchasing Doc view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY ReferenceDocument ReferenceDocument Reference Document
KEY FundsMgmtRefDocumentCategory FundsMgmtRefDocumentCategory Reference Doc. Cat.
KEY ReferenceDocumentContext ReferenceDocumentContext Reference Document Context
KEY FundsMgmtReferenceDocumentItem FundsMgmtReferenceDocumentItem Reference item
KEY RefDocAccountAssignment RefDocAccountAssignment Acct Assnmt No.
KEY FundsMgmtRefDocScheduleLine FundsMgmtRefDocScheduleLine Schedule Line
KEY RefDocPricingElementContent RefDocPricingElementContent Counter
KEY ReferenceDocumentType ReferenceDocumentType Reference Document Type
KEY ReferenceDocumentLogicalSystem ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
KEY FundsMgmtAmountType FundsMgmtAmountType Amount Type
KEY Ledger Ledger Ledger
KEY FinMgmtAreaFiscalYear FinMgmtAreaFiscalYear Fiscal Year
KEY FundsMgmtSequenceNumber FundsMgmtSequenceNumber Step Number
ReferenceDocumentCategoryName _RefDocCat DomainText Short Description
CashEffectivityFiscalYear CashEffectivityFiscalYear YCE
FinMgmtAreaPeriod FinMgmtAreaPeriod Time unit
PostingDate PostingDate Posting Date for GR
FundsMgmtTransactionNumber FundsMgmtTransactionNumber Transaction No.
PPSFndsMgmtCmtmtItmCompltnSts PPSFndsMgmtCmtmtItmCompltnSts
FundsMgmtCmtmtItemIsDeleted FundsMgmtCmtmtItemIsDeleted Status
TransactionCurrency TransactionCurrency Transaction Currency
FinancialManagementArea FinancialManagementArea FM Area
PostedFundsCenter PostedFundsCenter
PostedFund PostedFund
PostedCommitmentItem PostedCommitmentItem
PostedFunctionalArea PostedFunctionalArea
PostedFundedProgram PostedFundedProgram
PostedGrantID PostedGrantID
PostedBudgetPeriod PostedBudgetPeriod
PostedFundsMgmtCustomerField PostedFundsMgmtCustomerField
BusinessArea BusinessArea Business Area
CompanyCode CompanyCode Receiver Company Code
GLAccount GLAccount General Ledger
Supplier Supplier Supplier
FundsMgmtValueType FundsMgmtValueType Value Type
BusinessTransactionType BusinessTransactionType Bus.transaction
IsStatisticalItem IsStatisticalItem Statisticl.Indicator
FundsManagementStatisticalType FundsManagementStatisticalType Vehcle Status
FundsMgCarryForwardLevel FundsMgCarryForwardLevel C/f Level
MaterialDescription MaterialDescription
FundsMgmtCmtmtCarryFwdStatus FundsMgmtCmtmtCarryFwdStatus FYC Status
FundsMgmtUpdateDate FundsMgmtUpdateDate FM Posting Date
FundsMgmtObjectNumber FundsMgmtObjectNumber Object number
ProfitCenter ProfitCenter Profit Center
CommitmentItemFiscalYear CommitmentItemFiscalYear Commit. Item FY
_FundCtrText _FundCtrText
_ValueTypeText _ValueTypeText
_AmtTypeText _AmtTypeText
_CommitmentItemTxt _CommitmentItemTxt
_FundText _FundText
_GLAccountText _GLAccountText
_CompanyCode _CompanyCode
_Supplier _Supplier
_BudgetPeriod _BudgetPeriod
_FunctionalArea _FunctionalArea
_FundedProgram _FundedProgram
_Grant _Grant
_Fund _Fund
_FundsCenter _FundsCenter
_CommitmentItem1 _CommitmentItem1

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_PPS_PurgDocBudgetOverview.
-- 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 I_PPS_PurgDocBudgetOverview AS
SELECT
  ReferenceDocument,
  FundsMgmtRefDocumentCategory,
  ReferenceDocumentContext,
  FundsMgmtReferenceDocumentItem,
  RefDocAccountAssignment,
  FundsMgmtRefDocScheduleLine,
  RefDocPricingElementContent,
  ReferenceDocumentType,
  ReferenceDocumentLogicalSystem,
  FundsMgmtAmountType,
  Ledger,
  FinMgmtAreaFiscalYear,
  FundsMgmtSequenceNumber,
  _RefDocCat.DomainText AS ReferenceDocumentCategoryName,
  CashEffectivityFiscalYear,
  FinMgmtAreaPeriod,
  PostingDate,
  FundsMgmtTransactionNumber,
  PPSFndsMgmtCmtmtItmCompltnSts,
  FundsMgmtCmtmtItemIsDeleted,
  TransactionCurrency,
  FinancialManagementArea,
  PostedFundsCenter,
  PostedFund,
  PostedCommitmentItem,
  PostedFunctionalArea,
  PostedFundedProgram,
  PostedGrantID,
  PostedBudgetPeriod,
  PostedFundsMgmtCustomerField,
  BusinessArea,
  CompanyCode,
  GLAccount,
  Supplier,
  FundsMgmtValueType,
  BusinessTransactionType,
  IsStatisticalItem,
  FundsManagementStatisticalType,
  FundsMgCarryForwardLevel,
  MaterialDescription,
  FundsMgmtCmtmtCarryFwdStatus,
  FundsMgmtUpdateDate,
  FundsMgmtObjectNumber,
  ProfitCenter,
  CommitmentItemFiscalYear
FROM I_FundsMgmtCmtmtEntryItemBasic AS _PurgDocBudgetOvwBasic
LEFT OUTER JOIN I_MasterDataDomainValueText AS _RefDocCat ON _RefDocCat.Language = $session.system_language AND _RefDocCat.Name = 'FM_REFBTYP' AND _RefDocCat.DomainValue = FundsMgmtRefDocumentCategory  -- association [1..1]
LEFT OUTER JOIN I_CommitmentItemText AS _CommitmentItemTxt ON _CommitmentItemTxt.Language = $session.system_language AND _CommitmentItemTxt.FinancialManagementArea = FinancialManagementArea AND _CommitmentItemTxt.CommitmentItem = PostedCommitmentItem  -- association [0..*]
LEFT OUTER JOIN I_MasterDataDomainValueText AS _AmtTypeText ON _AmtTypeText.Language = $session.system_language AND _AmtTypeText.Name = 'FM_BTART' AND _AmtTypeText.DomainValue = FundsMgmtAmountType  -- association [0..1]
LEFT OUTER JOIN I_MasterDataDomainValueText AS _ValueTypeText ON _ValueTypeText.Language = $session.system_language AND _ValueTypeText.Name = 'FM_WRTTP' AND _ValueTypeText.DomainValue = FundsMgmtValueType  -- association [0..1]
LEFT OUTER JOIN I_FundsCenterText AS _FundCtrText ON _FundCtrText.Language = $session.system_language AND _FundCtrText.FinancialManagementArea = FinancialManagementArea AND _FundCtrText.FundsCenter = PostedFundsCenter  -- association [0..*]
LEFT OUTER JOIN I_FundText AS _FundText ON _FundText.Language = $session.system_language AND _FundText.FinancialManagementArea = FinancialManagementArea AND _FundText.Fund = PostedFund  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.Language = $session.system_language AND _CompanyCode.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _GLAccountText ON _GLAccountText.Language = $session.system_language AND _GLAccountText.ChartOfAccounts = 'INT' AND _GLAccountText.GLAccount = GLAccount  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON _Supplier.Supplier = Supplier  -- association [1..1]
LEFT OUTER JOIN I_CommitmentItemBasic AS _CommitmentItem ON _CommitmentItem.FinancialManagementArea = FinancialManagementArea AND _CommitmentItem.FinMgmtAreaFiscalYear = CashEffectivityFiscalYear AND _CommitmentItem.CommitmentItem = PostedCommitmentItem  -- association [1..1]
LEFT OUTER JOIN R_PPS_PurOrderItemExtension AS _PurOrderItemExtension ON ReferenceDocument = _PurOrderItemExtension.PurchaseOrder AND FundsMgmtReferenceDocumentItem = _PurOrderItemExtension.PurchaseOrderItem AND FundsMgmtRefDocumentCategory = '020'  -- association [0..1]
LEFT OUTER JOIN I_PPS_PurReqnItmExtensionBasic AS _PurReqItemExtension ON ReferenceDocument = _PurReqItemExtension.PurchaseRequisition AND FundsMgmtReferenceDocumentItem = _PurReqItemExtension.PurchaseRequisitionItem AND FundsMgmtRefDocumentCategory = '010'  -- association [0..1]
;