Total pages printed issue in Smartforms

Hi,
I have small issues in Smartforms,
I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
Please guide me about this issue.
Thanks.
VJ.

Hi Florian,
Thanks for your response and O/P management info.
My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
Code Ref:
   CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname           = lf_formname_s
    IMPORTING
      fm_name            = lf_fm_name_s
    EXCEPTIONS
      no_form            = 1
      no_function_module = 2
      OTHERS             = 3.
  IF sy-subrc <> 0.
* Implement suitable error handling here
  ENDIF.
  CALL FUNCTION lf_fm_name_s
    EXPORTING
      control_parameters = ls_control_param
      output_options     = ls_composer_param
      user_settings      = ' '
      v_file_name        = v_smart_name
     t_t_processed      = t_t_processed                             " for total processed
      t_check_amount     = t_check_amount_t
      t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
IMPORTING
      job_output_options = v_output_options
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
Thanks in advance,..

Similar Messages

  • Page printing issue with smartform PO

    Hi Super-Techies,
    I have created a z print program for my purchase order smartform. But the issue I am facing now is that when i try to view the purchase order from transaction me23n -> print preview ( with 15 items). I am getting output as a single page with 10 items on it. The rest 5 items are not being displayed. I mean the page is not getting printed from 2nd page onwards.
    What could be the issue??? Can anyone suggest me.
    Thanks & Regards,
    Vinit

    Hi,
    As said above, I have used table instead of template and the data is flowinf to next pages.
    BUt now the issue is that in the last page suppose if there are only 5 items, than the window border prints after 5 items. It is not good while print preview as there is a blank space created in form (for the rest 5 items which are not being used).
    I want to fix the main window border irrespective of the line items.
    Whats advice on this issue.
    Regards,
    Vinit

  • Print issue for smartform by zebra QL420plus in SAP

    Hi All,
    I created a smartform in SAP to print out label on zebra QL420Plus.
    Current the key issue is that I can not print out smart form from SAP to QL420plus directly. I need to print some text from windows by notepad or word after I power on QL420plus. Then QL420plus seem to be active. So at this point I can print out smartfrom from SAP to QL420plus. I am not sure what’s wrong with QL420plus equipment?
    Thanks.
    Crystal

    did you try like this :
    Spool
    data: in_list     like  pri_params-plist,
          in_dataset  like  pri_params-prdsn,
          in_spool(1) type  c,
         d_dest          like pri_params-pdest.
    NEW-PAGE PRINT ON
                NO-HEADING
                NO-TITLE
                LIST NAME in_list
                LIST DATASET in_dataset
                LINE-SIZE 132
                LINE-COUNT 65
                COPIES 1
                NO DIALOG
                KEEP IN SPOOL ''
                DESTINATION d_dest
                NEW LIST IDENTIFICATION in_spool
                ARCHIVE MODE '1'
                IMMEDIATELY ''.

  • Light room 5.0 multiple pages printing issue

    I'm facing strange issue with multiple pages print from Light Room to Pixma Pro-10 using Canon IJ XPS driver. (OS Win 7)
    Every time when I want to print multiple pages, second and all others are shifted to green. It's also seen on Preview page - see below
    View: original size
    It's a print of two exactly same images (created by virtual copy in Lr) only difference is a printing order (seen on bottom left) if I swap  the printing order results is the same - second print is shifted.
    Even if I make 8 copies of the same image and print it - 4 per page (2x2 pattern) all images on the first page is ok and all on second page are shifted.
    I can'not imagine where should be a problem. Image is in sRGB color space. Color management managed by printer. Printing from other applications (tested with Irfan and ACDSee) seems to be OK.
    It's not a startup problem - I already print numerous images without issue - its should be faulty settings somewhere - but I'm not aware of any color related settings change.
    Disabling preview didn't help - second and next images are shifted
    Color management in LightRoom is set to Managed by printer - which gives excellent results (for the first image)
    Any other settings produces much worse images.

    Some thoughts that may or may not be of any help:
    1) To me the "green" image looks desaturated like a ProPhotoRGB image that is being printed with an sRGB profile.  All images in LR have internal color numbers that have ProPhotoRGB-sized colorspace but a different gamma, irrespective of what the source image had for its colorspace, so the way you have things set, I would assume that LR is sending raw ProPhotoRGB-like data and the printer is doing a conversion, but erroneously only for the first page, somehow, whereas any other program that prints is sending sRGB data and it works every time.
    2) What color management settings do you have set on the printer?  Are they some sort of Automatic color or have you set a specific color profile to match the paper?
    3)  What happens if you have LR manage the color with a paper-specific profile set in LR and set the printer not to manage color?  Does the first page print differently, then?  Create smallish-sized prints on each page so as not to waste ink.  This is the way I'd have LR and the printer setup, with LR doing the color-management and the printer not.  You haven't said how you have your printer settings, so something that could be happening is LR is expecting the printer to do the color-management and the printer is expecting LR to be doing it, so its not working right.
    4)  A first page printing differently than the others can be a setting in the printer, to handle a cover-page differently than the rest, because it has different paper.  I have no experience with your printer, but you might look to see if there is such a setting.
    5)  You haven’t said if you’re using any LR printing layout preset or not.  If so then try printing without having selected one or select a completely different, standard one, and see if the problem clears up.
    6)  LR will remember the last printer and printer-driver settings that you used, so if the driver is updated but LR is remembering settings for the previous driver, then things can get messed up.  You can try uninstalling and reinstalling the printer drive.  You can try installing another copy of the printer driver using a different name for the printer, that way LR’s saved settings shouldn’t be associated with that new name.
    7)  As a last resort, and only after reviewing various preferences you have set in LR, you can try to reset LR’s preferences, in case something is corrupted and causing problems.  The way to reset the preferences is to exit LR and rename the preferences file to something without an .agprefs extension, then restart LR.  If renaming doesn’t seem to be working, then move the .agprefs file to your desktop, temporarily.  You can delete the preferences file, but it’s safer to rename it or move it, in case it doesn’t fix the problem, then you can rename or move it back and have all your old preferences back, instead of recreating all the non-default settings.  The Preferences file location along with many other things, is documented here:
    http://members.lightroomqueen.com/Knowledgebase/Article/View/1373/205/lightroom-5-default- locations
    Finally, is there a reason you’re using LR 5.0 rather than one of the newer versions, in case 5.0 has a bug that has been fixed in subsequent versions?
    Various LR versions can be follow by clicking on the Windows/Mac link under Lightroom down near the bottom of the center column of the Adobe Updates page: http://www.adobe.com/downloads/updates

  • Printing issue in smartforms (Bullets are printed as #)

    Hi Guys,
    I've an issue in printing one of the forms. I'm using bullets in the form and when I see the print preview, i can see the bullets.
    But when I print the document, instead of bullets, I see '#'. Is it something to do with the printer drivers or anything I can do and prevent it.
    Thanks in advance.

    Hi,
    Infact it is a printer issue.
    Please contact the printer incharge to configure the printer so as to print the bullets properly.
    Regards,
    Ram

  • Logo printing issue in Smartform

    Hi,
    I have uploaded company logo and i am using this logo in my Z*PO smart form, during printpreview it is showing correctly (the alignment and resolution), if i print that, the logo alignment is not proper, it is coming down than what i am aligned, the placement is perfect in printpreview.
    Let me know, is there  any other setting that i need to make.
    Thanks,
    Prasad S.

    Hi friend,
    I think there are lot of related post in SDN for this problem. Just search the forum before posting questions.
    One of the similar post i have attached below.
    Link : [Problem with printing logo in smartforms|Problem with printing logo in smartforms;
    I think this will help you. If you still did not get the answer just search in Google by giving the key word "SAP + SDN + Smartforms + Logo printing problem". There are large of solutions to help you.
    Thanks,
    Sri Hari

  • Printing Issue in Smartforms

    Hi All
    I have a issue while tryign to print the smartform output.
    I have the company address right alligned , and also the amount field right alligned.
    The smartform is for Taiwan, and uses ZF for the smartstyles.
    I am able to get the correct output in the print preview ie the address and the amount is right alligned(logging in ZF language.)
    However, when a print is done, the output from the printer on the page is not the same.
    The amount field is i nthe centre , and the address is also not alligned properly.
    Could you suggest it there is something specific to be doen for the printer.
    Any pointer on the same would be of great help.
    Thanks
    Pankaj

    Hi pankaj,
                  Just check it with the settings and drivers installed for the printer.get
    help of u r BASIS person.still u have problem.mail back.
    Rewards points if helpful.
    Thanks and regards,
    Rajesh.

  • Continous Barcode Printing issue in Smartforms

    Hi Genies,
                    Here I have developed one  Bar code report on smartforms. the report was generated successfully but Problem is while taking print.
    the print out should be in continuous  . i have created the report for A4 size while printing it takes some Spaces for footer and header of every new page.
    consider if page contain only two bar codes, if i print documents only two label should use  but here full total height of the A4 sheet is coming out with blank. 
    The Printer is  TVS-LP46.
    Please any one guide me what are all the configuration i need to do?.
    Thanks in Advance..
    Regards,
         Thangam.P

    Hi Nabheet,
                      Yeah its my mistake sorry for that... actually i have created custom Page format for my report the size is 10cm Width and 29.7cm Height. my  single barcode size is 1.8 CM * 3.2 CM. in Transaction SPAD so i have reduced Height as 2 CM and Printer Installation  the Event end of the Line I Have given the comment as /f.
    Regards,
          Thangam.P

  • Printing Issue in smartform!!

    Hi All,
    I am running Driver prog as Background job,  which is creating a Spool as Smartform Output. I can see in spool output that pages are position in Landscape.
    Even when i download the spool id to pdf file using 'RSTXPDFT4', pages are in Landscape.
    But when i try to print spool, then pages are printing in Portrait position. Even at the time of printing spool, i am giving page format as 'X_65_255'. I have set smartform pages to be print in Duplex printing with landscape by setting page Property to 'D'.
    Now if remove this 'D' option from Page property, Spool output is printing in landscape positions correctly but not getting printing back to back. I need to print spool output back to back.
    How to overcome this problem?
    Thanks in advance.

    Thanks Nick for your reply.
    If i print normal word doc in duplex mode, Printer is printing. So i can printer can support duplex printing. Even i try to find OSS Note, 96102.(this note is applicable for Sapscript, but i am assuming it will is also applicable to Smartforms).
    As per this note, if Standard Text SAPSCRIPT-PRINTMODETEST can give u result in duplex mode, then Printer is configure for duplex mode.
    So i Tested this standard text, printing yet did not come in Duplex mode.
    So i am still confuse, where is problem?
    Thanks

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • Printing Issue for Smartform

    Hi All..
    The smartform has been created and activated without any Errors.
    All the data are appearing in the Print Preview in a desired format.
    But when i take the Print, the icon is not getting printed.
    Instead of icone being printed, few dark lines are getting printed on the paper.
    Except icon, all the Text, Tables, etc are getting printed in a right manner.
    What may be the reason..???
    Please Help me out....

    Hi Pavan,
    Please check your printer settings.
    Regards,
    Chetan.

  • Total pages printed

    Hi
    how can i get  page count on Hp laserjet 3005dn printer

    The information you want should be on the configuration page.  You can either get that from the printer control panel menus or from the Embedded Web Server (EWS).
    On the control panel, it should be under Information and then Config Page.  Print that out.
    To access the EWS, type your printer's IP address into your PC's web browser.  There should be a tab with general information such as page counts.
    Mike
    Although I'm an HP employee, I'm speaking for myself and not HP.

  • Unwanted additional page printing officejet pro 8600

    I have an officejet pro 8600 and i must have changed a setting when trying to solve a seperate problem (now resolved) but cant find what i did. The result is that when i print a word document, any text on that document is printed again on a subsequent and therefore unwanted page. Any ideas?
    AJM

    Hello @ajm100 , and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are running into page print issues.  I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit. With this information we can provide you with accurate information.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Also, does this issue occur when making a copy?
    Please let me know what you find.  Thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How do I find the # of pages printed on a HP Deskjet 6540?

    I am using a Mac but I could also hook the printer up to a PC if necessary.
    This question was solved.
    View Solution.

    Hello mobiley,
    A test page should be printed in order to know "Total Pages Printed". 
    Perform the below steps on the printer ...
    Press and hold Power, press Cancel once, release Power
    Refer to Serial No 21 "PG" which gives the value of Page count .
    Regards,
    Jabzi
    Help the community by marking this post .
    Was your question answered? Mark it as an Accepted Solution!
    See a great post? Give it a Kudos!
    I work for HP
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • How to modify total pages in smartforms?

    Hi All,
    In smartform Im printing ' page of total pages' as &SFSY-PAGE& of &SFSY-FORMPAGES(3CZ)&. All are working fine. Now at last I have to print one extra page without page no. So, If the total o/p pages are 16 ( including last page) I have to show i.e
    1 of 15, 2 of 15 .... 15 of 15 , and in the last pages nothing. For this Im moving SFSY-FORMPAGES to one variable and substracting one from it, but its not working, its showing as 1 of 0, 2 of 1 ... 15 of 14..
    so how to decrease the total page number. I think it generates in runtime and in my smartform all windows are in one PAGE.
    So how to do this ? any Idea?

    Hi,
    I think we can try this. Issue new page after all pages. If page less than or equal to total pages, display that, else issue new page.
    /: IF &SFSY-PAGE& LE &SFSY-FORMPAGES(3CZ)& .
    ' page of total pages' as &SFSY-PAGE& of &SFSY-FORMPAGES(3CZ)&
    /: ELSE.
    /: NEW-PAGE.
    /: ENDIF.

Maybe you are looking for

  • Smartview 11.1.2 - Planning and Excel formulas giving problems

    Hi, I am using Smartview 11.1.2 with HP 11.1.2, when I open one webform done and in one cell I write =10 and after I write different number like 5, it's still with =10 so, has someone had problems with you start to use a formula in one cell and after

  • Error running Universal Installer

    I downloaded Personal Oracle and unzipped it. I'm trying to run the Universal Installer but it crashes. The error message is below. Can someone tell me how to fix this? Thanks, This is the errror message: JREW caused an invalid page fault in module <

  • 5800 Volume Level

    Hi, I recently bought nokia 5800. I use Bose on ear headphones for my device. The volume level is too low when compared to ipod or iphone. I would like to increase the volume output level of my phone. Can anyone help me or suggest a suitable software

  • SSIS Jobs in SQL 2012

    In SQL 2012 is it possible to execute SSIS packages from agent by invoking dtexec? In SQL 2008 I was running bunch of jobs that invoked dtexec.exe and called packages. I am not having much luck with it. In SQL 2008 I was executing packages stored in

  • IPod hums when plugged in.

    My iPod's battery recently completely died to the point that is shut down. I wouldn't restart so I figured that it just needed to be charged. When I plugged it into my computer all it started to do is hum lightly. Its kind of like a buzzing sound. It