cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with default value in parameter statement of select-options

Former Member
0 Kudos

Hello @all,

I have a problem with my select-options statement. I have this coding for create a parameter:


* OTR Text auslesen
  CALL METHOD cl_wd_utilities=>get_otr_text_by_alias
    EXPORTING
      alias      = '/...WEB_APPL/COUNT_ENTRIES'
    RECEIVING
      alias_text = lv_text_count_ent.

  CREATE DATA lr_count_data TYPE i.
  ASSIGN lr_count_data->* TO <lv_count>.
  <lv_count> = 50.
  wd_this->mr_selopt->add_parameter_field(
            i_id           = lv_count_id
            i_description  = lv_text_count_ent
            i_value        = lr_count_data
            i_within_block = 'REQ_CRIT' ).

But when i deposit a defaul value for this field during runtime. The value will be overwrite from lr_count_data, when i start the application again. What can i do, that the default value will be displays? Or how could i read the default value, that i have save during run time???

Thanks and Regards

Chrisp

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

problem solved