cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove last blank page from preview of Smartform

Former Member
0 Kudos
75

Hi Experts ,

I am creating a smartform having vbeln range option. Now if i give range from 2 to 10 then After Doc NO. 10

i got a blank page . So can u please tell me how to remove that.

Rgds,

Premraj

View Entire Topic
Former Member
0 Kudos

hey,

Create a program lines node.....

in that describe the internal table in which you are having the document number.If you are having 10 document number then you will be having 10 pages.... so create program lines befor the command line in the command line just give a flag ok.

when the 10th page is created then the control comes to program line where the pagenumber will be equal to the number of document number there create a flag ( f = 'X') then give this codition in command line.Trigger the command line when ever f NE 'X'.So in the last time new page will not be triggered.

Regards,

Midhun Abraham