Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

setting dynamic field control in bopf

0 Kudos

I want to control some fields whether editable or not by setting dynamic field control.

my solution as below:

1. check the field whether editable or not on some logical process and return checked result.

2. set the field control value of field(e.g. glaccount -> f_glaccount) by checked result.

3. implement the code at get_entity, get_entityset, execute_action, changeset_process method.

so, I have to implement the code at 4 methods. I think it's not good solution although it work.

anybody can help me to give a better solution.

thank you very much.


Active Participant
0 Kudos

Hello Seven,

it seems that you would like to expose a BOPF BO via OData. Is this a CDS-based BOPF BO?

Best regards