cancel
Showing results for 
Search instead for 
Did you mean: 

One blank page display in smart form

Former Member
0 Kudos

Hi Experts,

In Smart from One blank page is display when i excuted multiple document numbes.

In form logic

Pages and windows

Main Window

Loop (Header Details)

Loop (Item Details)

COMMOND . with calling new page

Regards

Sreedhar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 header 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 kesava ,

My problem is solved for your logic, Thankyou very much.

and also thanks to all.

Regards,

Sreedhar.

Former Member
0 Kudos

HI Chenna keshava,

In your logic two or three records are working fine, when i give multiple records like 4 records two records are come different pages but 3rd record to will come 3rd and 4th record at the same page.

i need induval pages for each record, Please find the solution.

Regards,

Sreedhar.

Answers (3)

Answers (3)

former_member203305
Active Contributor
0 Kudos

Hi,

i think that u have to create a new page, ex: page3.

in the MAIN windows of ur first page (the principal page) add a command at the end of the main windows, after all the loops and process. That command will point to the new page (white page).

So when u print the smartform, it will show all the data in the correct pages and at the end will show an empty page.

if u print more than one doc, after each doc will print an empty page.

Regards

Former Member
0 Kudos

Hi,

When ever you using a Command node you must set a condition according to r requirement. then only it will works fine. Otherwise it will go for un specified output. So you can Put a condition for Command node. Then it Avoids unnecesary action by Command node.

Former Member
0 Kudos

Hi Sreedhar,

When ever the main window is full automatic new page is triggered.

Regards,

Sravanthi