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

Table control probles.

Hi All,

This is the problem with MP Table control.

In my first screen ITAB is having 7 records and looping this with Table control and displayed ( All 7 records are desplayed ),

Now from this screen I moved to another screen and added one more record to my internal table and came back to my previous screen, now my ITAB is having total 8 records but its displayed with 7 records only.

Logic : First time gt_scr400 is having 7 records.

LOOP AT gt_scr400

INTO wa_scr400

WITH CONTROL tc_scr400

CURSOR tc_scr400-current_line.

ENDLOOP.

I observed that the tc_scr400 lines are 7 always.

Thanks,

Sridhar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2009 at 09:54 AM

    modify g_tc_itab

    from g_tc_wa

    index tc-current_line.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sridher,

      Try to expand the table control and see if the 8th record is being displayed. It may be becoz the size of table control can accomodate only 7 records and you must have not added code for scroll bars.

      you can use, for making the scroll bar scrollable if this is the screnario.

      DESCRIBE TABLE itab LINES tbl1-lines.

      Regards,

      Komal

      Edited by: Komal Prakashlal Lakhwani on Feb 26, 2009 11:12 AM

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2009 at 09:54 AM

    Make sure you are populating the internal table properly.

    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.