Skip to Content
author's profile photo Former Member
Former Member

table controls

hi,

pls help me.

i want to set the lines to table controls as same as the internal table but by default it was taking only 11 lines.

how can i set number of rows to table controls?

in pai or pbo?

pls give me example if any?

thanks & regards in advance

lakshmi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:23 PM

    Hi

    You have to create a module in PAI before the table control gets displayed.

    Code is :

    Describe table <internal table name> lines fill.

    <tablecontrol>-lines = fill.

    Fill is the variable of type i.

    Lines is one of the attribute of the table control.

    It contains number of records of the internal table.

    Regards

    Haritha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:24 PM

    Hi

    See the Std Report <b>demo_dynpro_tabcont_loop</b>

    for this logic

    you will come to know

    reward if useful

    regards,

    ANJI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 01:24 PM

    the thing is it varies from system to system and even varies with size of the table control. if the size specified hold only 11 rows, it shows only 11 rows in output and remaining can be seen using horizontal scroll bar. if u try to increase alo, if the system can show only 15 lines then also, remaining lines will be shown after u press the horizontal scroll bar.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 03:32 AM

    hi ,

    u have to write the code before process after input...

    madhuri.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 03:41 AM

    Hi Nagalakshmi,

    Check this info.

    syntax:

    CONTROLS .

    if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.

    u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.

    Hope this resolves your query.

    Reward all the helpful answers.

    Rgds,

    P.Naganjana Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 03:58 AM

    hi

    u can do ths by writing the following piece of code in pbo

    describe table it_list lines z_tc_list-lines .

    it_list is internal table

    z_tc_list-lines is table contol

    regards

    navjot

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.