Skip to Content

Extend Fiori Elements app 'WBS Element Overview' with value help - does not appear

On S/4HANA 1610FPS02 we've implemented Fiori app: WBS Element Overview.

In the standard app only a few filter fields contains a value help.

We've tried to extend the underlying CDS (C_WBSElementWithVersion) which feeds the Fiori elements app, to add a value help to the field. With the extension of a CDS you can only add associations and add fields. You cannot enrich already available projection fields with annotations (correct me if i'm wrong).

For example we wanted a value help for the company code field, so this is how we extended CDS C_WBSElementWithVersion:

@AbapCatalog.sqlViewAppendName: 'ZCWBSWVERS_EXT'
@EndUserText.label: 'Extend view C_WBSElementWithVersion'
extend view C_WBSElementWithVersion with ZC_WBSELEMENTWITHVERSION_EXT
  association [0..1] to I_CompanyCode     as _CompanyCode     on  $projection.companycode2 = _CompanyCode.companycode
  @UI.selectionField.position: '90'
  @Consumption:{ valueHelp: '_CompanyCode' }
  WBSElement.CompanyCode as Companycode2

The extra field appears in the filter bar, but no value help is available. Has someone a clue? Is this supported for CDS extensions?

Here is some more info on the Value Help Based on Modelled View for the ABAP Programming Model for SAP Fiori. The mentioned @Search annotations are not used in the standard value help fields also.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers