Skip to Content
avatar image
Former Member

multiple pages in smartform (urgent)

hi all

i hav a following prob

i m printing data of one internal table in my smartform

and this internal table contains only one record

now i want to know, if there are 10 different record in my smartform

how can i print these 10 records on diferent 10 pages...

plz hlep

any help wil b rewarded.

thanx

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 21, 2007 at 11:40 AM

    Insert a Command node in your table in the main area after ur rowtype

    use the Go To Pagename unconditionally,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2007 at 12:01 PM

    it is giving output in multiple pages

    but

    i pass two records in internal table

    it shows three pages in smartform

    and

    the last page is blank

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2007 at 12:03 PM

    hi

    just take your all internal tables field in one Z stucture.

    In smartform go to FORM INTERFACE write all internal tables name here and LIKE give your structure name in associated type.

    try it and reply me if u have problem.

    thanks.

    prashant.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dude,

      You are almost there.

      All you have to do is run the command one less time than the number of records as Pankaj says.

      Just find the number of records .

      Do a count on the internal table looping.

      Execute command node only if count < internal table records.

  • avatar image
    Former Member
    Sep 25, 2007 at 06:07 AM

    create page1 set next page : page1

    put the table node into main window

    then set the main window's highth = one record's highth of the table

    then it will change page per record

    Add comment
    10|10000 characters needed characters exceeded