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

Decoding a range

Former Member
0 Likes
421

Hello everyone,

Is there someone who knows a function or a command that you can pass a range that could has every kind of register (SIGN = I, E and OPTION = 'EQ', 'BT, NE', etc...) and returns a range that has just registers with SIGN = 'I' and OPTION = 'EQ'?

Thanks in advance,

Raphael Xavier

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
398

If you have a range to select data from a table, the only way to get the range as all I EQ is as follows:

SELECT all data INTO itab  FROM the db table WHERE data is in the range.
LOOP AT itab...
  build a range entry with I EQ.
ENDLOOP

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
399

If you have a range to select data from a table, the only way to get the range as all I EQ is as follows:

SELECT all data INTO itab  FROM the db table WHERE data is in the range.
LOOP AT itab...
  build a range entry with I EQ.
ENDLOOP

Read only

Former Member
0 Likes
398

Simple and efficient!

Thanks a lot!