on 10-05-2018 1:17 PM
Hello All,
I have a F4 help annotated in the CDS view for Fiori Elements List Report. In the Quick Actions Dialog, I am using a Field with F4 help, I have a Requirement that both key and description should be taken over into the Input field once the value is selected from the F4 help Result list. How can I achieve this ?
Best Regards,
Hello Tejas,
Thank you for the inputs.
@UI.hidden annotation is on field level. It is only for ColorCode attribute and does not apply to MaintPriorityDescription.
Still I remove it and tried. No Luck so far. Same behaviour as before.
If there is any way to do bring ID/description together( In Controller) once the value is selected from the F4 help result list, it would be good.
Best Regards,
Rekha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rekha,
may be @UI.hidden is preventing it to display. @UI.hidden annotation will not show your values in UI.
and Semantics work for 2 fields as far as my experience.
Remove the color code field and keep it later. Try if it works.
-----------
MaintPriority
@semantics.text true
MaintPriorityDescription
------------
It seems the semantics true is currently applied on hidden field and the priority description.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rekha,
how about using standard Interface view for Priority type and Priority provided by SAP : I_PMNotificationPriority . You can directly use that.
Or try to add Semantic.text : true and use the same for your property in the value help.
Regards,
tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tejas,
Thank you for the suggestion. I have been using the std interface view I_PMNotificationPriority ( via association _PMNotificationPriority). Semantic.text : true has been added on MaintPriorityDesc field and used as text element for MaintPriority as shown below. Even after these, only key is taken over( As shown in the origianl post). Both CDS view and Data binding are as shown. I am using the change event( right now empty) . can anything be done in the change event so that even description can be taken over along with key?
Hi,
You can make use of semantics and foreign key association in your key and value help.
Regards
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tejas,
Thank you for the inputs. The semantics and Foreign key association has been used in the CDS view.
However, if you can take a look at the attachment, in the UI I need to take over description along
with the key from the F4 help results into input field. Right now only key is taken over.
Best Regards,
Rekha
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.