P_PurchaseReqnCommitment
P_PurchaseReqnCommitment is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItem, I_PurchaseReqn) and exposes 33 fields with key fields PurchaseRequisition, PurchaseRequisitionItem, AccountAssignmentNumber, SourceReferenceDocSubitem, GLAccount.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | I_GLAccountLineItem | from |
| I_PurchaseReqn | PurchaseReqn | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURREQNCOMMIT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisition | SourceReferenceDocument | Reference Doc. | |
| KEY | PurchaseRequisitionItem | |||
| KEY | AccountAssignmentNumber | AccountAssignmentNumber | Account Assgmt No. | |
| KEY | SourceReferenceDocSubitem | SourceReferenceDocSubitem | ||
| KEY | GLAccount | GLAccount | General Ledger | |
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | FunctionalArea | FunctionalArea | Sendr Fctl Area | |
| KEY | PostingDate | PostingDate | Posting Date for GR | |
| KEY | CompanyCode | I_GLAccountLineItem | CompanyCode | Receiver Company Code |
| KEY | CashLedgerAccount | CashLedgerAccount | Cash Origin Account | |
| KEY | Fund | Fund | Sender Fund | |
| KEY | GrantID | GrantID | Sender Grant | |
| KEY | BudgetPeriod | BudgetPeriod | Budget Period | |
| KEY | PubSecBudgetAccount | PubSecBudgetAccount | Budget Account | |
| KEY | PubSecBudgetAccountCoCode | PubSecBudgetAccountCoCode | Company Code for Budget Account | |
| KEY | PubSecBudgetIsRelevant | PubSecBudgetIsRelevant | ||
| KEY | PubSecBudgetCnsmpnType | PubSecBudgetCnsmpnType | Budget Consumption Type | |
| KEY | CostCenter | CostCenter | Cost Center | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | Segment | Segment | Segment number | |
| KEY | WBSElementInternalID | WBSElementInternalID | WBS Internal ID | |
| KEY | AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | |
| KEY | AccountAssignment | AccountAssignment | Sender Acct Assgmt | |
| Ledger | Ledger | Ledger | ||
| IsCommitment | IsCommitment | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| CashLedgerCompanyCode | CashLedgerCompanyCode | Cash Origin CoCode | ||
| _FunctionalArea | _FunctionalArea | |||
| _CashLedgerAccount | _CashLedgerAccount | |||
| _PubSecBudgetAccount | _PubSecBudgetAccount | |||
| _PubSecBudgetCnsmpnType | _PubSecBudgetCnsmpnType |
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 P_PurchaseReqnCommitment.
-- 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.
-- SQL view name: PPURREQNCOMMIT
CREATE VIEW P_PurchaseReqnCommitment AS
SELECT
SourceReferenceDocument AS PurchaseRequisition,
right(SourceReferenceDocumentItem, 5 ) AS PurchaseRequisitionItem,
AccountAssignmentNumber,
SourceReferenceDocSubitem,
GLAccount,
ControllingArea,
FunctionalArea,
PostingDate,
I_GLAccountLineItem.CompanyCode AS CompanyCode,
CashLedgerAccount,
Fund,
GrantID,
BudgetPeriod,
PubSecBudgetAccount,
PubSecBudgetAccountCoCode,
PubSecBudgetIsRelevant,
PubSecBudgetCnsmpnType,
CostCenter,
ProfitCenter,
Segment,
WBSElementInternalID,
AccountAssignmentType,
AccountAssignment,
Ledger,
IsCommitment,
TransactionCurrency,
CompanyCodeCurrency,
GlobalCurrency,
CashLedgerCompanyCode
FROM I_GLAccountLineItem
INNER JOIN I_PurchaseReqn AS PurchaseReqn ON /* join condition not captured in parsed metadata */
;
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