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

Re: Error with delete statement

$
0
0

Hi Leva,

I heard that deleting itab entry in loop complex . so i created another itab and assigned to itab1. can u check my code will it works or i can only use only one itab ..with moving to other

 

l_transactions1 = l_transactions

Loop at l_transactions1 to <fs>

DATA: var_tabix TYPE sy-tabix.

reading table zitab with key    mandt = sy-mandt

                                            transtypecode = l_transactions1 transtypecode

     if sy-subrc ne 0

          delete table l_transactions index sy-tabix ( will this work here )


else.

loop at <fs-tran--retailllineitem  >assigning <fs-retaillineitem>,

<fs-retaillineitem> = 1100

  endif.

endloop.


endloop.


Thanks


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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