HI,
suppose i have two records in my internal table
Prince 3 12/12/1999
menon 4 12/12/2000
When i loop at this and when my record comes to menon i need the date of prince to be stored... how do i proceed.
i.e going on record back.
Any help will be appreciated.
Prince
Try something like this.
data: index type i. data: wa like line of itab. Loop at itab. index = sy-tabix - 1. read table itab into wa index index. if sy-subrc = 0. * Now WA contains the previous row of ITAB endif. endloop.
Regards,
Rich Heilman
Add a comment