on 07-05-2023 12:07 PM
Hello All,
I am working on Fiori Elements based application in RAP framework (without draft functoinality). In my requirement , I have two key fields say WBS and Cost center. Either of the two will be filled.
If I don't touch enter any value in one of the field and enter other one , its saving correctly.
However in edit mode, if I just type some value and remove it(**without even saving) in blank field, it starts giving error that 'Enter Valid Value'
I can understand that as it's a key field , its not accepting blank value, but its not full key, its just a part of key. Also I have not even saved it , just entering on UI and then removing it triggers error.
Some solutions suggest GUID based key instead of below two. However in that case we need to do all Key related validations manually.
Hello Abhishek,
Keys should not be editable in Update mode ( When EDIT button is clicked ). To make these fields not editable during EDIT, in the BDEF please use the syntax
field ( readonly : update ) <WBS>, <Cost Center>;
Regards,
Naveen Kumar Chikkanna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.