‎2010 Jun 01 8:10 AM
Dear All,
I m working on table control, it is working quite fine before scrolling, , expect after scrolling it adds extra lines and spaces. the line table control add again and again after some blank entries is the last line which we enter before scrolling.
Will anyone pls. guide me what can be the problem.
Thanks and Regards,
Sohail
‎2010 Jun 01 8:19 AM
Hi Sohail,
IN TC, Scrolling also goes to PAI Event.
Set you TC lines according to Internal table lines in PAI Module.
Reply, if other details are required.
‎2010 Jun 01 8:23 AM
Dear Thx.
My Pai and Pbo codes r as follows, will u pls. guide me which code I have to add. and where.
PAI and PBO code
PROCESS BEFORE OUTPUT.
MODULE STATUS_1000.
Loop at itab_tc WITH CONTROL tc CURSOR tc-current_line.
ENDLOOP.
MODULE MODIFY_IT_D1.
MODULE radio_selection.
PROCESS AFTER INPUT.
MODULE fill_data.
LOOP AT itab_tc.
Field itab_tc-matnr MODULE matnr.
Field itab_tc-maktx MODULE maktx.
Field itab_tc-meins MODULE meins.
Field itab_tc-menge MODULE menge.
Field itab_tc-kbetr MODULE kbetr.
Field itab_tc-total MODULE total.
module modify_tc.
ENDLOOP.
MODULE get_texts.
MODULE USER_COMMAND_1000.Regards,
Sohail
‎2010 Jun 01 8:44 AM
‎2010 Jun 01 8:23 AM
Hi,
Might be you have not handled the USER COMMAND (ok_code or sy-ucomm) properly.. Please check while debugging, whether blank lines are appending to the Table control internal table..
‎2010 Jun 01 9:02 AM
Hi,
perhaps its a problem of sapgui? which release and patchlevel do you have for sapgui?
Regards, Dieter
‎2010 Jun 01 9:28 AM