Skip to Content
author's profile photo Former Member
Former Member

problem while deleting the selected row in table control

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2008 at 01:54 PM

    Hi Tahir,

    Just go through the following link:

    in-table-control-how-to-delete-a-selected-row

    Hope this will help.

    Regards,

    Nitin.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2008 at 01:57 PM

    Hi,

    Try Updating your PAI as below:

    process after input.

    LOOP AT itab WHERE mark EQ 'X'.

    DELETE itab

    ENDLOOP.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2008 at 02:08 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.