Skip to Content
0
Former Member
Dec 19, 2007 at 10:20 AM

deleting multiple records from table control using module pools

585 Views

Hi all,

I am working with TABLE CONTROL in module pools.

i want to delete multiple records which i select from

Table control screen , in my case i am able to delete

single record i.e first line whcih i enter , others i am unable.

below i m providing my logic for delete .

<code>

WHEN 'DEL'.

LOOP AT IT_EMP WHERE CHECKBOX = 'X'.

IF SY-SUBRC EQ 0.

DELETE ZDATA_12 FROM TABLE IT_EMP.

ENDIF.

ENDLOOP.

</code>

looking for some replies as its a urgent requirement.

Any help frnds.

Thanks,

satish

Edited by: satish kau on Dec 19, 2007 11:30 AM