cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RAP Dynamic feature control for multi inline editing

fgalastri
Explorer
0 Likes
1,626

Hello experts !

I'm trying to set some fields "read-only" using dynamic feature control ( BTP environment ), but only when the screen is refreshed/changed the changes are effective.

If I'm editing items using multi inline editing, the fields are not set to read-only unless I refresh the screen. The material AA sets the field quantity read-only.

After refreshing the screen :

Or going to the detail page

Does anybody know if it's possible to make the dynamic feature control work in this scenario without needing to refresh the screen ?

Thanks for your help.

Regards,

Fabiano.

Accepted Solutions (0)

Answers (2)

Answers (2)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

A refresh has to take place in order to activate the changes in the screen.

What you probably mean is whether the refresh can be triggered.

For this you would have to use so called "side-effects".

These do however only work with a deployed app, not with the SAP Fiori Elements preview. This is because side effects can only be configured in an annotation.xml file. It is not possible to configure side effects using annotations in the backend.

Former Member
0 Likes

So, it's more like a Module Pool analogy we need the PBO. But Andre is it possible to call a refresh method like we always did with ALVs ? Suppose I don't want to reload the entire stuff?

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Likes

A side effect can be configured such that only single fields are reloaded.

fgalastri
Explorer
0 Likes

Thank you very much Andre !

I'll do some research and try that. As soon as it works I'll let you know.