‎2008 Dec 06 4:21 AM
Hi,
I am doing the module pool program in ECC 6.0 when i have more than 10 records in my internal table the tablecontrol wizard is showing only 5 records which are visible. when i hit the vertical scroll bar
all the records are getting refershed and unable to get single record.
Please suggest me how to get all 10 records and how the vertical scroll bar works properly
Regards
Edited by: Rasheed salman on Dec 6, 2008 5:35 AM
‎2008 Dec 06 5:24 AM
HI,
in PBO
module status_100(if you are using 100 screen)
loop at itab with control tc.
endloop
in module status_100
describe table itab lines tc-lines
try this out
regards
Ramchander Rao.K
‎2008 Dec 06 5:24 AM
HI,
in PBO
module status_100(if you are using 100 screen)
loop at itab with control tc.
endloop
in module status_100
describe table itab lines tc-lines
try this out
regards
Ramchander Rao.K
‎2008 Dec 06 5:30 AM
Hi
I had written same code in PBO.
But my records are getting refreshed if i use vertical scroll buttons.
I am only getting visible records for example mt table had 20 records and my table control has only 5 rows displyed i can see only 5 records
Regards
‎2008 Dec 06 5:36 AM
Hi
Try include this code in PAI
loop at itab.
module modify_tab
endloop
in program
module modify_tab
describe table itab lines tc-liens
if tc-current_line > tc-lines
append itab
else
modify itab index tc-current_line
endmodule
if it is not resolved please post your coding in PAI part and PBO part
if at all you are using any loop statements any other part of the code let us know
regards
Ramchander Rao.K
‎2008 Dec 06 7:08 AM
Hi,
In PAI.
loop at itab.
MODULE update_itab .
endloop.
*****and in module.
MODULE update_itab INPUT.
lines = sy-loopc.
ENDMODULE.