2008 Oct 22 12:13 PM
Hi All,
help me out with this problem.
In a grid display how to catch the checkbox details enabled data from first list. And the same data has to be transfered to another list in alv grid.
Regards,
Rajesh.
Hi,
Add a field 'check' as a last field in ur output internal table .
In the layout in the field catalog , Use
layout-box_fieldname = 'CHECK'.
Now user checks the line , now u can read the output table where check eq 'X'.
This will work.
Cheers,
Lakshmi Prasanna Gandham
2008 Oct 22 12:17 PM
Hi Rajesh,
anyhow u r creating internal table with check box as first field.
and in this case if enduser checks the check bos then the chexk box field value set to 'X" in internal table.
kiran
2008 Oct 22 12:28 PM
Hi
You have to:
1. use
call method grid1->check_changed_data.to update internal table with data for grid1 after changes on ALV_1.
2. Copy necceary data from internal table with data for grid1 into internal table with data for grid2
3. Use
call method grid2->refresh_table_display.to display on ALV_2 new data in internal table with data for grid2.
JS
2008 Oct 22 12:18 PM
Hi,
Add a field 'check' as a last field in ur output internal table .
In the layout in the field catalog , Use
layout-box_fieldname = 'CHECK'.
Now user checks the line , now u can read the output table where check eq 'X'.
This will work.
Cheers,
Lakshmi Prasanna Gandham
2008 Oct 22 12:20 PM
2008 Oct 22 12:45 PM
Dear Lakshmi,
Could you please share the code with us?
Regards,
JoY
2008 Oct 22 12:18 PM
search the forum with this Function as key word
GET_GLOBALS_FROM_SLVC_FULLSCR
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |