Skip to Content

Problem with looping table control in PAI

Hi,

I have a table control which displays 10 records at a time. In PAI it is looping only these 10 records even though itab has more than 10. I need to do some validations on all the records. How to overcome this prob.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 01:19 PM

    c if u want to do validationsdo it on the internal table before passing it to the table control..

    Secondly in a table control if its size on the screen is for displaying 4 records only den it will display on 4 while running even though ur table has 10 records...

    So in SE41 drag and increase the size for table control...den it will display all records..

    And if u dont want dis..den write the code for vertical scroll in table control..

    Get back to me in case u want 2 do dat..

    Hope dis helps..

    Reward if it does

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2007 at 01:19 PM

    The loop at the table control in the PAI just transfers the data (that are displayed) from the table control to the internal table.

    Just loop at the internal table after the loop at table control to do your validations.

    Hope that helps,

    Michael

    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.