Application Development 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: 

G_SET_TREE_IMPORT -> select statement

0 Kudos

Hi everybody,

Is there a function module to transform the values of a set (which i have in set_values after fm G_SET_TREE_IMPORT) into a ranges table (sign, option, low, high) so i can use it in a select statement?

Thanks in advance,

Bert

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can do it manually.....



data: set_values type table of setvalues with header line.

ranges: r_values for setvalues .

loop at set_values.

  r_values-sign = 'I'.
  r_values-option = 'BT'.
  r_values-low   = set_values-from.
  r_values-high  = set_values-to.
  append r_values.


endloop.

Regards,

Rich Heilman

0 Kudos

Thanks Rich,

I knew that but I suppose there isn't an FM.

Bert