Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8914

dynamic selection of interntal table

$
0
0

HI Guys,

 

I have 3 simular structured  itabs namely itab1, itab2 and itab3, based on the certain values in the first row of the a columns. I need to

loop thru. The values may change every time. For example

itab1-col1 = 2.

itab2-col1 = 1.

itab3-col1 = 5.

 

In this case, since itab2-col1 has a value 1.  I need to loop itab2 first, and read the itab1 and itab3 later on.

 

When I execute following day, values could be different like

itab1-col1 = 6.

itab2-col1 = 3.

itab3-col1 = 2.

 

IN this cae, since itab3-col1 is lowest, I need to loop itab3.

 

Could anybody help  on how to go about it.

 

REgards,

Harsha


Viewing all articles
Browse latest Browse all 8914

Trending Articles