C_ProcmtHubPurReqnDocTypeVH

DDL: C_PROCMTHUBPURREQNDOCTYPEVH SQL: CPROHUBPURREQN Type: view CONSUMPTION Package: ODATA_MM_PUR_EXT_PR

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. It is exposed through 20 OData services (ASQL_F2704, ASQL_F2705, ASQL_F2705A, ...). Part of development package ODATA_MM_PUR_EXT_PR.

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

OData Services (20)

ServiceBindingVersionContractRelease
ASQL_F2704 ASQL_F2704 C2 NOT_RELEASED
ASQL_F2705 ASQL_F2705 C2 NOT_RELEASED
ASQL_F2705A ASQL_F2705A C2 NOT_RELEASED
ASQL_F2872 ASQL_F2872 C2 NOT_RELEASED
ASQL_F3043 ASQL_F3043 C2 NOT_RELEASED
ASQL_F3044 ASQL_F3044 C2 NOT_RELEASED
ASQL_F3173 ASQL_F3173 C2 NOT_RELEASED
ASQL_F3232 ASQL_F3232 C2 NOT_RELEASED
ASQL_F3316 ASQL_F3316 C2 NOT_RELEASED
ASQL_F3332 ASQL_F3332 C2 NOT_RELEASED
ASQL_F3401 ASQL_F3401 C2 NOT_RELEASED
ASQL_F3794 ASQL_F3794 C2 NOT_RELEASED
ASQL_F3976 ASQL_F3976 C2 NOT_RELEASED
ASQL_F3981 ASQL_F3981 C2 NOT_RELEASED
ASQL_F4400 ASQL_F4400 C2 NOT_RELEASED
ASQL_F4760 ASQL_F4760 C2 NOT_RELEASED
ASQL_F5289 ASQL_F5289 C2 NOT_RELEASED
ASQL_F5716 ASQL_F5716 C2 NOT_RELEASED
ASQL_F6194 ASQL_F6194 C2 NOT_RELEASED
ASQL_F6635 ASQL_F6635 C2 NOT_RELEASED

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]
;