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

Re: Error inside a loop

$
0
0

Hi Meenakshi,

 

You must not use 'READ TABLE' for internal table inside the loop of the same internal table.

 

Instead you can have 'IF' condition or 'CASE' for checking you required value.

 

For example:

                         if  ls_SWPSTEPLOG-returntyp = 'RC' .

                                        START_DATE ls_SWPSTEPLOG-LOG_DATE  .

                                        START_TIME = ls_SWPSTEPLOG-LOG_TIME .

                         endif.

 

And for data check how your are fetching it from database or any means into internal table.

 

You will find the answer.

 

 

Thanks,

 

Vidyasagar


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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