cancel
Showing results for 
Search instead for 
Did you mean: 

Extra page shown in smartform

Former Member
0 Kudos

Hi,

please let me know how can I remove the extra page being printed at the end of the smartform, which I have used on change of some field using an event,.

suppose the data is getting actually printed in 3 pages, it is showing total of 4 page and 4th page is blank in all cases , i just need to remove this extra blank page,

thanks in advance

Rohan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Could you please give me details about how many total pages have been used in smartforms and how many windows.

If only one page is defined with main window, then this can happen only if there are some blank spaces are present at the end of page which flow on next page.

Check if last text element or last node in the smartform has not blank spaces.

Reply if more info is needed.

Please reward if useful.

Regards,

Ashlesha

Former Member
0 Kudos

hi,

total pages used are 2 , one for main page and then NEXT PAGE

suppose i gave input as EBELN OF 4500000128 to 4500000129

it shows output as

pages 1 of 4 on the intial page.

4500000128 comprises of 2 pages in all it has 20 details

4500000129 comprises of 1 page worth data contains 2 detail

now in all 3 page shows all the data required..

but the 4th page is shown and it displays a blank window [no data] fills the header though of next page but since no data is there, it shows blank main window

the same case is repeated in all the cases, just the page number changes, but in every case extra blank page at end is shown.

i want to remove the last page being shown

i hope you are clear with the output i am getting

former_member210123
Active Participant
0 Kudos

Have a flag which is set the third page that is at end of main window.

Then add this flag as condition in the place where the new page is trigerred.

Have a cond like.

G_flag ne 'X'.

then trigger the page.