2023 Jun 12 11:33 AM
Hello team,
is there any way to change this property dynamically through code.
Thanks in advance.
2023 Jun 12 11:51 AM
Hello ananthum007
I don't think it is possible. The field attributes that can be modified dynamically are defined in the SCREEN structure. Response to double click is not there.
But why would you need to modify that? Instead simply activate that attribute in the screen painter and if you don't want to respond to a double click, simply ignore it. This way you don't need to deactive the attribute dynamically.
Best regards
Dominik Tylczynski
2023 Jun 12 11:51 AM
Hello ananthum007
I don't think it is possible. The field attributes that can be modified dynamically are defined in the SCREEN structure. Response to double click is not there.
But why would you need to modify that? Instead simply activate that attribute in the screen painter and if you don't want to respond to a double click, simply ignore it. This way you don't need to deactive the attribute dynamically.
Best regards
Dominik Tylczynski
2023 Jun 12 1:39 PM
Thanks for the Reply 3a9e4ce873a94034b33dc62b0ce600ee
Actually i want to disable that Feild as a link dynamically because based on some conditions only the text field should act as a link. Otherwise, it should only be displayed as a normal text field.2023 Jun 12 2:26 PM
ananthum007 As I said, I do not think it is possible to manipulate "Responds to double-click" attribute. So you need to have it active irrespective if the text acts as a link or not. But you can dynamically set the INTENSIFIED attribute. So how about, if a text field acts as a link you intensify the field and react to double-click appropriately. If the field is displayed as a normal text, you don't intensify it and ignore double-clicks.
2023 Jun 12 4:08 PM
ananthum007 If really you need it (dynpro screens are ugly anyway), you may define 2 different fields in 2 lines, first one with "Responds to double-click" activated, second one deactivated, but display only one of the two lines via SCREEN-ACTIVE (also dynpro should have its compression mode activated).
A workaround to dynamic "Responds to double-click" is e.g. adding an icon button, and make it active or inactive.
2023 Jun 13 6:22 AM