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

Display Formpage in smartform

hi,

in CREDIT MEMO smartform, i have to display page number and total form pages ( e.g- 1 of 10 ), i am using sfsy variable formpages,it is working properly for total pages upto 9, but when total pages are 10 or greater than 10 it displays as 1 of *, then i tried displaying it by &sfsy-formpages(Z4.0)&, now this is also not working.

please help.

regards,

Rajyalaxmi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 07:07 AM

    Hi,

    This is because of the type of the window you use. Change the window type of the page number window to Final Window. This will solve your problem.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2008 at 07:08 AM

    If you can change the window type from Secondary to Final Window

    Then your problem will be resolved.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 07:09 AM

    hi,

    do one thing .declare one Global variable type I.

    gv_pages type i.

    In program lines assgin from pages to that global varialble .

    gv_pages = sfsy-formpages.

    pages/&gv_pages&.

    Just try like this ..

    Regards,

    kumar.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 07:10 AM

    please tell me where to change the window type

    regards,

    rajyalaxmi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 07:19 AM

    Hi,

    You can use &SFSY-FORMPAGES(3Z)& instead of &SFSY-FORMPAGES&

    I think it will work.

    Reward if it is useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 07:21 AM

    i am working on 4.6c version, window general attribute contains only 1 check box 'main window'

    please help, what to do?

    Add a comment
    10|10000 characters needed characters exceeded

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.