Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing Field symbol !!

Former Member
0 Kudos

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>

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

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>.

2 REPLIES 2

Former Member
0 Kudos

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

former_member156446
Active Contributor
0 Kudos

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>.