C_ProcmtHubSupplierPurgOrgVH

DDL: C_PROCMTHUBSUPPLIERPURGORGVH SQL: CHUBSUPLRPORG_VH Type: view CONSUMPTION Package: ODATA_MM_PUR_EXT_PR

Consumption View For Supplier Value Help

C_ProcmtHubSupplierPurgOrgVH is a Consumption CDS View that provides data about "Consumption View For Supplier Value Help" in SAP S/4HANA. It reads from 1 data source (I_SupplierPurchasingOrg) and exposes 18 fields with key fields Supplier, PurchasingOrganization, ProcurementHubSourceSystem. It has 1 association to related views. Part of development package ODATA_MM_PUR_EXT_PR.

Data Sources (1)

SourceAliasJoin Type
I_SupplierPurchasingOrg _SupplierPurchasingOrg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH.ProcurementHubSourceSystemName = $projection.ProcurementHubSourceSystem and _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = $projection.PurchasingOrganization

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CHUBSUPLRPORG_VH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
Search.searchable true view
EndUserText.label Consumption View For Supplier Value Help view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY ProcurementHubSourceSystem Connected System
SupplierName _Supplier SupplierName Supplier Name
Country Country/Region
CityName
PostalCode
Region
FirstName
LastName
OrganizationBPName1
OrganizationBPName2
OrganizationBPName3
OrganizationBPName4
ExtSourceSystem
AuthorizationGroup AuthorizationGroup AuthorizGroup
_Supplier _Supplier
_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH

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_ProcmtHubSupplierPurgOrgVH.
-- 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: CHUBSUPLRPORG_VH

CREATE VIEW C_ProcmtHubSupplierPurgOrgVH AS
SELECT
  Supplier,
  PurchasingOrganization,
  cast('' as abap.char( 10)) AS ProcurementHubSourceSystem,
  _Supplier.SupplierName AS SupplierName,
  _Supplier._AddressRepresentation.Country AS Country,
  _Supplier._AddressRepresentation.CityName AS CityName,
  _Supplier._AddressRepresentation.PostalCode AS PostalCode,
  _Supplier._AddressRepresentation.Region AS Region,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.FirstName AS FirstName,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.LastName AS LastName,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.OrganizationBPName1 AS OrganizationBPName1,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.OrganizationBPName2 AS OrganizationBPName2,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.OrganizationBPName3 AS OrganizationBPName3,
  _Supplier._SupplierToBusinessPartner._BusinessPartner.OrganizationBPName4 AS OrganizationBPName4,
  cast( '' as abap.char(60)) AS ExtSourceSystem,
  AuthorizationGroup
FROM I_SupplierPurchasingOrg AS _SupplierPurchasingOrg
LEFT OUTER JOIN C_ProcmtHubPurgOrgVH AS _ProcmtHubPurgOrgVH ON _ProcmtHubPurgOrgVH.ProcurementHubSourceSystemName = ProcurementHubSourceSystem AND _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = PurchasingOrganization  -- association [0..1]
;