I_PPS_PurchaseRequestHeader

DDL: I_PPS_PURCHASEREQUESTHEADER Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_PPS_PurchaseReqnHeaderDetail I_PPS_PurchaseReqnHeaderDetail from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;