Skip to Content
avatar image
Former Member

how SFSY-jobpages refresh

Dear Gurus,

My requirement is that i m runing one report customerwise.

i have 10 customer and every customer report is coming more than 2 pages.

when i m running 10 customer so total number of pages showing like 1/55 pages.

but i want for first customer 1 / 3 for second customer customer one. for nex 1 / 5. i want seprate customerwise total no of pages.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 15, 2007 at 04:01 PM

    Hi,

    Use SFSY-FORMPAGES to display the total number of pages in the Smartforms

    &SFSY-PAGE& Current page number

    &SFSY-FORMPAGE& Total number of pages in the currently formatted layout set

    &SFSY-JOBPAGE& Total number of pages in the currently formatted print request

    For EG:

    For scripts use &PAGE& and &SAPSCRIPT-FORMPAGES& for printing the page number like '1 of 5' or '2 of 5'

    in smartforms use the following

    &SFSY-PAGE& of &SFSY-FORMPAGES& to print as above

    And check the space for printing this if it is more than 10 pages

    just move this window size little left and see

    it will print

    it is purely space problem if it is printing * instead of page

    Reward Points if helpful.

    Thanks

    Naveen khan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 14, 2007 at 01:46 PM

    Hi

    use this one check if the customer is changed then assign the value to sy-page

    sy-page = 1.

    reward points to all helpful answers

    kiran.M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 14, 2007 at 05:54 PM

    use SFSY-FORMPAGES INSTEAD OF SFSY-JOBPAGES

    Add comment
    10|10000 characters needed characters exceeded