cancel
Showing results for 
Search instead for 
Did you mean: 

to display page no in smartforms

Former Member
0 Kudos

i want to display the page no in the smartform only if pages are more than one including the first page

and if it is only page 1 then i need not print the page no .

any suggestion will be rewarded.

Regards

cnu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi cnu,

check out for the number of entries in the main table.

also figure out how many can be printed on the first page.

if the count is more than the lines which can be printed then display the page number otherwise no.

let me know if you have anyother doubts.

award point if helpful.

Answers (5)

Answers (5)

Former Member
0 Kudos

hi cnu,

in the page number text just check the condition as

text--> in general attributes put sfsy-formpages > 1.

then display page number as sfsy-page.

this will be helpfull...

please reward in caase usefull...

regards,

prashant

Former Member
0 Kudos

Hi

Create window put condition there as sfsy-jobpages Ne 1.

then it wont display at first page.

this will work

Regards

Shiva

Former Member
0 Kudos

Hi,

Use the SFSY-PAGE and give the

Select the Condion for the text Only after end of main window or u can give some condtion for that text.

Regards,

Nandha

Reward if it helps

Former Member
0 Kudos

May be you can also check SFSY-PAGEBREAK.

If SFSY-PAGEBREAK = X.

Print &SFSY-PAGE&.

Regards,

Nikhil Moghe

Former Member
0 Kudos

In the condition tab of the text element check If sfsy-page = 1,if yes Do not print Page no.

If SFSY-PAGE > 1.

Use &SFSY-PAGE&.It will print your page number.

Regards,

Nikhil Moghe