on 01-03-2022 12:40 PM
We all know, we have selection screen events in classical ABAP , where based on input, the selection screen can be altered like we can hide/enable certain input fields .
Is something similar possible when using SAP Fiori elements via CDS annotation ?
Unfortunately, we can only be creative with how we use the framework.
I think in your case, instead of having 2 radio buttons, you can have 2 types of views in the list page.
Each view will have its own selection screen fields and result table columns.
You can refer to this link:
https://sapui5.hana.ondemand.com/sdk/#/topic/37aeed74e17a42caa2cba3123f0c15fc
Basically, the first tab represents radio button A and second tab represents radio button B. You can try to play around and feel free to ask if you encountered any challenges.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The concept of a field(s) or an action influencing some other field(s) / control(s) is termed as Side Effects in Fiori Elements.
Please check the documentation and see if it helps.
https://sapui5.hana.ondemand.com/#/topic/18b17bdd49d1436fa9172cbb01e26544
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun, Thanks for checking this, but unfortunately this suggested solution , does not enable/disable fields on screen, my requirement is to have a input screen with two radiobuttons :
1. Option 1
2. Option 2
When Option 1 is chosen , I have to enable (display) 3 unique fields for input to user
When Option 2 is chose , I have to enable (display) different 3 unique fields for inputs to user.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.