C_MM_SupplierValueHelp

DDL: C_MM_SUPPLIERVALUEHELP SQL: CMMSUPLR_VH Type: view CONSUMPTION

Supplier

C_MM_SupplierValueHelp is a Consumption CDS View that provides data about "Supplier" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 30 fields with key fields Supplier, CompanyCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Supplier Supplier from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_BusinessPartnerSuplrCo _BusinessPartnerSuplrCo $projection.Supplier = _BusinessPartnerSuplrCo.Supplier
[1..1] I_Supplier_to_BusinessPartner _Supplier_to_BusinessPartner $projection.Supplier = _Supplier_to_BusinessPartner.Supplier
[0..*] I_CountryText _CountryText $projection.Country = _CountryText.Country

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CMMSUPLR_VH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
Consumption.ranked true view
ObjectModel.representativeKey Supplier view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Supplier view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY Supplier I_Supplier Supplier
KEY CompanyCode _BusinessPartnerSuplrCo CompanyCode
SupplierName I_Supplier SupplierName
Country
CityName
PostalCode
Region
SortField I_Supplier SortField
FirstName
LastName
OrganizationBPName1
OrganizationBPName2
OrganizationBPName3
OrganizationBPName4
AuthorizationGroup I_Supplier AuthorizationGroup
SupplierAccountGroup I_Supplier SupplierAccountGroup
IsBusinessPurposeCompleted I_Supplier IsBusinessPurposeCompleted
DataControllerSet DataControllerSet
DataController1 DataController1
DataController2 DataController2
DataController3 DataController3
DataController4 DataController4
DataController5 DataController5
DataController6 DataController6
DataController7 DataController7
DataController8 DataController8
DataController9 DataController9
DataController10 DataController10
_BusinessPartnerSuplrCo _BusinessPartnerSuplrCo
_CountryText _CountryText
@AbapCatalog.sqlViewName: 'CMMSUPLR_VH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@VDM.viewType: #CONSUMPTION

@ObjectModel.dataCategory: #VALUE_HELP

@Search.searchable: true
@Consumption.ranked: true

@ObjectModel.semanticKey: ['Supplier', 'CompanyCode']
@ObjectModel.representativeKey: 'Supplier'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Supplier'
@ClientHandling.algorithm: #SESSION_VARIABLE

define view C_MM_SupplierValueHelp
  as select from I_Supplier as Supplier

  association [0..*] to I_BusinessPartnerSuplrCo      as _BusinessPartnerSuplrCo      on $projection.Supplier = _BusinessPartnerSuplrCo.Supplier

  association [1..1] to I_Supplier_to_BusinessPartner as _Supplier_to_BusinessPartner on $projection.Supplier = _Supplier_to_BusinessPartner.Supplier

  association [0..*] to I_CountryText                 as _CountryText                 on $projection.Country = _CountryText.Country

{

         @ObjectModel.text.element:  [ 'SupplierName' ]
         @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8
          } //3074361

  key    Supplier.Supplier                                                 as Supplier,

         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
  key    _BusinessPartnerSuplrCo.CompanyCode                               as CompanyCode,

         @Semantics.text: true
         Supplier.SupplierName                                             as SupplierName,

         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         @Semantics.address.country: true
         // commented since re-generation of gateway project is necessary

         //         @ObjectModel.text.association: '_CountryText'

         @UI.textArrangement: #TEXT_ONLY
         Supplier._StandardAddress.Country                                 as Country,

         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         Supplier._StandardAddress.CityName                                as CityName,

         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 1.0 }
         Supplier._StandardAddress.PostalCode                              as PostalCode,

         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 1.0 }
         Supplier._StandardAddress.Region                                  as Region,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         Supplier.SortField                                                as SortField,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.FirstName           as FirstName,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.LastName            as LastName,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName1 as OrganizationBPName1,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName2 as OrganizationBPName2,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName3 as OrganizationBPName3,

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
         _Supplier_to_BusinessPartner._BusinessPartner.OrganizationBPName4 as OrganizationBPName4,

         //for DCL

         @UI.hidden: true
         Supplier.AuthorizationGroup,
         @UI.hidden: true
         Supplier.SupplierAccountGroup,
         @UI.hidden: true
         @Consumption.filter.hidden: true
         @Consumption.hidden: true
         Supplier.IsBusinessPurposeCompleted,
         @UI.hidden: true
         @Consumption.hidden: true
         DataControllerSet,
         @Consumption.hidden: true
         @UI.hidden: true
         DataController1,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController2,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController3,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController4,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController5,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController6,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController7,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController8,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController9,
         @UI.hidden: true
         @Consumption.hidden: true
         DataController10,

         @ObjectModel.foreignKey.association: '_BusinessPartnerSuplrCo'
         _BusinessPartnerSuplrCo,
         _CountryText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS",
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERSUPLRCO",
"I_SUPPLIER",
"I_SUPPLIER_TO_BUSINESSPARTNER"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNERSUPLRCO",
"I_COUNTRYTEXT",
"I_SUPPLIER_TO_BUSINESSPARTNER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/