Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: a block will be executed if the previous LOOP executed successfully

$
0
0

Hi,

 

U can do it in 2 ways

1) Using nested  LOOP , i.e

LOOP.

code block___________

____________________

  

  LOOP.

     */your code here

  ENDLOOP.

ENDLOOP.

 

2)v_counter = 0.

LOOP AT ITAB into WA.

   */your code here

    v_counter  = v_counter + 1.

ENDLOOP

 

DO v_counter times.

*/Your code here

ENDDO.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



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