Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

select-options : memory id

Former Member
0 Likes
1,909

Hi all,

In my selection screen I am using a select-options as


select-options:     s_lot   for qals-prueflos
                    matchcode object qals
                    modif id in1
                    memory id qls.

My question is when I execute my program with a range of values for inspection lot and back out and come to selection screen again I see the inspection lot value only in <b>s_lot-low</b> but not in <b>s_lot-high</b>.

How to get the memory id value for s_lot-high.

Thanks. Waiting........

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
736

It does not appear that it will be handled automatically for you. But you may want to try something like this.



report  zrich_0003.

select-options:     s_datum for sy-datum
                     memory id dat.

at selection-screen output.


  if  s_datum[] is initial.
    s_datum-sign = 'I'.
    s_datum-option = 'BT'.
    clear s_datum-low.
    get parameter id 'DAT' field s_datum-high.
    append s_datum.
  endif.

start-of-selection.

  write:/ 'Test List'.

  set parameter id 'DAT' field s_datum-high.

Regards,

Rich Heilman