cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

resolved by own with hard efforts.

what a good stuff research n develop !!

Former Member
0 Kudos

search the forum with your thread title.

Former Member
0 Kudos

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.