C_LCMSupplierValueHelp

DDL: C_LCMSUPPLIERVALUEHELP SQL: CLCMSUPPLVH Type: view CONSUMPTION Package: ODATA_LCM_LT

Supplier Value Help

C_LCMSupplierValueHelp is a Consumption CDS View that provides data about "Supplier Value Help" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 33 fields with key fields Supplier, CompanyCode. It has 2 associations to related views. Part of development package ODATA_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_Supplier I_Supplier from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_BusinessPartnerSuplrCo _BusinessPartnerSuplrCo $projection.Supplier = _BusinessPartnerSuplrCo.Supplier
[1..1] I_Supplier_to_BusinessPartner _SupplierBusinessPartner $projection.Supplier = _SupplierBusinessPartner.Supplier

Annotations (16)

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

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier
KEY CompanyCode _BusinessPartnerSuplrCo CompanyCode
BusinessPartner
BusinessPartnerName Business Partner Name
CityName _AddressRepresentation CityName
PostalCode _AddressRepresentation PostalCode
Region _AddressRepresentation Region
Country _AddressRepresentation Country
StreetName _AddressRepresentation StreetName
PhoneNumber
EmailAddress
LglCntntMSupplierFirstName
LglCntntMSupplierLastName
LglCntntMSupplierOrgFirstName
LglCntntMSupplierOrgSecondName
LglCntntMSupplierGrpFirstName
LglCntntMSupplierGrpSecondName
_BusinessPartnerSuplrCo _BusinessPartnerSuplrCo
_SupplierBusinessPartner _SupplierBusinessPartner
AuthorizationGroup AuthorizationGroup
SupplierAccountGroup SupplierAccountGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted
DataControllerSet I_Supplier DataControllerSet
DataController1 I_Supplier DataController1
DataController2 I_Supplier DataController2
DataController3 I_Supplier DataController3
DataController4 I_Supplier DataController4
DataController5 I_Supplier DataController5
DataController6 I_Supplier DataController6
DataController7 I_Supplier DataController7
DataController8 I_Supplier DataController8
DataController9 I_Supplier DataController9
DataController10 I_Supplier DataController10
@AbapCatalog.sqlViewName: 'CLCMSUPPLVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { semanticKey: ['Supplier', 'CompanyCode'],
                representativeKey: 'Supplier',
                usageType.dataClass: #MASTER,
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #XL,
                dataCategory: #VALUE_HELP }
@EndUserText.label: 'Supplier Value Help'
@Consumption.ranked: true
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view C_LCMSupplierValueHelp
  as select from I_Supplier

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

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

{
         @ObjectModel.text.element:  [ 'BusinessPartnerName' ]
         @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
         @UI.selectionField: [{ position: 10 }]
         @UI.lineItem: [{ position: 10 }]
  key    Supplier                                                                           as Supplier,

         @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
         @UI.selectionField: [{ position: 50 }]
         @UI.lineItem: [{ position: 50 }]
  key    _BusinessPartnerSuplrCo.CompanyCode                                                as CompanyCode,

         @UI.selectionField: [{ position: 30 }]
         @UI.lineItem: [{ position: 30 }]
         _SupplierBusinessPartner._BusinessPartner.BusinessPartner                          as BusinessPartner,

         @Semantics.text: true
         @UI.selectionField: [{ position: 40 }]
         @UI.lineItem: [{ position: 40 }]
         @EndUserText.label: 'Business Partner Name'
         _SupplierBusinessPartner._BusinessPartner.BusinessPartnerName                      as BusinessPartnerName,

         @UI.selectionField: [{ position: 60 }]
         @UI.lineItem: [{ position: 60 }]
         _AddressRepresentation.CityName                                                    as CityName,

         @UI.selectionField: [{ position: 70 }]
         @UI.lineItem: [{ position: 70 }]
         _AddressRepresentation.PostalCode                                                  as PostalCode,

         @UI.selectionField: [{ position: 80 }]
         @UI.lineItem: [{ position: 80 }]
         _AddressRepresentation.Region                                                      as Region,

         @UI.selectionField: [{ position: 90 }]
         @UI.lineItem: [{ position: 90 }]
         _AddressRepresentation.Country                                                     as Country,

         @UI.selectionField: [{ position: 100 }]
         @UI.lineItem: [{ position: 100 }]
         _AddressRepresentation.StreetName                                                  as StreetName,

         @UI.selectionField: [{ position: 110 }]
         @UI.lineItem: [{ position: 110 }]
         _AddressRepresentation._CurrentDfltLandlinePhoneNmbr.PhoneAreaCodeSubscriberNumber as PhoneNumber,

         @UI.selectionField: [{ position: 120 }]
         @UI.lineItem: [{ position: 120 }]
         _AddressRepresentation._CurrentDfltEmailAddress.EmailAddress                       as EmailAddress,

         // Added for Fuzzy Search Capabilities

         // In the I_BusinessPartner CDS View, BusinessPartnerName is calcuated using CASE and CONCAT

         // Hence, Fuzzy Search can't be enabled for BusinessPartnerName field.

         // As an altreanative, enabling the fuzzy search on following fields.


         // BEGIN OF FUZZY SEARCH RELATED FIELDS

         // For Supplier Name

         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.FirstName                                as LglCntntMSupplierFirstName,
         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.LastName                                 as LglCntntMSupplierLastName,
         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.OrganizationBPName1                      as LglCntntMSupplierOrgFirstName,
         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.OrganizationBPName2                      as LglCntntMSupplierOrgSecondName,
         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.GroupBusinessPartnerName1                as LglCntntMSupplierGrpFirstName,
         @UI.hidden: true
         @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
         _SupplierBusinessPartner._BusinessPartner.GroupBusinessPartnerName2                as LglCntntMSupplierGrpSecondName,
         // END OF FUZZY SEARCH RELATED FIELDS


         @Consumption.filter.hidden: true
         _BusinessPartnerSuplrCo,
         
         @Consumption.filter.hidden: true
         _SupplierBusinessPartner,

         //Added for DPP

         @UI.hidden: true
         AuthorizationGroup,

         @UI.hidden: true
         SupplierAccountGroup,

         @UI.hidden: true
         @Semantics.booleanIndicator: true
         IsBusinessPurposeCompleted,

         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataControllerSet,
         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController1,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController2,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController3,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController4,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController5,
         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController6,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController7,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController8,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController9,
         //added only for DCL check

         @Consumption.hidden:true
         @UI.hidden:true
         I_Supplier.DataController10
}