Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

abap AT END OF nested.

$
0
0

Hi Gurus. I have delivery tomorrow and have run into a problem.

 

The code is running in to the first "AT END OF" on the first iteration. Any tips or tricks to get around this problem?

(I read on another forum that it is impossible to use nested AT END OF. If so I would like to get some tips on work around)

 

sort lt_a category time.

sort lt_b category time account.

 

loop at lt_a into ls_a.

     AT END OF time.

          (some code)

          loop at lt_b into ls_b.

               AT END OF account.

               (some code)

               ENDAT.

          endloop.

     ENDAT.

endloop.

 

Thanks

//Mikael


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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