Skip to Content
0
Former Member
Jul 24, 2007 at 09:41 AM

Default Value for parameter field

33 Views

Hi,

i tried to add a default value to a parameter field with the following code.

  CREATE DATA lr_data TYPE (wd_assist->c_kagru).
  ASSIGN lr_data->* TO <fs_any>.
  <fs_any> = wd_assist->c_kagru_planung.

  wd_this->mr_selopt->add_parameter_field(
      i_id                         = wd_assist->c_kagru
      i_value                      = lr_data
      i_read_only                  = abap_true
*      i_dont_care_value            = lr_data
         ).

If I use "i_dont_care_value" the application dumps.

Pls, let me know if any one knows.

Thanks

Marcus