‎2006 Feb 21 11:16 PM
i am populating an internal table in my program and calling a screen . In the layout of the screen, i drew an output screen element and gave it the exact same name as a field from my internal table ( suppose itab-f1) . After activation and running the report, the screen element comes out blank. Through the debugger i know their is data in that field. Am i missing some step here?
Thanks.
‎2006 Feb 21 11:33 PM
create a pbo module, say fill_screen, and in it move data to the fields on the screen. Even if they have the same name on the screen as in your abap, eg itab-f1 = itab-f1.
‎2006 Feb 21 11:19 PM
Does your internal table have a header line? If so, you need to read a line of the interal table and put something in your header line.
Read table itab index 1.Doing this will put something in your header line, and hence, should show up in the screen. I assume that you are just testing stuff out a little, we usually put internal tables in table controls or ALV grids.
Regards,
Rich Heilman
‎2006 Feb 21 11:30 PM
Dear Rich
I am reading it into the header line and it is getting data in it ( i can see in the debugger) but it is just not showing up on the screen. thanks for your reply.
‎2006 Feb 21 11:33 PM
create a pbo module, say fill_screen, and in it move data to the fields on the screen. Even if they have the same name on the screen as in your abap, eg itab-f1 = itab-f1.
‎2006 Feb 21 11:37 PM
‎2006 Feb 21 11:51 PM
Remember that you tell yout table control how much lines it needs to show. You need to do this on the PBO.
PROCESS BEFORE OUTPUT.
MODULE CHECK_STATUS.
MODULE CHECK_STATUS.
DESCRIBE TABLE T_TAB1 LINES TAB_LINES.
TAB_CONTROL-LINES = TAB_LINES.
ENDMODULE.
Greetings,
Blag.