How to check the visibility of a Web Dynpro input field
In my application, one input field could be set as invisible by
1, Component Configuration: The 3rd tab "Web Dynpro Built-in" -> Views and There Elements -> Visibility (Check the radio: No)
2, Administrator configuration: While the Web Dynpro is accessed through URL with parameter "sap-config-mode=X", the administrator can configure the visibility of the UI element through right click menu "Settings for Current Configuration".
Could any one tell me how could I know whether the input field is visible or not?
I have tried that in the WDDOMODIFYVIEW method of the view, the method CL_WD_UIELEMENT->get_visible( ) always returns '02' even if the input field is invisible.
Thanks in advance!