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: 

problem while deleting the selected row in table control

Former Member
0 Kudos

hi.

i have a table which i m modifying in PAI to set the mark value to 'X'. so that i can delete the selected row.

it put the mark 'X' in mark field but it also vanishes all columns of that selected field and also empty the remaining fields which i have not marked.

my code is as follow

process after input.

loop at itab.

module modify_itab.

endloop.

"" And module is

module modify_itab input.

modify itab index tab_ctrl-current_line.

endmodule. " modify_itab INPUT

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Tahir,

Just go through the following link:

Hope this will help.

Regards,

Nitin.

3 REPLIES 3

Former Member
0 Kudos

Hi Tahir,

Just go through the following link:

Hope this will help.

Regards,

Nitin.

Former Member
0 Kudos

Hi,

Try Updating your PAI as below:

process after input.

LOOP AT itab WHERE mark EQ 'X'.

DELETE itab

ENDLOOP.

Former Member
0 Kudos

hi:

it is not working still.

link given is also visited b4 but problem is still same.

and i also have changed my PAI but it gives error.

i just want that mark field of itab is filled with 'X' if it is selected.