Skip to Content
0
Former Member
Jan 11, 2008 at 06:58 AM

Question on Field Symbols

268 Views

Hello All,

I have a question on Field symbols. I have assigned a complex structure of Table Type to a field symbol. Now on depending on some values I would like to delete the record of the table which is assigned to the field symbol.

I am trying to use CLEAR and FREE statements for the field symbols but I am not able to acheive this.

The code is something as below:

LOOP AT <fs_address>-data-addr_usage-addr_usages into <fs_address_usage>.

CASE <fs_address_usage>-currently_valid.

WHEN 'I'.

<fs_address_usage>-task = 'I'.

WHEN 'D'.

<fs_address_usage>-task = 'D'.

WHEN ' '.

FREE <fs_address_usage>.

Here when the value is space, I would like to delete the complete record of the table, but this deletes only the data but not the index of the internal table.

Any inputs on the same will be very helpful and shall be suitably rewarded.

Thanks & Warm Regards,

Neha