Application Development and Automation 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: 
Read only

problem while deleting the selected row in table control

Former Member
0 Likes
421

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
Read only

Former Member
0 Likes
397

Hi Tahir,

Just go through the following link:

Hope this will help.

Regards,

Nitin.

3 REPLIES 3
Read only

Former Member
0 Likes
398

Hi Tahir,

Just go through the following link:

Hope this will help.

Regards,

Nitin.

Read only

Former Member
0 Likes
397

Hi,

Try Updating your PAI as below:

process after input.

LOOP AT itab WHERE mark EQ 'X'.

DELETE itab

ENDLOOP.

Read only

Former Member
0 Likes
397

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.