Skip to Content
0
Sep 11, 2023 at 06:51 AM

Issue with dropdown value in RAP Action

132 Views

Hi Members,

We are using RAP action with parameter for status update. Once clicked on the 'Update Status' action button the current status to be displayed and dropdown of the status values to be displayed for users to choose from. This is what we are looking for:

image.png

We are not able to achieve both; either we get the current raw value of the status or the dropdown. Please refer to the screenshots below.

OData V2: abstract entity has same field name as behavior entity field name: In this situation current raw value(not the associated text) is displayed, but NO dropdown list is displayed.

image.png

OData V2: abstract entity has different field name from behavior entity field name: In this situation current value is NOT displayed, but dropdown list is displayed.

image.png

image.png

OData V4: irrespective of the field name in abstract entity and behavior entity, current value is NOT displayed, but dropdown list is displayed.

image.png

Any idea, how to make this work? We have an abstract entity for parameter. @Consumption.valueHelpDefinition annotation is used for the dropdown.

Regards,

Anupam

Attachments

image.png (21.6 kB)
image.png (21.0 kB)
image.png (34.5 kB)
image.png (41.3 kB)
image.png (18.8 kB)
image.png (18.8 kB)