I_PPS_PurchaseRequestHeader
Purchase Request Header
I_PPS_PurchaseRequestHeader is a Composite CDS View that provides data about "Purchase Request Header" in SAP S/4HANA. It reads from 1 data source (I_PPS_PurchaseReqnHeaderDetail) and exposes 19 fields with key field PPSPurchaseRequest.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PPS_PurchaseReqnHeaderDetail | I_PPS_PurchaseReqnHeaderDetail | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.sapObjectNodeType.name | PPS_PurchaseRequest | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Purchase Request Header | view | |
| Feature | SW:PPS_NG_MVP2025 | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PPSPurchaseRequest | Requisition | ||
| PPSPurchaseRequestItem | Requisn. item | |||
| PPSPurchaseRequestDescription | PurReqn Description | |||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PPSPurchaseRequestType | Order Type | |||
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | Control | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| IsPurReqnOvrlRel | IsPurReqnOvrlRel | Overall req. rel. | ||
| PPSPurRequestIsInPreparation | Boolean Variable (X = True, - = False, Space = Unknown) | |||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| PPSFuturePostingDate | PPSFuturePostingDate | Future Posting Date | ||
| PPSSmartNumberHeader | PPSSmartNumberHeader | Smart Number | ||
| PPSSmartNumberHeaderIsManual | PPSSmartNumberHeaderIsManual | Checkbox | ||
| PPSBudgetImpact | PPSBudgetImpact | |||
| PPSPurchaseRequestUUID | ||||
| PPSPurgDocClassfctnCode | PPSPurgDocClassfctnCode | Doc Confidential | ||
| PPSPurchaseRequestStatus | Status | |||
| DocumentIsPPSPurchaseRequest | DocumentIsPPSPurchaseRequest |
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_PurchaseRequestHeader.
-- 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_PurchaseRequestHeader AS
SELECT
cast( PurchaseRequisition as pps_e_purchase_request ) AS PPSPurchaseRequest,
cast( PurchaseRequisitionItem as pps_e_purchase_request_item ) AS PPSPurchaseRequestItem,
cast( PurReqnDescription as pps_e_purchase_request_desc ) AS PPSPurchaseRequestDescription,
PurchasingDocumentCategory,
cast( PurchaseRequisitionType as pps_e_purchase_request_type ) AS PPSPurchaseRequestType,
PurchasingDocumentSubtype,
LastChangeDateTime,
IsPurReqnOvrlRel,
cast( PPSPurchaseReqnIsInPreparation as pps_e_pur_request_in_prep ) AS PPSPurRequestIsInPreparation,
CreationDate,
CreatedByUser,
PPSFuturePostingDate,
PPSSmartNumberHeader,
PPSSmartNumberHeaderIsManual,
PPSBudgetImpact,
cast( hextobin(PPSPurchaseRequisitionKey) as pps_e_purchase_request_uuid preserving type ) AS PPSPurchaseRequestUUID,
PPSPurgDocClassfctnCode,
cast( PPSPurReqnHeaderStatus as pps_e_pur_request_hdr_status ) AS PPSPurchaseRequestStatus,
DocumentIsPPSPurchaseRequest
FROM I_PPS_PurchaseReqnHeaderDetail
;
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