cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete blank page in smat form

Former Member
0 Kudos

Hi Expets,

In output display one extra blank page, how to delete it, I am using logic like this in smart form

Main Window

--> Header Loop.

---> Text

---> Table (item loop)

---> Command Line

In output it display Document Number header and items in a single page. but last one blank page also display.

Regards,

Sreedhar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

in this case you to find the number of line for Item table

when you pass the Command in smartform you have to check number of lines contain your internal table .

before command

in program lines write code

describe table Item table lines gv_lines.

gv_tabix = sy-tabix + gv_tabix.

and In COMMAND --> conditions tab

gv_tabix LE gv_lines.

Former Member
0 Kudos

Hi Chenna keshava,

I do like that, again it display blank page.

Thanks & Regards,

Sreedhar.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Somewhere after loop there is condtion of goto next page that is being set ,thats why u r getting blank page even after record display.

First check At ur command node that goto next page shold not be set there

If not then may be after ur table loopin check that goto next page should not be set.

Thanks,

Smita

Former Member
0 Kudos

Hi,

In Command Line if u are triggering new page based on any condition try giving Command Line before the table .

Thanks,

Nithya.

Former Member
0 Kudos

hi ,

in your commnad node based on your condition once if the data is finished printing it shud not go to the next page .

put a condition on your commnad node .

regards,

prashanti

Former Member
0 Kudos

hi sreedhar

check this

it might be helpful to you

thanks

SAchin

Edited by: Sachin Gupta on Mar 5, 2009 10:18 AM

Former Member
0 Kudos

.

Edited by: prashanti k on Mar 5, 2009 10:25 AM

Former Member
0 Kudos

Hi sreedhar,

In the general attributes of the command node un check the check box go to new page leave it as blank .

Then the last blank page it will not get triggered.

Regards,

Sravanthi

Former Member
0 Kudos

Hi Sravanthi,

If i uncheck the box multiple document numbers are display in the same page.

I need one document Header and items are diplay in one page only. other document display in next page.

Thanks & Regards,

Sreedhar.

Former Member
0 Kudos

Use a Command node to trigger a new page for new document.

кu03B1ятu03B9к