‎2006 Sep 13 8:30 AM
hiii,
i have created a table control through wizard in dialog prog using table sflight but it doesn't display data only display col. name.
‎2006 Sep 13 8:43 AM
check first if the select befor the display really
pull data from db .
check again how did you define with the wizard .
‎2006 Sep 13 8:43 AM
check first if the select befor the display really
pull data from db .
check again how did you define with the wizard .
‎2006 Sep 13 8:46 AM
‎2006 Sep 13 9:00 AM
Hi,
For table control, the base is the internal table.
Check if you have filled the internal table which you are using for your table control.
If this is not happening, please fill that first in PBO before the table control is displayed and the it will show the data.
Hope this helps!
Regards
Nishant
‎2006 Sep 13 9:37 AM
hi,
you have to follow these steps.
1. Fetch the data from the data into an internal table (itab)using select statement.
2. Use the table control wizard and use the internal table(itab) in this wizard.
if you have followed these steps then check if the internal table is getting populated by dubugging the code.
Hope this helps.
Regards,
Richa
‎2006 Sep 13 8:56 AM
Pragathy,
how r u disaplying data in Table control?
have a luk to at it u will come to know where n how select statement is fetching data..
Praneeth
‎2006 Sep 13 8:57 AM
see this program u ll get a clear idea of how to use the table control
demo_dynpro_tabcont_loop
‎2006 Sep 13 9:53 AM
Hi Pragaty
In the PBO module you have to populate the internal table and then move data to your table control.
Example:
MODULE fill_table_control. " Fills the internal table
loop at it_sdyn_conn into wa_sdyn_conn WITH CONTROL TC.
module move_to_tc. "Moves data to the TC
endloop
MODULE fill_table_control OUTPUT.
SELECT * FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE IT_SDYN_CONN.
ENDMODULE.
MODULE move_to_tc OUTPUT.
move-corresponding wa_sdyn_conn to sdyn_conn.
ENDMODULE. " move_to_tc
Reward points if this helps.
Regards
Meera
‎2006 Sep 13 10:57 AM
Hey Pragaty,
First declare an internal table & sel field(for selection that u can select a row in ur table control) & pass this table when u create table control by wizard.
then u got no problem
regards
Abhishek