on 05-05-2008 6:39 AM
Hi,
I am using 2 smartform in which second smartforms page no should be the continuation of first smartform pages.Can anyone help me, how to incorporate this page no logic.
Regards,
pooja
Hi,
In Export tab of the Form Interface, u can find the paramater 'DOCUMENT_OUTPUT_INFO' which gives the total no. of pages printed in the smartform. Get this value in a variable(say 'fspages' type SSFCRESPD which is to be declared in the driver prg) from the first smartform call function in ur driver prg.
In the second smartform, declare a variable of type 'SSFCRESPD' in the import tab of the form interface. Pass the variable(fspages) which u got from from the first smartform export parameter to the export parameter of the second smartform calling function in the driver prg.
Now in the window(second smartform) where u display pages, create one program lines node and increment that variable before printing the variable.
This ll make u print the pages no. which is the continuation of the first smartform pages.
Hope this helps u.
Regards,
Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Define a variable in global definitions and before printing the page no assign
Ex :if you have defined A and B as variable in global definitions.
in program lines write like this.
if sfsy-page = 1.
b = b + 1.
endif.
if b > 1.
A = A + sysy-page.
else.
a = sfsy-page.
endif.
instead of sfsy-page print A
Thanks,
NN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create a text element in the window you want this pager no to print and insert the system field &sfsy-page& for the page number to print. You want to display all the pages in the format "page X of Y" for example page 2 of 10, then use the system field &sfsy-formpages&.
Reward Points If Helpful,
Regards,
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.