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
531

Hi experts,

I have created a table control to the abap report using wizard.

My question is when I execute the report it does not show anything.

Can anyone tell me how to solve this?

I appreciate your input and will reward points.

Thank you,

Mili

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
511

You must be sure to fill the internal table, which the table control is based on, with data using a SELECT statement. Do this before calling the screen or in the PBO.

Regards,

Rich Heilman

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
512

You must be sure to fill the internal table, which the table control is based on, with data using a SELECT statement. Do this before calling the screen or in the PBO.

Regards,

Rich Heilman

Read only

learnsap
Active Participant
0 Likes
511

Hi Mili,

Fill the internal table that refers your table control either in the PBO or before calling the screen.

Send me your code.... Does the program giving any errors while executing it?

Regards,

Ramesh S

Read only

Former Member
0 Likes
511

Hi Milli,

I guess u have not used a loop while populating table control.Do the following.

In the PBO of table control to populate cotrol.

loop at itab with control TC1(name of table control).

Cursor TC1-top_line.

endloop.

In the PAI.

loop at itab.

endloop.

Reward me if helpful.

Thank you.

Read only

Former Member
0 Likes
511

Hi Mili,

In layout, find out whether you have checked "from the dictionary" or "from the program".

If its from dictionary,

uncheck it and check the radio button "from the program "

Use your internal table name while doing this.

Hope this will be useful.

Please reward if this is helpful.

Thanks and Regards

Archana

Read only

0 Likes
511

Hi all,

Thank you all for your valuable inputs.

As per the suggestion of Archana I have changed in the layout by checking "from the program " instead "from dictionary" .

And the programme is executed.

But now it is not taking any input into the table control.

What can I do to do the input into the table control screen?

Thank you all for your valuable inputs and appreciate your help.

I have rewarded points........

Mili.

Read only

0 Likes
511

Hi all,

My problem is solved.

Thank you for your valuable input.

Mili