cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the visibility of a Web Dynpro input field

Former Member
0 Kudos

Hi,

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!

Cheers,

David

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

See this: [Component and Application Configuration|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c].

Regards.

Answers (0)