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

read table

Former Member
0 Likes
316

hello to all,

In one internal table itab1 there are 10 fields out of one is date field having different date range.

I want to move data to other internal tables having different date range(suppose 10 date ranges r in itab1 ) to different 10 itabs.

can u tell how to move data from itab1 to other 10 itabs.

Thanks .

2 REPLIES 2
Read only

Former Member
0 Likes
299

hi this can be done like this...

if itab-date le 'r_date1-low'

or itab-date ge 'r_date1-high' .

move itab to itab1 .

endif.

if itab-date le 'r_date2-low'

or itab-date ge 'r_date2-high' .

move itab to itab2 .

endif.

.....like this

regards,

venkat appikonda

Read only

0 Likes
299

Thanks for reply.

can u tell me how......

my required ranges are stored in different itab & need data from itab1 where ranges according to itab.

Thanks .