I_Purchaserequisition

DDL: I_PURCHASEREQUISITION SQL: IPURREQN Type: view COMPOSITE

Purchase Requisition Header

I_Purchaserequisition is a Composite CDS View that provides data about "Purchase Requisition Header" in SAP S/4HANA. It has 2 associations to related views.

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Purreqnlastmodified _Purreqnlastmodified $projection.PurchaseRequisition = _Purreqnlastmodified.PurchaseRequisition
[1..1] I_PurReqnCreationDate _Purreqncreationdate $projection.PurchaseRequisition = _Purreqncreationdate.PurchaseRequisition

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPURREQN view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
EndUserText.label Purchase Requisition Header view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey PurchaseRequisition view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition PurchaseRequisition Requisition
PurReqnDescription PurReqnDescription PurReqn Description
PurReqnSSPRequestor PurReqnSSPRequestor Requestor
PurReqnSSPAuthor PurReqnSSPAuthor Author
PurReqnOrigin PurReqnOrigin Creation ind.
PurchaseRequisitionType PurchaseRequisitionType Order Type
IsPurReqnOvrlRel IsPurReqnOvrlRel Overall req. rel.
PurReqnIsCreatedInExpertMode PurReqnIsCreatedInExpertMode
IsOnBehalfCart IsOnBehalfCart Shop On Behalf Ind.
PurReqnRequestor PurReqnRequestor Requestor
LastChangeDateTime _Purreqnlastmodified LastChangeDateTime Timestamp
_Purreqnlastmodified _Purreqnlastmodified
_PurchaseRequisition _PurchaseRequisition
CreationDate _Purreqncreationdate CreationDate Time Stamp
_Purreqncreationdate _Purreqncreationdate

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_Purchaserequisition.
-- 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: IPURREQN

CREATE VIEW I_Purchaserequisition AS
SELECT
  PurchaseRequisition,
  PurReqnDescription,
  PurReqnSSPRequestor,
  PurReqnSSPAuthor,
  PurReqnOrigin,
  PurchaseRequisitionType,
  IsPurReqnOvrlRel,
  PurReqnIsCreatedInExpertMode,
  IsOnBehalfCart,
  PurReqnRequestor,
  _Purreqnlastmodified.LastChangeDateTime AS LastChangeDateTime,
  _Purreqncreationdate.CreationDate AS CreationDate
LEFT OUTER JOIN I_Purreqnlastmodified AS _Purreqnlastmodified ON PurchaseRequisition = _Purreqnlastmodified.PurchaseRequisition  -- association [1..1]
LEFT OUTER JOIN I_PurReqnCreationDate AS _Purreqncreationdate ON PurchaseRequisition = _Purreqncreationdate.PurchaseRequisition  -- association [1..1]
;