on 09-11-2023 7:51 AM
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:
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.
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.
OData V4: irrespective of the field name in abstract entity and behavior entity, current value is NOT displayed, but dropdown list is displayed.
Any idea, how to make this work? We have an abstract entity for parameter. @Consumption.valueHelpDefinition annotation is used for the dropdown.
Regards,
Anupam
Hi Anupam,
If you are on BTP environment, you can use below.
// Search Term #ParameterDefaultValue
@UI.defaultValue : #( 'ELEMENT_OF_REFERENCED_ENTITY: CriticalityCode')
criticality_code : abap.int4;
Best wishes,
Ramjee Korada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.