Smartform Spool issue - Not pulling all pages

Hi,
I am expecting aorund 2000 pages of spool file with a smartform driver program.
My spooljob is limiting me to only 33 pages and job is still active  when i check using SM37.
Anything related to spooling is wrong in my code?
SORT T_ITEM BY FKDAT.
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      FORMNAME           = P_FORM
    IMPORTING
      FM_NAME            = FM_NAME
    EXCEPTIONS
      NO_FORM            = 1
      NO_FUNCTION_MODULE = 2
      OTHERS             = 3.
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  LS_COMPOSER_PARAM-TDNEWID = 'X'.
  LS_CONTROL_PARAM-PREVIEW = ''.
  SORT T_HEADER BY NAME1 KUNNR.
  DATA: V_PREV_CUR LIKE BSID-WAERS.
  LOOP AT T_HEADER INTO WA_HEADER.
    REFRESH: ITEM_ITAB, ITEM_ITAB_TMP.
    CLEAR: V_PREV_CUR.
    LOOP AT T_ITEM WHERE KUNRG = WA_HEADER-KUNNR.
      MOVE-CORRESPONDING T_ITEM TO ITEM_ITAB.
      APPEND ITEM_ITAB.
    ENDLOOP.
    SORT ITEM_ITAB BY WAERS.
    LOOP AT ITEM_ITAB.
      IF SY-TABIX <> 1.
        IF V_PREV_CUR <> ITEM_ITAB-WAERS.
          SORT ITEM_ITAB_TMP BY FKDAT.
          CALL FUNCTION FM_NAME
            EXPORTING
              ARCHIVE_INDEX        = TOA_DARA
              ARCHIVE_INDEX_TAB    = ARC_IND_TAB
              ARCHIVE_PARAMETERS   = ARC_PARAMS
              CONTROL_PARAMETERS   = LS_CONTROL_PARAM
              MAIL_APPL_OBJ        = LS_RECIPIENT
              MAIL_RECIPIENT       = LS_RECIPIENT
              MAIL_SENDER          = LS_SENDER
              OUTPUT_OPTIONS       = LS_COMPOSER_PARAM
              USER_SETTINGS        = SPACE
              WA_ITAB              = WA_HEADER
            IMPORTING
              DOCUMENT_OUTPUT_INFO = DOCUMENT_OUTPUT_INFO
              JOB_OUTPUT_INFO      = JOB_OUTPUT_INFO
              JOB_OUTPUT_OPTIONS   = JOB_OUTPUT_OPTIONS
            TABLES
              WA_DEP               = ITEM_ITAB_TMP
            EXCEPTIONS
              FORMATTING_ERROR     = 1
              INTERNAL_ERROR       = 2
              SEND_ERROR           = 3
              USER_CANCELED        = 4.
          IF SY-SUBRC <> 0.
            WRITE: / 'ERROR in passing variables to the smartforms '.
          ENDIF.
          LS_COMPOSER_PARAM-TDNEWID = SPACE.
          LS_CONTROL_PARAM-NO_DIALOG = 'X'.
          LS_CONTROL_PARAM-PREVIEW = ''.
          REFRESH ITEM_ITAB_TMP.
          MOVE-CORRESPONDING ITEM_ITAB TO ITEM_ITAB_TMP.
          APPEND ITEM_ITAB_TMP.
        ELSE.
          MOVE-CORRESPONDING ITEM_ITAB TO ITEM_ITAB_TMP.
          APPEND ITEM_ITAB_TMP.
        ENDIF.
      ELSE.
        REFRESH ITEM_ITAB_TMP.
        MOVE-CORRESPONDING ITEM_ITAB TO ITEM_ITAB_TMP.
        APPEND ITEM_ITAB_TMP.
      ENDIF.
      AT LAST.
        CALL FUNCTION FM_NAME
          EXPORTING
            ARCHIVE_INDEX        = TOA_DARA
            ARCHIVE_INDEX_TAB    = ARC_IND_TAB
            ARCHIVE_PARAMETERS   = ARC_PARAMS
            CONTROL_PARAMETERS   = LS_CONTROL_PARAM
            MAIL_APPL_OBJ        = LS_RECIPIENT
            MAIL_RECIPIENT       = LS_RECIPIENT
            MAIL_SENDER          = LS_SENDER
            OUTPUT_OPTIONS       = LS_COMPOSER_PARAM
            USER_SETTINGS        = SPACE
            WA_ITAB              = WA_HEADER
          IMPORTING
            DOCUMENT_OUTPUT_INFO = DOCUMENT_OUTPUT_INFO
            JOB_OUTPUT_INFO      = JOB_OUTPUT_INFO
            JOB_OUTPUT_OPTIONS   = JOB_OUTPUT_OPTIONS
          TABLES
            WA_DEP               = ITEM_ITAB_TMP
          EXCEPTIONS
            FORMATTING_ERROR     = 1
            INTERNAL_ERROR       = 2
            SEND_ERROR           = 3
            USER_CANCELED        = 4.
        IF SY-SUBRC <> 0.
          WRITE: / 'ERROR in passing vars to the smartforms '.
        ENDIF.
        LS_COMPOSER_PARAM-TDNEWID = SPACE.
        LS_CONTROL_PARAM-NO_DIALOG = 'X'.
        LS_CONTROL_PARAM-PREVIEW = ''.
      ENDAT.
      V_PREV_CUR = ITEM_ITAB-WAERS.
    ENDLOOP.
  ENDLOOP.

Hi Vara,
By default there will be a value set by the administrator for the number of pages you can view in the spool. So to me it looks like this value is set to 33 in yoru case. You can go to setting from the same screen and change thsi setting to display all pages. But beware that this may take a long time some times and also give you a dump at times.
-Guru

Similar Messages

  • Why can I not print all pages in a multi-page document?

    Why can I not print all pages in a multi-page document?

    We are using Adobe Acrobat Reader, version 11.0. It's on a relatively new laptop (Windows 8) and accessing the internet through Mozilla. The printer is an HP Officejet. When I open a multi-page Adobe document and try to print all pages, I only get 1-2, have to then say print page 3, then say print page 4, etc. We use Adobe on our other laptop and it prints all pages of all Adobe documents and we have never had a problem and he accesses documents on the internet also through Mozilla.

  • Report header section does not print all pages

    Hi,
    I have a custom report that consists of all 3 parts. it has a header section, main section, and a trailer section.
    I have a problem in a header section that it does not print all pages. It only gives the output of the first page and the last page for the header section.
    I open the .rdf file with oracle reports 6i .
    what do i need to check please?

    Please refer the following thread:
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-dev-l/report-header-section-does-not-print-all-pages-4166062

  • Preview App not displaying all pages

    I am finding under Mavericks Preview App is not displaying all pages of some pdf's. 
    If you turn on thumbnails you can see and select all the pages but it's not possible to scroll down through all the pages.  Weird and annoying...

    First, before you do anything else at all, make a copy of your file as a backup. You said "Book" but I'm thinking you mean in one file, not a combined file InDesign Book (.indb) project.
    Now you need to test to see if this is a program problem or a file problem.
    Are the pages still there? Can you choose them from the navigation box in the lower left corner of the document window?
    Is this happening with any other documents? If you export this file to .inx (Interchange format) then open that, do the pages display properly?
    If it's happening in other docs, or if .inx doesn't solve the problem, look at how to replace your application preferences here: Adobe InDesign CS4 * Setting preferences

  • Acrobat 10 not Scanning all Pages from ADF (Automatic Document Feeder)

    Acrobat 10 does not scan all of the pages from the Automatic Document Feeder from an attached scanner, and only scans some of the pages. The ADF works fine with the built-in Windows 7 Scan and Fax, as well as with HP's software, but it just won't work with Adobe Acrobat for whatever reason. The scanners that we are using are brand new, and the model is: LaserJet Pro 200 color MFP M276mw. The issue has been duplicated on four computers and two scanners, in a Windows 7 x64 Enterprise environment. A video of the exact problem can be found here: http://uncoolcat.com/work/LaserJet_Pro_200_Color_M276.mp4
    Would somebody be able to help us resolve this issue?

    Hi Varinder,
    Thank you for the suggestion! We wound up figuring out a way to make their "full feature" software (which does include the TWAIN drivers) install mostly silently, and install only if they've connected the device locally to their computer, as noted in the other post that was submitted a few minutes ago. I really appreciate all of the help that you’ve given us!
    In order to duplicate the WIA driver issue, use only the “HP LaserJet Pro 200 Color M276 PCL6 Print Driver (no installer)” (LJ-Pro-200-color-MFP-M276-driver-only-13170.exe) driver package. This driver only package doesn’t appear to have any of the files you mentioned in your previous post in the Scan_App folder for the TWAIN functionality (but those files are available in the “full feature” setup). We copied the entire “driver-only” folder to our plug and play driver folder, and the drivers automatically install. Once they get installed, there isn’t a TWAIN option anywhere to be found in any scanning application, just the WIA driver as far as I can tell. Adobe Acrobat 10 when using the ADF then skips some pages when scanning.
    However, now that you’ve found the install files for the TWAIN driver for the scanner, this should be a non-issue for people as they can just install those and use TWAIN instead, so thank you!
    Also, I find it rather amusing that you were able to help us with what appears to be an HP issue far better and faster than HP did or could. We spoke with seven people at HP, and not a single one of them pointed us in any useful direction or provide us with any useful information on the matter; had we followed any of their advice we would have lost countless hours (one person suggested taking the scanners apart and thoroughly cleaning the rollers, even though it was clearly stated they work fine from a hardware perspective with the full feature software installed and that they are brand new). So anyway, thank you. If you require anything else from us, let me know.

  • CRYSTAL 8.5.. NOT PULLING ALL ITEMS INTO TOTAL

    HELLO, WE ARE USING 8.5 AND NOW IT ISN'T PULLING ALL OF THE DATA NEEDED FOR A LINE TOTAL.  WHILE TRYING TO FIGURE OUT WHAT HAPPENED, WE FOUND THE SPECIFIC ITEMS "SUPPRESED", AND CORRECTED THAT, HOWEVER ALL ITEMS ARE NOW LISTED AS THEY SHOULD BE, BUT NOT BEING INCLUDED IN THE TOTAL... ANY ASSISTANCE WOULD BE APPRECIATED IF YOU KNOW HOW TO CORRECT THIS,

    Hi, 
    Are you using a running total to or are you summarzing the numbers?  If you are using a running total, where on the report is the formula totalling, is it in the Detail section, Footer? 
    When you show the running total formula, can you actually see which records are not totalling? 
    It's always possible the formula is missing something.  If you created a simple running total like: 
    WhilePrintingRecords;
    NumberVar MyTotal;
    MyTotal := MyTotal + {table.FIELD};
    Do the same records total or are they also being skipped? 
    Are you initializing or reinitializing the running totals somewhere in the report?  Possiblly in a Group or Page header? 
    Crystal 8.5 didn't have any problems that I could remember with running totals, I made literally hundreds of reports with running totals in that version so I'm more inclined to look at the formula and how the running total is setup. 
    Good luck,
    Brian

  • Printer not printer all pages

    my printer will not print out all pages of a document.  It may leave 4 or 5 pages unprinted

    Hi , Welcome to the HP Forums! I understand that your HP Officejet 5740 is not printing web pages properly on Windows 7. I am happy to look into this printing issue for you!  What is the web browser that you are using to print with?  In the meantime, please try another browser such as Firefox or Google Chrome. In case the issue is with the current browser you are using.  I would also suggest our HP Print and Scan Doctor, in case of a possible driver conflict.  Hope to hear from you soon!  “Please click the Thumbs up icon below to thank me for responding.”

  • Classic not printing all pages from 4D application

    I have a client experiencing a strange issue with printing from Classic in Mac OS X 10.4.11 Tiger, to an HP LaserJet 4200n via AppleTalk.
    They are using the Classic version of 4D for their office database and inventory system. When they attempt to print multiple records, 4D will seem to spool the pages quickly, one page after the next, and the printer begins printing them one page at a time. However, as soon as 4D has finished spooling the jobs, the printer stops printing, even though records remain unprinted.
    Now here's where it gets interesting. The printer, by default, it setup via the Chooser using the LaserWriter 8 driver. It doesn't matter if we pick either the Generic PPD, or the proper HP LaserJet 4200 series PPD, but if we then go to the Chooser and reconfigure the printer using either PPD, future print attempts during that session of Classic print out just fine - even when 4D has finished spooling, all pages print properly.
    However, once Classic is eventually stopped, the phenomenon whereby only the first few pages are printed, returns. We find no errors in PrintMonitor regarding the problem, and are stumped. If you have any thoughts or approaches to take, my client would certainly be grateful!
    Thanks much for your time,
    MBJ

    This is the only article I'm aware of printing from Classic for 10.4:
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh660.html
    I wonder if that's how you are setup. If you are and it doesn't work, you might want to ask the question in the Classic forum:
    http://discussions.apple.com/forum.jspa?forumID=726

  • MX922 not scanning all pages

    Hello all, I'm getting a really strange error. I only started noticing this today. I have an 11 page document and when I load it in the tray, it scans all the pages, the status bar on my computer counts up to the 11 pages when it is scanning, but the pdf that it saves does not have all 11 pages. I've had different results: 1st try - 6 pages2nd try - 8 pages3rd try - 8 pages4th try - 8 pages All of the pages are in order (not skipping between scanned pages). It's even stranger that the software on my pc shows all 11 pages being scanned while the progress bar. I'm using: Windows 7 Ultimate, SP1Canaon MX922 firmware 3.001

    Are you using the IJ Scan utility to initiate the scan? If so, are you selecting Auto-Scan or Document Scan?

  • Background Job  & Spool List Recipient not receiving all pages

    I have a program that is run during our nightly cycle and is scheduled in SM36 with a spool list recipient designated for the report to be delivered to the user's SAP Inbox.  The job completes successfully and creates a report that is over 100 pages.  The user is only receiving 10 pages in their SAP Inbox.  Is this a Basis system setting?  Can we changes this on a per user basis?
    Thanks,
    Holly

    Hi Holly,
    it's sound like the <b>SAP-Note: 329537</b>
    Symptom
    If a batch job creates a spool and sends it to a recipients, only the first 1000 lines are sent.
    Other terms
    SAPOffice, spool list recipient
    Reason and Prerequisites
    For performance reasons, the output sent to SAPOffice is limited to 1000 lines.
    Solution
    If you wish to send spools longer than 1000 lines in Releases > 4.6B, proceeed as follows:
    1. Apply the support packages or correction instructions mentioned in this note.
    2. Create the following two entries in table TSPOPTIONS with transaction SE16:
                  option: BTC_FIRSTLINE value: < desired value, probably 1>
                  option: BTC_LASTLINE  value: < desired value, e.g. 99999>
    1. Call function module RSPO_OPTION_FLUSH with value NAME = '*'.
    Please note that this change may impact performance, depending on the selected line interval.
    In Releases < 4.6C or if you are not able to apply the support packages or corrections, you can accomplish this with a minor code change.
    In program RSBTCRTE, change the parameter sent to the function module
    RSPO_SPOOLJOB_TO_OFFICE as follows:
    call function 'RSPO_SPOOLJOB_TO_OFFICE'
         exporting
          rqident              =
    spo_list_id
             first_line         
    = 1
    last_line            =
    1000            "<<<  Delete
            last_line            =
    99999           "<<<  Insert
            receiver           
    = recipient_object
             mail_title         
    = document_data-obj_descr
          exceptions

  • Smartform - Loop issue not printing correctly

    Hi,
    In smartforms -Main Window - I created like this
    1.Loop Statement   - This will loop - ITAB1
    TEXT statement - ITAB1-ADRNR - (prints the address)
    within the loop
      ITEM_DATA (item data) table.  - This will Loop ITAB2 - where ADRNR = ITAB1-ADRNR
    This supposed to put line items which are having ADRNR from ITAB1
    But my program is printing in wrong way..
    it is printing
    ADDRESS1 - ITAB1-ADRNR - correct
    ITEM DATA -  from ITAB2- related to ADRNR  (if it has only 1 record) - correct
    ADDRESS2-ITAB1-ADRNR - correct
    ITEM DATA - from ITAB2 - where ADRNR = ITAB1ADRNR - if this condition satisfies more than 1 record
    supposed to print all the records - but instead it is printing  always the first record   - wrong
    Ex- if 3 records has the same ADRNR of ITAB1 in ITAB2 - it is actually printing 3 times the first satisfying record - Wrong
    Can anyone please tell me what is the issue?
    Thanks for your time.
    Kevin

    Hi,
    I created like this..
    ITAB1 - complete data
    ITAB2 - unique records based on ADRNR
    1. LOOP ITAB2
    Print Address - ITAB2-ADRNR
    ITEM DATA(header and line items)
    I have given table name in DATA loop section
    - loop ITAB1 - where ADRNR = ITAB2-ADRNR
    But in item data it is printing the same line item repetedly .
    Any comments?
    Thanks for ur time.

  • Firefox 7 beta is not printing all pages

    All is in question. I have found a page http://www.modssl.org/docs/2.8/ssl_reference.html which is around 20 pages. When I print it in firefox it prints only first 10 pages. in IE works fine. Firefox displays only 10 pages in the print preview as well so this is not a problem of printer. I am using firefox 7 beta, Winxp sp3.

    I'm not sure why, but it seems to be related to the use of the &lt;fieldset> tag around the content. Firefox apparently doesn't paginate that tag as expected.
    To see how it would appear in print preview substituting a styled &lt;div> tag, you could run the following snippet of script:
    (1) Copy the following to the clipboard (it's all one line):
    <br>var fs = document.querySelector("fieldset"); var dnew = document.createElement("div"); dnew.setAttribute("class", fs.getAttribute("class")); fs.parentNode.insertBefore(dnew, fs); while(fs.childNodes.length > 0) dnew.appendChild(fs.childNodes[0]); dnew.setAttribute("style", "margin:0 2px; padding:0.35em 0.625em 0.75em; border:2px groove #eee;");
    (2) On your test page, open Firefox's web console (Ctrl+Shift+k or Web Developer > Web Console)
    (3) Paste the code next to the caret (>) and press Enter to run it
    (4) Try print preview

  • Templates not uploading all pages using same template.

    Hey guys, I'm having difficulties with Dreamweaver at the moment.
    Here's the problem:
    I've created a template for my current website. This file has .dwt so it's the template.
    I've created so far 3 different pages using html and the template.dwt file.
    The template has a editable region for the content.
    But, I was editing the non editable regions, like the naviagation links and names.
    I changed some information on the template file, pressed Ctrl+S then this window popped up:
    http://prntscr.com/nd36z
    Yes, it works so far according to dream weaver template guides, but I have 2 other pages using the templates which are named index.html and staffinfo.html, which is not showing up there.
    After I pressed update: It shows:
    http://prntscr.com/nd3cj
    I'm wondering what might be the problem there. I had a look at the html code on my other 2 pages that wern't displayed, and at the top it was linked with the template file name which was the same as the "offguides".
    Another question i want to ask is, is there a way to update a template without already having to open the files with the templates on? Because at the moment, I have to open all the files with the template on, then save them manually after I saved the template. Because if i have like 1000 different pages using the same templates it would be quite time consuming to keep pressing save and open 1000 different tabs for the pages. So is there like a auto update & save? The two other pages doesn't show up in the pop-up window, but if I open them the templates updates them, but i still have to save manually.
    Thanks for reading, hope this can be solved.
    James.

    Jon, ohh, I'd try it, but there is no Page from template:   http://prntscr.com/nd7oa
    Nancy, Dreamweaver CS5. Windows Vista.
    Which code do you want?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
              <meta http-equiv="content-type" content="text/html; charset=utf-8" />
              <meta name="description" content="Your description goes here" />
              <meta name="keywords" content="your,keywords,goes,here" />
              <meta name="author" content="Your Name" />
              <link href='http://fonts.googleapis.com/css?family=Dosis' rel='stylesheet' type='text/css' />
       <link rel="stylesheet" type="text/css" href="/origo.css" title="Origo" media="all" />
        <link rel="icon"
          type="image/png"
          href="/images/favicon.png" />
    <!-- TemplateBeginEditable name="doctitle" -->
              <title>Pokemon Creed Help Site - Beta</title>
              <!-- TemplateEndEditable -->
              <!-- TemplateBeginEditable name="head" -->
              <!-- TemplateEndEditable -->
    </head>
    Thats the start of the template code.

  • Antenna Issue Not with All Phones - I have 4 iPhone 4s and . .. .

    3 of them do not exhibit this at all. Of course, one does, and that is my 32G iPhone 4. Wife's and kids' phones do not lose signal at all. Weird.
    And, it only occurs when covering up the seam at the bottom left corner of the phone. Signal comes right back when you move your hand/finger.
    Put a case on = no issue at all. What are people hearing Apple is doing about this, if anything?

    Ok, this is definitely an issue. Yes, the signal can be affected by hand position but not like this. I can replicate this problem with 100% accuracy. It's not like it does it sometimes and sometimes not. This is an anomaly with the iPhone 4. With mobile phones, hand position and the positioning of the phone can increase or decrease the signal and amount of bars shown. This usually happens randomly. But in this case, when placing my hand or thumb or anything over the line seperating the antenna's on the lower left side, my bars slowly decrease until there is no signal. When I remove my hand, the signal goes back to full bars. I've seen phones drop or gain a bar or two at times but not like this. This will go from full bars to no signal every single time. My call dropped 3 times in 10 minutes during my first conversation today.
    The bumper case is not a solution. If the phone can't be used like a phone should be used out of the box then there is a problem. How else are we supposed to hold it? It is designed to fit in the palm of your hand. When I am talking, my hand is resting on about 80% of the sides. The bottom area is the most common area to hold.
    This issue isn't even close to a dealbreaker for me though. I love this phone and think it's the best phone period. I just hope we get some official word on this problem other than spend $30 on a bumper case. I love the staneless steel look and don't want to cover it up. I'm glad to see that some users don't have this issue. Hopefully it is just a bad batch. At least the phone is still usuable for now. This is just a minor snag. I know Apple will be on top of it in no time.
    I am just already getting tired of reading posts from people saying this isn't an issue when it most definitely is. I'm 100% positive that what I and others are experiencing should not be happening.

  • Muse not turning all pages to HTML.

    Any help would be appreciated. I have a site with just 4 primary pages, one of those 4 has 5 sub pages. In preview mode all works fine. In 'view site in browser' the page with the sub-pages isn't found and neither are the sub pages. If I export as HTML that page plus the sub pages aren't present, just 3 HTML files are made equating to the other pages. It seems not to be seeing the fourth page and its sub pages. I'm confused. Can anyone help?

    Is it possible you've marked that one page as not exporting? Right click on the page in plan mode and be sure that 'Export Page' is checked.

Maybe you are looking for

  • Additional Data in Header Level for ME51N / ME52N / ME53N

    Dear Gurus, I have one requirement related to apply enhancement for additional fields in purchase requisition header level. After searching a lot , I dint found any solution for this. Does anybody have any solution for this. Regards, Shibashis.

  • Can't launch iTunes on iPad WiFi

    I've had the 16GB WiFi model since launch, and suddenly today when I try to launch iTunes, it comes up blank (I see the navigation icons at the bottom) for about a second then immediately launches the App Store instead. Some details: - The account th

  • Inspire 5500 - Speakers Cut Out?

    Hello... I'm using the excellent Inspire 5500 speakers, but occasionally one of the speakers, usually front center, just cuts out. If you pull the power and plug it back in (a simple off/on doesn't work) it'll come back. But sometimes when I turn the

  • Final cut pro overlapping videos

    Hi I am using final cut pro to overlap two video clips together. (the idea of the video is a fashion shoot with the model holding a scarf one clip she is holding one pose and the second clip another and I want them to overlap) I have used opacity to

  • Schedule a particula Service Call to a particular day

    Hi experts, Can you help me finding a way to schedule a Service Call to happen in a particular day or have the Service Call scheduled in the calendar? Kind Regards, Victor