C_SupplierListSupplierVH

DDL: C_SUPPLIERLISTSUPPLIERVH SQL: CMMSUPPLIER_VH Type: view CONSUMPTION

Supplier on Supplier List

C_SupplierListSupplierVH is a Consumption CDS View that provides data about "Supplier on Supplier List" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 22 fields with key field Supplier. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Supplier _Supplier from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_Supplier_to_BusinessPartner _Supplier_to_BusinessPartner $projection.Supplier = _Supplier_to_BusinessPartner.Supplier
[1..1] I_Address_2 _Address $projection.AddressID = _Address.AddressID and _Address.AddressPersonID = '' and _Address.AddressRepresentationCode = ''
[0..1] I_CountryText _CountryText $projection.Country = _CountryText.Country
[0..*] I_RegionText _RegionText $projection.region = _RegionText.Region and $projection.Country = _RegionText.Country
[0..1] I_SuplrListSuplrCountryGroup _SuplrListSuplrCountryGroup $projection.Country = _SuplrListSuplrCountryGroup.Country

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CMMSUPPLIER_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
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Supplier on Supplier List view
AbapCatalog.preserveKey true view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.personalData.blocking #REQUIRED view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
BusinessPartner
BusinessPartnerUUID _Supplier_to_BusinessPartner BusinessPartnerUUID UUID
SupplierName SupplierName Supplier Name
BusinessPartnerIsBlocked
AddressID AddressID Ship-to address
Country Country Venue: Ctry/Reg
Region _Address Region Venue Region
County _Address SecondaryRegionName County
FirstName
LastName
OrganizationBPName1 OrganizationBPName1 Name 1
OrganizationBPName2 OrganizationBPName2 Name 2
OrganizationBPName3
OrganizationBPName4
SupplierCountryGroup _SuplrListSuplrCountryGroup SupplierCountryGroup Country/Region Group
AuthorizationGroup AuthorizationGroup AuthorizGroup
SupplierAccountGroup SupplierAccountGroup Account group
_Address _Address
_RegionText _RegionText
CountryName _CountryText CountryName Country
_SuplrListSuplrCountryGroup _SuplrListSuplrCountryGroup

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_SupplierListSupplierVH.
-- 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: CMMSUPPLIER_VH

CREATE VIEW C_SupplierListSupplierVH AS
SELECT
  Supplier,
  _Supplier_to_BusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  _Supplier_to_BusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  SupplierName,
  _Supplier_to_BusinessPartner._BusinessPartner.BusinessPartnerIsBlocked AS BusinessPartnerIsBlocked,
  AddressID,
  Country,
  _Address.Region AS Region,
  _Address.SecondaryRegionName AS County,
  _Supplier_to_BusinessPartner._BusinessPartner.FirstName AS FirstName,
  _Supplier_to_BusinessPartner._BusinessPartner.LastName AS LastName,
  OrganizationBPName1,
  OrganizationBPName2,
  _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName3 AS OrganizationBPName3,
  _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName4 AS OrganizationBPName4,
  _SuplrListSuplrCountryGroup.SupplierCountryGroup AS SupplierCountryGroup,
  AuthorizationGroup,
  SupplierAccountGroup,
  _CountryText.CountryName AS CountryName
FROM I_Supplier AS _Supplier
LEFT OUTER JOIN I_Supplier_to_BusinessPartner AS _Supplier_to_BusinessPartner ON Supplier = _Supplier_to_BusinessPartner.Supplier  -- association [1..1]
LEFT OUTER JOIN I_Address_2 AS _Address ON AddressID = _Address.AddressID AND _Address.AddressPersonID = '' AND _Address.AddressRepresentationCode = ''  -- association [1..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country  -- association [0..1]
LEFT OUTER JOIN I_RegionText AS _RegionText ON region = _RegionText.Region AND Country = _RegionText.Country  -- association [0..*]
LEFT OUTER JOIN I_SuplrListSuplrCountryGroup AS _SuplrListSuplrCountryGroup ON Country = _SuplrListSuplrCountryGroup.Country  -- association [0..1]
;