cancel
Showing results for 
Search instead for 
Did you mean: 

@Consumption.valueHelpDefinition not working in abstract entity

Boguslaw
Discoverer
0 Kudos

Hello everybody,

I have created a simply abstract entity:

@EndUserText.label: 'Popup for events'
@Metadata.allowExtensions: true
define abstract entity ZD_EVENTPOPUP_WR 
{   
    @Consumption.valueHelpDefinition: [{ entity: { name:    'ZI_EVENTCODEVH_WR',
                                                   element: 'InspectionCode'  } }]
    @ObjectModel.mandatory: true       
    @EndUserText.label: 'Code'                                        
    Ereignis           : zpwr_event_code;
        
    @ObjectModel.mandatory: true   
    @EndUserText.label: 'Notification date'  
    Meldungsdatum : aedat;
    
    @EndUserText.label: 'Notification text'  
    Meldungstext : ktext;
} 

I use this entity as a popup (parameters) for an action. It works as expected in preview from ADT (the ValueHelpButton is shown:

But in the App (Fiori Elements generated from WebIDE ) the annotation doesn't work - ViewHelpButton is not shown:

By the way - the @EndUserText.label not work for Element as well (the enitity name ist shown as a label!) Could anybody explain me what is wrong in my entity definition?

Regards,

Boguslaw

Sandra_Rossi
Active Contributor
0 Kudos

Better embed the screenshots in your question, instead of using hyperlinks, so that we can understand the question without the need of clicking to see all of them.

0 Kudos

Hello.

Did you find a solution for the problem.

I have exact the same issue.

Regards,

Peer

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Delete the parameter from the manifest.json

"sap-value-list": "none"