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

In smartform : in a table i need to maintain fixed no of rec

.2.in smartform in a table i need to maintain fixed no of records in each page i.e 10 records in each page and after printing 10 records page break has to occur and print them in New page , how to do this can any body help me.in each page i.e 10 records in each page and after printing 10 records page break has to occur and print them in New page , how to do this can any body help me.

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 Jan 08, 2007 at 05:18 AM

    Hi,

    I dont know if there is any direct way of doing so, but ican suggest a turn around solution.

    declare 2 global tables 1. ITAB_10 type ITAB (in which there is ur data)

    2. IT_ROW inwhich 2 cloumn (start_pos & end_pos type i)

    Now in intialization.

    Caluculate no of rows in ITAB.

    Say there are 56 rows, then fill table it_row as 1(start_pos) - 10(end_pos), 11-20,...51-56.

    Then in main Window, Create a loop on IT_ROW.

    in that create a CODE under this loop in which fill ur ITAB_10 from ITAB as per start_pos& end_pos in IT_ROW.

    Then create TABLE under the loop, for ITAB_10.

    Regards,

    Vaibhav.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 05:57 AM

    Dear Bhaskar Rao,

    U Can try in LOOP

    There is one option is ROW xx TO xx (in xx place you can give no'f lines)

    here u can give no'of rows.

    Cheers

    Naresh

    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.