on 2021 Apr 12 10:05 AM
Hi,
I am using Value help is displaying by using @Consumption.valueHelpDefinition: but it is not displaying and please find the below code.
1)I had created the below CDS View to get the list of Document Types

2)In the below CDS View i am using Annotation @Consumption.valueHelpDefinition: and given element and name(CDS View name)

3) As per the below screen still appearing as normal which should appear as valuehelp

Request clarification before answering.
Try something like this for your Value Help
@AbapCatalog.sqlViewName: 'ZVHSALESORDTYPE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Sales Order Types VH'
@ObjectModel.resultSet.sizeCategory: #XS
@Search.searchable: true
define view ZCDS_VH_SALES_ORDER_TYPES
as select from tvakt
{
@Search.defaultSearchElement: true
@ObjectModel.text.element: ['SalesOrderDescription']
key auart,
@Semantics.text: true
bezei as SalesOrderDescription
}
where
spras = 'E'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
I found out why for the ZI_COMPANYCODE_VH value is coming because for the field BUKRS there is search help and for the blart field there is no search help and can i know how to proceed.

but for field Blart there is not search help.

| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.