Skip to Content
avatar image
Former Member

unnecessary blank page at the end of the smartform print out.

Dear friends,

i am getting unnecessary blank page at the end of the smartform print out...

gone through lots of logics and codes but thee didn't work..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 11, 2011 at 10:35 AM

    search the forum with your thread title.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      problem resolved ..

      steps...

      write code

      in global defination take

      PAGEFLAG TYPE CHAR1 'N'

      COUNTER TYPE I                                                                              

      TABLEFIELD TYPE I                                                                              

      in initialization

      export : tablfield.

      describe table <internal table> lines TABLEFIELD.

      in your table control take 1 program lines object

      import : counter , tablefield, pageflag

      export : pageflag

      counter = counter + 1.

      if TABLEFIELD = counter .

          PAGEFLAG = 'Y'.

        endif.

      take 1 command for page break

      apply in command page break condition

      if  PAGEFLAG = 'N'.

      activate and execute.... you hav done it. !!!

      good luck.

  • avatar image
    Former Member
    Nov 12, 2011 at 04:07 AM

    resolved by own with hard efforts.

    what a good stuff research n develop !!

    Add comment
    10|10000 characters needed characters exceeded