Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TABLE CONTROL

Former Member
0 Likes
802

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
777

check first if the select befor the display really

pull data from db .

check again how did you define with the wizard .

8 REPLIES 8
Read only

Former Member
0 Likes
778

check first if the select befor the display really

pull data from db .

check again how did you define with the wizard .

Read only

Former Member
0 Likes
777

hi,

how to check dat data is really pulled from db?

Read only

0 Likes
777

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

Read only

0 Likes
777

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

Read only

Former Member
0 Likes
777

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

Read only

gopi_narendra
Active Contributor
0 Likes
777

see this program u ll get a clear idea of how to use the table control

demo_dynpro_tabcont_loop

Read only

Former Member
0 Likes
777

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

Read only

Former Member
0 Likes
777

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