‎2010 Apr 19 10:55 AM
Hi All,
I have created a table control. When i select the rows and scroll down, the rows i have selected are getting un-selected. But the selected rows are getting printed according to the requirement. Only thing is it is getting un-seelcted once we scroll up/down.
But while debugging i have found this values.
TCCUSTOM-LINE_SELECTOR = 'X'.
TCCUSTOM-LINE_SEL_MODE = '2'.
this is working properly. I dont know what could be the reason for the problem.
Please help me on this.
Thanks,
Karthi.
Moderator message: please use a more descriptive subject line next time.
Edited by: Thomas Zloch on Apr 19, 2010 2:12 PM
‎2010 Apr 19 11:41 AM
Hi Karthi,
Check all your PBO modules, it seems like that you've pre-populated your table control and modify your table control with table_conbrol-mark.
You might check all your PAI modules as well.
Do a debug in all your modules and create a Watch-Point in your table_control-mark.
Pls let me know if I can provide more information.
Thanks.
Jun
‎2010 Apr 19 11:14 AM
Hi,
You might have written the logic for populating the table control data in PBO. That is why its happening I guess. Move the coding in to the PAI.
‎2010 Apr 19 11:30 AM
Hi,
My suggestion is.....
U have to make the changes in Table control reflect in the Internal table...use this code in PAI...
PROCESS AFTER INPUT.
LOOP AT <internal table for table control>.
MODULE reflect_data_internal_table.
ENDLOOP.Then in MODULE reflect_data_internal_table.
write this line..
MODIFY <INTERNAL TABLE> FROM <WORKAREA OF INTERNAL TABLE> INDEX <TABLE CONTROL>-current_line.Now if u run the pgm the selection u made in table control will reflect in internal table...and thus will not disappear...
Edited by: SENTINEL on Apr 19, 2010 1:15 PM
‎2010 Apr 19 11:41 AM
Hi Karthi,
Check all your PBO modules, it seems like that you've pre-populated your table control and modify your table control with table_conbrol-mark.
You might check all your PAI modules as well.
Do a debug in all your modules and create a Watch-Point in your table_control-mark.
Pls let me know if I can provide more information.
Thanks.
Jun
‎2010 Apr 19 1:24 PM
hi
hi,,,,
go through the below demoprograms
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
and c the example in saptechnical go to Tutorials then ABAP and TableControlDemo
Edited by: Bhavana Amar on Apr 19, 2010 2:26 PM
Edited by: Bhavana Amar on Apr 19, 2010 2:27 PM
‎2010 Apr 20 7:20 AM