on 12-19-2017 11:05 AM
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.
Hi Molenaar,
In fiori apps library, a link is provided. It is clearly said how to extend.......
Key users can extend the app in the Custom Fields and Logic app using the following context(s)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.