C_ProcmtHubPurReqnDocTypeVH

DDL: C_PROCMTHUBPURREQNDOCTYPEVH SQL: CPROHUBPURREQN Type: view CONSUMPTION

PR document type consumption view

C_ProcmtHubPurReqnDocTypeVH is a Consumption CDS View that provides data about "PR document type consumption view" in SAP S/4HANA. It reads from 1 data source (I_ProcmtHubPurgDocType) and exposes 5 fields with key fields PurchasingDocumentType, ExtSourceSystem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProcmtHubPurgDocType I_ProcmtHubPurgDocType from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BackendSourceSystem _BackendSourceSystem $projection.ExtSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPROHUBPURREQN view
ObjectModel.representativeKey PurchasingDocumentType view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.semanticKey PurchasingDocumentType view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label PR document type consumption view view
Consumption.ranked true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType PurchasingDocumentType RFQ Type
KEY ExtSourceSystem ExtSourceSystem Connected System ID
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentTypeName
ProcurementHubSourceSystemName _BackendSourceSystem ProcurementHubSourceSystemName Connected System Name

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_ProcmtHubPurReqnDocTypeVH.
-- 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: CPROHUBPURREQN

CREATE VIEW C_ProcmtHubPurReqnDocTypeVH AS
SELECT
  PurchasingDocumentType,
  ExtSourceSystem,
  PurchasingDocumentCategory,
  _Purchasingdocumenttypetext[1:Language=$session.system_language].PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
  _BackendSourceSystem.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName
FROM I_ProcmtHubPurgDocType
LEFT OUTER JOIN I_BackendSourceSystem AS _BackendSourceSystem ON ExtSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem  -- association [1..1]
;