Skip to Content
author's profile photo Former Member
Former Member

page numbers in smartform

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Nov 10, 2011 at 10:03 AM

    Have you used these system variables in ur smartform ?

    &SFSY-PAGE& of &SFSY-FORMPAGES&
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2011 at 10:57 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 14, 2011 at 01:13 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 15, 2011 at 08:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 10, 2011 at 12:08 PM
    -1

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      &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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.