Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: How to fetch the most recent available non-zero value from an itab.

$
0
0

sort table by date descending (the most recent is first in the table)

 

Loop at table where field 1 <> 0.

move what ever you want to work area.

EXIT.

endloop.

 

loop at table where field 2 <> 0.

move stuff to work area.

EXIT.

endloop

 

etcetera

 

Append work area to table.

or write work area.


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>