I_PPS_PurchaseReqnBudgetC
Purchase Requisition Budget - Cube
I_PPS_PurchaseReqnBudgetC is a Composite CDS View (Cube) that provides data about "Purchase Requisition Budget - Cube" in SAP S/4HANA. It reads from 3 data sources (I_PPS_PurReqnHdrExtensionBasic, I_PurchaseRequisitionItemBasic, I_PPS_PurchaseReqnBudget) and exposes 52 fields with key fields PurchaseRequisition, PurchaseRequisitionItem, PurReqnAcctAssgmtNmbr. It has 22 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_PPS_PurReqnHdrExtensionBasic | _PurReqnExt | inner |
| I_PurchaseRequisitionItemBasic | _PurReqnItm | inner |
| I_PPS_PurchaseReqnBudget | PRBudget | from |
Associations (22)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PPS_PurchaseReqnHeaderDetail | _PurReqnHdr | _PurReqnHdr.PurchaseRequisition = PRBudget.PurchaseRequisition |
| [1..1] | I_PPS_PurReqnItmExtensionBasic | _PurReqnItmExt | $projection.PurchaseRequisition = _PurReqnItmExt.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurReqnItmExt.PurchaseRequisitionItem |
| [1..1] | I_PurReqnAcctAssgmtBasic | _PurReqAccAssgn | $projection.PurchaseRequisition = _PurReqAccAssgn.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurReqAccAssgn.PurchaseRequisitionItem and $projection.PurReqnAcctAssgmtNmbr = _PurReqAccAssgn.PurchaseReqnAcctAssgmtNumber |
| [0..1] | I_FinancialManagementArea | _FinMgmtArea | $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Grant | _Grant | $projection.grantid = _Grant.GrantID |
| [0..1] | I_WBSElementByInternalKey | _WBSElementByInternalKey | $projection.WBSElementInternalID = _WBSElementByInternalKey.WBSElementInternalID |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.controllingarea = _ControllingArea.ControllingArea |
| [0..1] | I_FundsMgmtFunctionalArea | _FunctionalArea | $projection.functionalarea = _FunctionalArea.FunctionalArea |
| [0..1] | I_Fund | _Fund | $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.fund = _Fund.Fund |
| [0..*] | I_FundsCenter | _FundsCenter | $projection.FinancialManagementArea = _FundsCenter.FinancialManagementArea and $projection.fundscenter = _FundsCenter.FundsCenter |
| [0..1] | I_FiscalYearForFinMgmtArea | _FiscalYearForFinMgmtArea | $projection.FinancialManagementArea = _FiscalYearForFinMgmtArea.FinancialManagementArea and $projection.CashEffectivityFiscalYear = _FiscalYearForFinMgmtArea.FinMgmtAreaFiscalYear |
| [0..1] | I_CommitmentItemShortID | _CommitmentItemShortID | $projection.commitmentitemshortid = _CommitmentItemShortID.CommitmentItemShortID |
| [0..*] | I_CostCenter | _CostCenter | $projection.costcenter = _CostCenter.CostCenter and $projection.controllingarea = _CostCenter.ControllingArea |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.companycode = _CompanyCode.CompanyCode |
| [0..1] | I_MasterFixedAsset | _MasterFixedAsset | $projection.masterfixedasset = _MasterFixedAsset.MasterFixedAsset and $projection.companycode = _MasterFixedAsset.CompanyCode |
| [0..1] | I_FixedAsset | _FixedAsset | $projection.masterfixedasset = _FixedAsset.MasterFixedAsset and $projection.fixedasset = _FixedAsset.FixedAsset and $projection.companycode = _FixedAsset.CompanyCode |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.ppsresponsiblepurchaser = _BusinessPartner.BusinessPartner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Purchase Requisition Budget - Cube | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.allowExtensions | true | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisition | I_PPS_PurchaseReqnBudget | PurchaseRequisition | Requisition |
| KEY | PurchaseRequisitionItem | I_PPS_PurchaseReqnBudget | PurchaseRequisitionItem | Requisn. item |
| KEY | PurReqnAcctAssgmtNmbr | I_PPS_PurchaseReqnBudget | PurReqnAcctAssgmtNmbr | Ser.no.acc.ass. |
| FinancialManagementArea | I_PPS_PurchaseReqnBudget | FinancialManagementArea | FM Area | |
| CashEffectivityFiscalYear | I_PPS_PurchaseReqnBudget | CashEffectivityFiscalYear | ||
| TransactionType | I_PPS_PurchaseReqnBudget | TransactionType | Trans. Type - Header | |
| PPSSmartNumberHeader | I_PPS_PurReqnHdrExtensionBasic | PPSSmartNumberHeader | Smart Number | |
| PPSSmartNumberItem | ||||
| PPSConfigurableLineItemNumber | _PurReqnItmExt | PPSConfigurableLineItemNumber | Config. Itm. No. | |
| CreationDate | _PurReqnHdr | CreationDate | Time Stamp | |
| DeliveryDate | I_PurchaseRequisitionItemBasic | DeliveryDate | Delivery Date | |
| CompanyCode | ||||
| PPSResponsiblePurchaser | _PurReqnItmExt | PPSResponsiblePurchaser | Resp. Purchaser | |
| PurchasingOrganization | I_PurchaseRequisitionItemBasic | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_PurchaseRequisitionItemBasic | PurchasingGroup | Purchasing Group | |
| Plant | I_PurchaseRequisitionItemBasic | Plant | Valuation Area | |
| Material | I_PurchaseRequisitionItemBasic | Material | Vehicle Model | |
| MaterialGroup | I_PurchaseRequisitionItemBasic | MaterialGroup | Product Group | |
| CostCenter | _PurReqAccAssgn | CostCenter | Cost Center | |
| ControllingArea | _PurReqAccAssgn | ControllingArea | Controlling Area | |
| WBSElementInternalID | ||||
| MasterFixedAsset | _PurReqAccAssgn | MasterFixedAsset | Fixed Asset | |
| FixedAsset | _PurReqAccAssgn | FixedAsset | Sub-number | |
| Fund | _PurReqAccAssgn | Fund | Sender Fund | |
| FundsCenter | _PurReqAccAssgn | FundsCenter | Funds Center | |
| CommitmentItemShortID | _PurReqAccAssgn | CommitmentItemShortID | Commitment Item Short ID | |
| GrantID | _PurReqAccAssgn | GrantID | Sender Grant | |
| FunctionalArea | _PurReqAccAssgn | FunctionalArea | Sendr Fctl Area | |
| PurReqnItemCurrency | I_PPS_PurchaseReqnBudget | PurReqnItemCurrency | Currency | |
| PPSCurCmtmtBdgtAmtInTransCrcy | I_PPS_PurchaseReqnBudget | PPSCurCmtmtBdgtAmtInTransCrcy | ||
| PPSCurPaytBdgtAmtInTransCrcy | I_PPS_PurchaseReqnBudget | PPSCurPaytBdgtAmtInTransCrcy | ||
| PPSUnfundedAmount | I_PPS_PurchaseReqnBudget | PPSUnfundedAmount | ||
| ItemNetAmount | I_PPS_PurchaseReqnBudget | ItemNetAmount | Tot. val. rel. | |
| _Material | _Material | |||
| _Grant | _Grant | |||
| _WBSElementByInternalKey | _WBSElementByInternalKey | |||
| _FunctionalArea | _FunctionalArea | |||
| _Fund | _Fund | |||
| _FundsCenter | _FundsCenter | |||
| _FinMgmtArea | _FinMgmtArea | |||
| _FiscalYearForFinMgmtArea | _FiscalYearForFinMgmtArea | |||
| _CommitmentItemShortID | _CommitmentItemShortID | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _CompanyCode | _CompanyCode | |||
| _Plant | _Plant | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _BusinessPartner | _BusinessPartner | |||
| _MaterialGroup | _MaterialGroup |
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_PurchaseReqnBudgetC.
-- 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_PurchaseReqnBudgetC AS
SELECT
PRBudget.PurchaseRequisition AS PurchaseRequisition,
PRBudget.PurchaseRequisitionItem AS PurchaseRequisitionItem,
PRBudget.PurReqnAcctAssgmtNmbr AS PurReqnAcctAssgmtNmbr,
PRBudget.FinancialManagementArea AS FinancialManagementArea,
PRBudget.CashEffectivityFiscalYear AS CashEffectivityFiscalYear,
PRBudget.TransactionType AS TransactionType,
_PurReqnExt.PPSSmartNumberHeader AS PPSSmartNumberHeader,
cast(_PurReqnItmExt.PPSSmartNumberItem as pps_e_smt_smart_number_itm preserving type ) AS PPSSmartNumberItem,
_PurReqnItmExt.PPSConfigurableLineItemNumber AS PPSConfigurableLineItemNumber,
_PurReqnHdr.CreationDate AS CreationDate,
_PurReqnItm.DeliveryDate AS DeliveryDate,
_Plant._ValuationArea.CompanyCode AS CompanyCode,
_PurReqnItmExt.PPSResponsiblePurchaser AS PPSResponsiblePurchaser,
_PurReqnItm.PurchasingOrganization AS PurchasingOrganization,
_PurReqnItm.PurchasingGroup AS PurchasingGroup,
_PurReqnItm.Plant AS Plant,
_PurReqnItm.Material AS Material,
_PurReqnItm.MaterialGroup AS MaterialGroup,
_PurReqAccAssgn.CostCenter AS CostCenter,
_PurReqAccAssgn.ControllingArea AS ControllingArea,
cast( _PurReqAccAssgn.WBSElementInternalID_2 as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
_PurReqAccAssgn.MasterFixedAsset AS MasterFixedAsset,
_PurReqAccAssgn.FixedAsset AS FixedAsset,
_PurReqAccAssgn.Fund AS Fund,
_PurReqAccAssgn.FundsCenter AS FundsCenter,
_PurReqAccAssgn.CommitmentItemShortID AS CommitmentItemShortID,
_PurReqAccAssgn.GrantID AS GrantID,
_PurReqAccAssgn.FunctionalArea AS FunctionalArea,
PRBudget.PurReqnItemCurrency AS PurReqnItemCurrency,
PRBudget.PPSCurCmtmtBdgtAmtInTransCrcy AS PPSCurCmtmtBdgtAmtInTransCrcy,
PRBudget.PPSCurPaytBdgtAmtInTransCrcy AS PPSCurPaytBdgtAmtInTransCrcy,
PRBudget.PPSUnfundedAmount AS PPSUnfundedAmount,
PRBudget.ItemNetAmount AS ItemNetAmount
FROM I_PPS_PurchaseReqnBudget AS PRBudget
INNER JOIN I_PPS_PurReqnHdrExtensionBasic AS _PurReqnExt ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurchaseRequisitionItemBasic AS _PurReqnItm ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PPS_PurchaseReqnHeaderDetail AS _PurReqnHdr ON _PurReqnHdr.PurchaseRequisition = PRBudget.PurchaseRequisition -- association [1..1]
LEFT OUTER JOIN I_PPS_PurReqnItmExtensionBasic AS _PurReqnItmExt ON PurchaseRequisition = _PurReqnItmExt.PurchaseRequisition AND PurchaseRequisitionItem = _PurReqnItmExt.PurchaseRequisitionItem -- association [1..1]
LEFT OUTER JOIN I_PurReqnAcctAssgmtBasic AS _PurReqAccAssgn ON PurchaseRequisition = _PurReqAccAssgn.PurchaseRequisition AND PurchaseRequisitionItem = _PurReqAccAssgn.PurchaseRequisitionItem AND PurReqnAcctAssgmtNmbr = _PurReqAccAssgn.PurchaseReqnAcctAssgmtNumber -- association [1..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Grant AS _Grant ON grantid = _Grant.GrantID -- association [0..1]
LEFT OUTER JOIN I_WBSElementByInternalKey AS _WBSElementByInternalKey ON WBSElementInternalID = _WBSElementByInternalKey.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON controllingarea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_FundsMgmtFunctionalArea AS _FunctionalArea ON functionalarea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND fund = _Fund.Fund -- association [0..1]
LEFT OUTER JOIN I_FundsCenter AS _FundsCenter ON FinancialManagementArea = _FundsCenter.FinancialManagementArea AND fundscenter = _FundsCenter.FundsCenter -- association [0..*]
LEFT OUTER JOIN I_FiscalYearForFinMgmtArea AS _FiscalYearForFinMgmtArea ON FinancialManagementArea = _FiscalYearForFinMgmtArea.FinancialManagementArea AND CashEffectivityFiscalYear = _FiscalYearForFinMgmtArea.FinMgmtAreaFiscalYear -- association [0..1]
LEFT OUTER JOIN I_CommitmentItemShortID AS _CommitmentItemShortID ON commitmentitemshortid = _CommitmentItemShortID.CommitmentItemShortID -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON costcenter = _CostCenter.CostCenter AND controllingarea = _CostCenter.ControllingArea -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON companycode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON masterfixedasset = _MasterFixedAsset.MasterFixedAsset AND companycode = _MasterFixedAsset.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON masterfixedasset = _FixedAsset.MasterFixedAsset AND fixedasset = _FixedAsset.FixedAsset AND companycode = _FixedAsset.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON ppsresponsiblepurchaser = _BusinessPartner.BusinessPartner -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA