cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in smartforms page break

Former Member
0 Kudos

HI Experts,

I need yout help in Smartforms.

My requirement is I want to check my current page count with total number of pages in smartform.

Based on above , I wish to print some text only on the main window of last page.Currently, the text is getting printed on all pages.

Steps taken:

1) SFSY-FORMPAGES & SFSY-PAGE already checked but both of them get set simultaneously so the concept doesn't work.

2) Tried creating a custom FM and using total number of line items available at ITEM level . Doesn't work .

Any help would be highly appreciated.

Thanks,

Abhinav.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

My Concern is identifying the last page in smartform.

I have the text that needs to be printed only at the MAIN window of LAST page.

Currently, the text is getting printed on MAIN window of every page.

Former Member
0 Kudos

Hi,

In that case, cant you just put a condition in the conditions tab to print only if sfsy-formpage = sfsy-formpages?

or something like selecting check box to print only on page no X .

Former Member
0 Kudos

Hi

Can you tell me where you have placed your page window in your form ?

It should be placed as last window then SFSY-FORMPAGES will work properly .

Then u can check a condition SFSY-PAGE eq SFSY-FORMPAGES

Thanks

Hariharan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi sap_wiz,

I have 2 pages into my smartform ( FIRST & NEXT ). The SFSY-FORMPAGES parameter is not getting set at the trigger of MAIN window of FIRST page .

If I check the value both FORMPAGES & PAGES parameter are 1 and on next page it gets set as 2 & 2. So I am not able to use SFSY concept.

Hi DeepakNandikanti ,

I wish to print the text at the end of MAIN window towards the FOOTER of table ( MAIN window has a table ) and not outside the window.

Thanks,

Abhinav.

Former Member
0 Kudos

Hi Amahul,

Paste the text node after Table( Header , Main Area, Footer ) .

That is right click on table and create text node .

BR

Dep

By doing Above the text will prited only after all the line items of the table are printed i.e., only on last page.

BR

Dep

Edited by: DeepakNandikanti on Aug 5, 2011 1:05 PM

Former Member
0 Kudos

Hi,

Is your concern identifying the last page?

Or getting values for the text to be printed on last page?