C_PurchaseReqnTypeVH

DDL: C_PURCHASEREQNTYPEVH SQL: CPURREQNTYPE Type: view CONSUMPTION

Purchase Reqn Type Value Help

C_PurchaseReqnTypeVH is a Consumption CDS View that provides data about "Purchase Reqn Type Value Help" in SAP S/4HANA. It has 1 association to related views.

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PurchasingDocumentTypeText _PurchasingDocumentTypeText $projection.PurchaseRequisitionType = _PurchasingDocumentTypeText.PurchasingDocumentType and _PurchasingDocumentTypeText.Language = $session.system_language and _PurchasingDocumentTypeText.PurchasingDocumentCategory = 'B'

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPURREQNTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchase Reqn Type Value Help view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey PurchaseRequisitionType view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisitionType I_PurchaseReqnDocumentType PurchaseRequisitionType Order Type
PurchasingDocumentTypeName _PurchasingDocumentTypeText PurchasingDocumentTypeName Description

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_PurchaseReqnTypeVH.
-- 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: CPURREQNTYPE

CREATE VIEW C_PurchaseReqnTypeVH AS
SELECT
  I_PurchaseReqnDocumentType.PurchaseRequisitionType AS PurchaseRequisitionType,
  _PurchasingDocumentTypeText.PurchasingDocumentTypeName AS PurchasingDocumentTypeName
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _PurchasingDocumentTypeText ON PurchaseRequisitionType = _PurchasingDocumentTypeText.PurchasingDocumentType AND _PurchasingDocumentTypeText.Language = $session.system_language AND _PurchasingDocumentTypeText.PurchasingDocumentCategory = 'B'  -- association [0..1]
;