Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with smart form

Former Member
0 Likes
440

Hi all,

I have a smart form and i need heading in main window in all pages at the top.

I have the loop in the main window and underneath taht i have text where iam writing the

/: TOP

po creation date

/: ENDTOP

&PO& &DATE&

i am getting output like this

PO CREATION DATE

1 01/23/06

PO CREATION DATE

2 01/23/06

PO CREATION DATE

3 01/25/06

PO CREATION DATE

Next page

4 01/26/06

PO CREATION DATE

5 01/29/06

PO CREATION DATE

6 01/29/06

i want the output like this

PO CREATION DATE

1 01/23/06

2 01/23/06

3 01/25/06

4 01/26/06

5 01/29/06

6 01/29/06

if its goes to the next page then i need to get like

PO CREATION DATE

7 02/21/06

8 03/21/06

10 03/21/06

11 03/23/06

12 03/25/06

13 03/26/06

I tried to check how this works

/: if &sfsy-page& = 1.

po creation date

&sfsy-page&

/: ENDif

&PO& &DATE&

Then strange thing is it goes into if condition for page2 as wee and my out is like this then

PO CREATION DATE

1

1 01/23/06

PO CREATION DATE

1

2 01/23/06

PO CREATION DATE

1

3 01/25/06

PO CREATION DATE

1

Next page

4 01/26/06

PO CREATION DATE

2 -


Pageno is 2

5 01/29/06

PO CREATION DATE

2

6 01/29/06

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
416

Create a header style separately and apply that on all pages in the smart forms.

Create a header style separately and apply that on all pages in the smart forms.

2 REPLIES 2
Read only

Former Member
0 Likes
416

hi kajol,

see the below link

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf

i think this link helps to print the heading details in all the pages

reagards,

sindhu

Read only

Former Member
0 Likes
417

Create a header style separately and apply that on all pages in the smart forms.