C_PurchaseReqnSolution

DDL: C_PURCHASEREQNSOLUTION SQL: CPURCHREQNSOL Type: view CONSUMPTION

Purchase Requisition Solution

C_PurchaseReqnSolution is a Consumption CDS View that provides data about "Purchase Requisition Solution" in SAP S/4HANA. It reads from 1 data source (T_PurchaseReqn) and exposes 4 fields with key field PurchaseRequisition. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
T_PurchaseReqn T_PurchaseReqn from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_PurchaseReqnItemSolution _PurchaseReqnItemSolution _PurchaseReqnItemSolution.PurchaseRequisition = $projection.PurchaseRequisition

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CPURCHREQNSOL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Purchase Requisition Solution view
ObjectModel.representativeKey PurchaseRequisition view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition PurchaseRequisition Requisition
PurReqnDescription PurReqnDescription PurReqn Description
PurchaseRequisitionType PurchaseRequisitionType Order Type
_PurchaseReqnItemSolution _PurchaseReqnItemSolution

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 C_PurchaseReqnSolution.
-- 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: CPURCHREQNSOL

CREATE VIEW C_PurchaseReqnSolution AS
SELECT
  PurchaseRequisition,
  PurReqnDescription,
  PurchaseRequisitionType
FROM T_PurchaseReqn
LEFT OUTER JOIN C_PurchaseReqnItemSolution AS _PurchaseReqnItemSolution ON _PurchaseReqnItemSolution.PurchaseRequisition = PurchaseRequisition  -- association [0..*]
;