2007 Mar 20 12:34 PM
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
2007 Mar 20 12:38 PM
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