on 11-10-2011 9:03 AM
i am selecting muliple production orders,on selection-screen for form priniting
so it prints individual forms for each order,but here i have problem
for 1st oder it showing 1 t0 2
2to2.
upto ok
in 2nd order it shows 2to2 like that
but iwant page no of 2nd oder also like 1st oder page no.
pls
help me to get that
thank u
Hi,
In the smartform in the Pages and Windows folder and the in the first page
there is a tab called 'Page Counter'. in that tab in 'Mode' tab try changing the radio buttons to
Initialise Counter, Increase Counter, Leave counter ......, etc.
I hope this resolves your issue.
Thanks & Regards,
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you call the FM smartforms order per order or with a list of orders, which values did you pass for CONTROL_PARAMETERS-NO_OPEN and NO_CLOSE
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
First call the SSF_FUNCTION_MODULE_NAME
Now cal the FM SSF_OPEN
loop on the internal table containing production order no's and get data for the production order
Now call the fm associated with the smart form name.
and finally call the fm ssf_close.
THIS WOULD SOLVE THE PROBLEM. REASON BEING THE FM ASSOCIATED WITH THE SMART FORM IS CALLED FOR EVERY ITERATION SO THIS WOULD TREAT THE SF OUTPUT FOR EACH PRODUCTION ORDER AS A NEW FORM..
<begging removed by moderator>
Moderator message: please do not post in all upper case.
Edited by: Thomas Zloch on Nov 14, 2011 12:02 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Srivani
For that type of page numbering
you have to print the variables for showing the pagenumbers by clearing those variables
for every order
Regards,
Prakash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but i am using system fields sfsy-page,sfsy-formpage but after 1st order we can't refresh the syatem fields,
no of page for order's always depending on items of order ,dynamically pages increses for 1st order
but
my requirement is
for 1st order
1 of 3
2 of 3
3 of 3
for
2nd order
1 of 2
2 of 2
then only the user can know that paricular order have how many pages .
so pls help me for this
i am using variables only to count number of pages per order but i dont know where to display it.I created a final window and define a text and pass the variable to it but it didnt work,the total page has to be printed right from page 1 like page 1 of<3>,so i dont know know where to display the <3>.<removed by moderator> please help.
Edited by: Thomas Zloch on Nov 11, 2011 2:02 PM
&SFSY-FORMPAGES& and &SFSY-JOBPAGES& are still increase by one even you try to initialize the counter.
If you really want the total pages count for each Order. I would suggest you to try to modify your print program and call the smartform for each Oder. Just hide the print window. Then you will be able to get the page/total pages correctly.
Have you used these system variables in ur smartform ?
&SFSY-PAGE& of &SFSY-FORMPAGES&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.