Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7790

reseting default values for dropdown by key

$
0
0

In a standard WebDynpro application, a field type 'Dropdown By Key' is referring to a standard domain.  The dropdown values are coming from domain fixed value set.  There exists 3 values.

In WDDOINIT post exit, we modified reset to only two values out of three from domain. (our intention is we dont want one values to be displayed to user). We used IF_WD_NODE_INFO methof 'set_attribute_value_set' to reset the values.

 

After doing this still I am getting the third value (which is in domain) in drop down.

 

Please let me know how to remove this

 

ls_wd_value-value = lc_be.

  ls_wd_value-text  = lc_between.

  APPEND ls_wd_value TO lt_wd_values.

  CLEAR ls_wd_value.



  ls_wd_value-value = lc_at.

  ls_wd_value-text  = lc_on.

  APPEND ls_wd_value TO lt_wd_values.

  CLEAR ls_wd_value.


Viewing all articles
Browse latest Browse all 7790

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>