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

Getting Selected entries from a table control

Former Member
0 Likes
360

Hi,

In module pool program I have designed a table control with mutiple selected entries.

All I need to do is get these values of multiple selected entries into an internal table.

please do suggest me if possible with code.

regards

Mac

Hi,

In module pool program I have designed a table control with mutiple selected entries.

All I need to do is get these values of multiple selected entries into an internal table.

please do suggest me if possible with code.

regards

Mac

1 REPLY 1
Read only

Former Member
0 Likes
340

HI Mohan,

I assume that you maintain an internal table with a single chracter field which acts as a check box, along with all the other columns.

Design the table cobtrol using that internal table.

data: begin of itab occurs 0,

mark(1),

field1..

field2....

end of itab.

in the PAI section, you can know whether a record is selected or not, by seeing the mark field.

loop at itab where mark = 'X'.

  • You will get all the records that are selected.

endloop.

Regards,

Ravi