cancel
Showing results for 
Search instead for 
Did you mean: 

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

JWMolenaar1
Explorer
0 Kudos

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.

0 Kudos

Hi Molenaar,

Did you find a solution please. I am facing the same issue.

Kind Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

sanjoy0308
Active Participant
0 Kudos

Hi Molenaar,

In fiori apps library, a link is provided. It is clearly said how to extend.......

  • For key users and developers

    Key users can extend the app in the Custom Fields and Logic app using the following context(s)

    • PS_WBSELEMENT