01-30-2008 11:05 AM
Hi,
I am working on a dialog program.Here in the o/p there are many records.Beside each record,there is a checkbox.When the user clicks a checkbox beside a particular record of which he wants to change some fields data and click on the change button which is present on top of the o/p screen,the control should should go to the update screen.
Here the control is going to the update screen.But the values of the selected record are not getting displayed.What can I do for the values to get displayed in the update screen?
01-30-2008 11:47 AM
Hi,
Are you displaying the data in Table control?? if yes u need to change the Internal table values in PAI :
see the code which I used:
PROCESS AFTER INPUT.
LOOP AT gt_scr200.
CHAIN.
MODULE tc_scr200_modify ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
module tc_scr200_modify input.
MODIFY gt_scr200
FROM wa_scr200
INDEX tc_scr200-current_line.
endmodule. " tc_scr200_modify INPUT
gt_scr200 is the internal table which is used to display the data in table control (tc_scr200) .
Thanks,
Sridhar
01-30-2008 12:51 PM
Hi,
No.I am not displaying the data in the table control.I am displaying the data in the classical report.