12-21-2008 2:32 PM
Hi Guys,
I have and internal table <FINAL> and its work area <W_FINAL>
I had appended 5 records to <FINAL> , now i have 5 records in table <FINAL>
and at last after endloop when i try to clear <W_FINAL>, it is clearing the 5th record of the table <FINAL>
any inputs?? I would like to clear the work area <W_FINAL>
12-21-2008 3:53 PM
Hi there...
that depends on how you declared <W_FINAL>... if you declared it as type any..it would'nt be any problem...looks like you declared it as type of that table...
if type any -> clear <W_FINAL>. will work..
type table -> unassing <W_FINAL>.
12-21-2008 3:09 PM
Hi,
U need to unassign ur work area coz they work like pointers so when u clear it the last table line that it was pointing gets cleared.
Use UNASSIGN <W_FINAL> after ur endloop.
кu03B1ятu03B9к.
Edited by: kartik tarla on Dec 21, 2008 8:51 PM
12-21-2008 3:53 PM
Hi there...
that depends on how you declared <W_FINAL>... if you declared it as type any..it would'nt be any problem...looks like you declared it as type of that table...
if type any -> clear <W_FINAL>. will work..
type table -> unassing <W_FINAL>.