C_SupplierPurchOrgVH

DDL: C_SUPPLIERPURCHORGVH SQL: CSUPLRPORG_VH Type: view CONSUMPTION

Supplier Value Help with Org Data

C_SupplierPurchOrgVH is a Consumption CDS View that provides data about "Supplier Value Help with Org Data" in SAP S/4HANA. It reads from 1 data source (I_SupplierPurchasingOrg) and exposes 17 fields with key fields Supplier, PurchasingOrganization. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupplierPurchasingOrg _SupplierPurchasingOrg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_PurchasingOrgValueHelp _PurchasingOrgValueHelp _PurchasingOrgValueHelp.PurchasingOrganization = $projection.PurchasingOrganization

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSUPLRPORG_VH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.representativeKey Supplier view
EndUserText.label Supplier Value Help with Org Data 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
Consumption.ranked true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
SupplierName _Supplier SupplierName Supplier Name
Country
CityName
PostalCode
Region
SearchTerm _Supplier SortField Sort Field
FirstName
LastName
OrganizationBPName1
OrganizationBPName2
OrganizationBPName3
OrganizationBPName4
AuthorizationGroup AuthorizationGroup AuthorizGroup
_Supplier _Supplier
_PurchasingOrgValueHelp _PurchasingOrgValueHelp

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_SupplierPurchOrgVH.
-- 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: CSUPLRPORG_VH

CREATE VIEW C_SupplierPurchOrgVH AS
SELECT
  Supplier,
  PurchasingOrganization,
  _Supplier.SupplierName AS SupplierName,
  _Supplier._StandardAddress.Country AS Country,
  _Supplier._StandardAddress.CityName AS CityName,
  _Supplier._StandardAddress.PostalCode AS PostalCode,
  _Supplier._StandardAddress.Region AS Region,
  _Supplier.SortField AS SearchTerm,
  _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,
  AuthorizationGroup
FROM I_SupplierPurchasingOrg AS _SupplierPurchasingOrg
LEFT OUTER JOIN C_PurchasingOrgValueHelp AS _PurchasingOrgValueHelp ON _PurchasingOrgValueHelp.PurchasingOrganization = PurchasingOrganization  -- association [0..1]
;