on 10-01-2012 4:49 PM
Hi Experts,
How can we hide the Select-options in web dynpro abap based on conditions .
conditions which are coming from frist screen.
Thanks in advance
Prakhar
Hi Prakar,
What ever phani kumar saiud is right u need to create a Attribute of WDUI_VISBILITY type and bind that Attribute to View container in which u have created for Select-options and based on conditions u can set the Visibility.
This will work fine.
Regards
Madhukiran m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
I have done the same thing bind the UI element with attribute WDUI_VISIBILITY but I am getting error 'Could not find attribute - Shipping' . Where 'Shipping' is an UI of type 'viewcontainerUIElement' type element..
For more details of my problem please refer - http://scn.sap.com/thread/3302549
Is it that we can't hide Select-Options?
Thanks and Regards.
Rajender
Hi,
I am not sure whether you can hide the select option or not. I havent tried it before. If you are finding difficulty in hiding the select option why dont you try to remove the field at runtime using REMOVE_SELECTION_SCREEN_ITEM method of select option interface If_wd_select_options.Hope it may work.
Best regards,
Arun Krishnamoorthy
Hi Prakhar,
You can add a attribute in the context for visibility and bid it to the View Container you are using for the Select -Options and fill the value for that variable basded on your condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.