2013 Nov 22 12:13 PM
Good Morning Comunnity.
I have a table control.
This table control receives data from an internal table with 255 records.
Why when I run the program appear only twelve records in table control?
PROCESS BEFORE OUTPUT.
MODULE status_0100.
MODULE image2.
LOOP AT t_message WITH CONTROL tc_tela2.
ENDLOOP.
*
PROCESS AFTER INPUT.
MODULE exit_command AT EXIT-COMMAND.
LOOP AT t_message.
ENDLOOP.
Thanks.
2013 Nov 22 12:38 PM
Hi ,
Check whether there is any filter set for displaying records , Also pls make sure whether you have 255 records in the Internal table.
2013 Nov 22 12:38 PM
Hi ,
Check whether there is any filter set for displaying records , Also pls make sure whether you have 255 records in the Internal table.
2013 Nov 22 1:25 PM
Hi Ronaldo,
Can you please provide a screen shot of Internal Table of 255 rows and can you check table properties
how many rows a table can display.
Thanks & Regards,
Raghunadh Kodali.
2013 Nov 22 4:09 PM
Hi
Try to write in your PAI (in a module type USER_COMMAND... where you control the scroll with SY-UCOMM P++, P--)
describe table t_messages lines tc_tela2-lines.
Debug your report and check if TC_TELA2-LINES = 11 (I can count 11 lines) and why.
I hope this helps you
Regards
Eduardo
2013 Nov 22 4:20 PM
hi Ronaldo,
1).Check the table Properties,
2).Check weather some where internal table records will be deleting or not.
3).Better way is Use Table Control Wizard it reduce your all coding part.
Thanks,
Hiriyappa.
2013 Nov 25 6:11 AM
In the PBO module make sure that you have added this line.
DATA : v_lines TYPE i.
DESCRIBE TABLE t_message LINES v_lines.
tc_tela2-lines = v_lines.
2013 Nov 25 6:24 AM
HI ronaldo,
First check if the values in the internal table gets modified or not . If that is ok , then as edurado suggested , try writing the describe table and see the response.
Also you can refer the standard program, DEMO_DYNPRO_TABCONT_LOOP_AT and DEMO_DYNPRO_TABCONT_LOOP.
Regards,
Sivaganesh
2013 Nov 25 7:36 AM
Hi Ronaldo,
Please ensure ...
1) Your internal table contains 255 records before its getting looped to table control.
2) You must describe your internal table in PBO to make vertical scrolls available for you.
ex: DATA : lv_records TYPE i.
DESCRIBE TABLE t_message LINES lv_records.
tc_tela2-lines = lv_records.
Try to provide the cursor position while looping your internal table in PBO like...
LOOP AT t_message WITH CONTROL tc_tela2 CURSOR current_line.
ENDLOOP.
Regards,
Aabid Khan
2013 Nov 25 8:24 AM
Hi Ronaldo Aparecido
First debug and see how many records you are getting in internal table.
If it is ok...
In PBO do like this
data: v_line type i.
DESCRIBE TABLE gt_table LINES v_line.
table_control-lines = v_line + 1.
http://help.sap.com/saphelp_470/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm