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

Table control

Former Member
0 Likes
408

Hi all,

how to delete one row from the table control.

Can anyone give me suggestion.

Thanks in advance

Venkat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
387

Hi,

You can assign a variable var for w/SelColumn in the table control attributes.Now loop at the internal table where var='x' and delete the record.

4 REPLIES 4
Read only

Former Member
0 Likes
387

Check this out

For Inserting a Row

For Deletion of a Row

Read only

Former Member
0 Likes
387

hi venkat,

Check this out

For Inserting a Row

For Deletion of a Row

Regards,

Naveen

Read only

Former Member
0 Likes
388

Hi,

You can assign a variable var for w/SelColumn in the table control attributes.Now loop at the internal table where var='x' and delete the record.

Read only

Former Member
0 Likes
387

Hi,

Define a field sel(1) TYPE c in your internal table you will use for Table Control.

In ur PAI when Delete button is clicked

write this code

LOOP AT itab WHERE sel = 'X'.

DELETE itabINDEX sy-tabix.

ENDLOOP.

Hope this is of some help.

Reward points if helpful.

Regards,

Ismail.