Smartform in spool

Hi,
Smartform output is not appearing properly when viewed in spool but good in PDF. Is it due to the printers?
I tried with different printers but no luck. Please tell me what might be the reason and how to resolve this.
Thanks.

hi try to change the printer type in you user data settings(own data).
and check your smartform again.
ex: from lp01 to wine(windefault)
hope this helps,
regards,
kool.

Similar Messages

  • Convert Smartforms to spool to PDF

    Hi,
    How can I convert Smartforms to Spool then convert the Spool to PDF?
    Thank!
    james

    Hi,
    when ever you see a print preview a spool file will be generated which you can go and check in SP01 t-code.So after you get your spool number you can follow with the below mentioned code.
    Selecting details from the spool request table.
      SELECT * FROM tsp01 INTO TABLE tb_spool
               WHERE rqowner = sy-uname.
      IF sy-subrc EQ 0.
        SORT tb_spool DESCENDING BY rqcretime.
        CLEAR : tb_spool.
        READ TABLE tb_spool INDEX 1.
    convert spool into pdf format.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
             EXPORTING
                  src_spoolid = tb_spool-rqident
             TABLES
                  pdf         = tb_lines.
      ENDIF.
    Regards,
    Chandra

  • SAVE, Output type, Smartform, MESSAGING, SPOOL ??

    Hi Experts,
    When I SAVE(cntrl+S) the Inbound delivery via VL31N, one ZIB output type going to SPOOL, say receiving report, a smartform.
    But, in one condition, I do NOT want to get the output & NO SPOOL.
    So, let meknow that,
    1 - How to get it done, I mean, Which routine/include of SAP code performing this function? Is it MESSAGING routine?
    2 - if so, Is there any USER-EXITS, in order to put my IF condition?
    thanq

    no reply

  • Printing smartform through spool - preview with boxes, print output without

    Hello fellows,
    Situation:
    I have custom report, which prints custom smartform. Everything works well, but customer basis had implemented some supporstack packages and now the preview of smartform is still ok with frame boxes of windows elements, but when user click on print button, then the print output (hardcopy, or pdf) is without these boxes. Printing is made through LOCL device and spool.
    Propositions:
    I am just developer and from my point of view, problem is not in smartform or report, but in some basis settings. This is not my field so I need advice, what should I do (check)... ?
    Is there same SAP note for these kind of issues?
    Appreciate your help.

    Additional information
    In SPAD transaaction I changed for LOCL device hostpooll assignment from F: FRONT-END PRINTING to G: FRONT-END PRINTING WITH CONTROLS.
    When report call SMARTFORM, sends also control parameters and with these setting print all BOXEs.
    But customer wants this setting on F, not for G because of other forms.
    Why my report works before well and after basis update not?

  • How to Convert Smartform to Spool

    Hi All,
    I want to Convert "Smartform->Spool->PDF"
    I know converting Spool-->PDF but i don't know how Smartform to be converted to spool.
    Can anyone send me an example program for the whole process i.e, "Smartform->Spool->PDF"
    Regards,
    Adithya M.

    Check this....
    Rough idea
    **Set printer parameters
    control_param-no_dialog = 'X'.
          control_param-preview = ''.
          control_param-getotf = 'X'.
          output_opt-tddest = 'LOCL'.
          output_opt-tdimmed = ''.
          output_opt-tdnewid = ''.
          output_opt-tdnoprint = ''.
          output_opt-tdnoprev = 'X'.
    Get smartform name
    call function 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = formname
                variant            = ' '
                direct_call        = ' '
           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.
    Call smartform
    call function fm_name
               EXPORTING
                    control_parameters = control_param
                    output_options     = output_opt
                    user_settings      = ' '
                    wa_head            = wa_head
               IMPORTING
                    job_output_info    = job_info
               TABLES
                    int_detail         = int_detail
               EXCEPTIONS
                    formatting_error   = 1
                    internal_error     = 2
                    send_error         = 3
                    user_canceled      = 4
                    others             = 5.
    Note pass the job info file you got from above function module
    data: int_docs type standard table of docs,
            int_line type standard table of tline.
    call function 'CONVERT_OTF_2_PDF'
             IMPORTING
                  bin_filesize           = filesize
             TABLES
                  otf                    = job_info-otfdata
                  doctab_archive         = int_docs
                  lines                  = int_line
             EXCEPTIONS
                  err_conv_not_possible  = 1
                  err_otf_mc_noendmarker = 2
                  others                 = 3.
    USE below function module
    all method cl_gui_frontend_services=>gui_download
            exporting
              bin_filesize            = filesize
              filename                = filename
              filetype                = 'BIN'
            changing
              data_tab                = int_line
    Regards,
    SaiRam

  • Smartforms: Appending Spool o/p(report)  to  PDF generated by SSF

    Dear Murugesh
    I have attached the code for Appending Spool o/p(report)  to  PDF generated by SSF below
      Please suggest as i will have 2 finish by this SAT.
    (Hint : Under 1 SOrdr there may be several line items==>
      The material with ref 2 every line-item either may be configurable(ZPL3) or nonconfigurable(ZA3C)) .
    *ENCLOSER TO PACKING LIST
    SELECT VBELN POSNR INTO CORRESPONDING FIELDS OF TABLE T_VBAP
                        FROM  VBAP
                        WHERE VBELN = SSORD.
    *For capturing the o/p pages from ZPL3 and consolidating into table
    *T_OTF to get single PDF
      LOOP AT T_VBAP INTO T_VBAP.
        ITNO = T_VBAP-POSNR.
      SELECT SINGLE * FROM ZPP_PLCMH WHERE VBELN = SSORD
                                     AND   POSNR = ITNO.
       IF SY-SUBRC EQ 0.
         SET PARAMETER  ID: 'AUN' FIELD SSORD ,
                            'APO' FIELD ITNO.
         CALL TRANSACTION 'ZPCE' AND SKIP FIRST SCREEN.
         IMPORT A = T_OTF2 FROM  MEMORY ID 'MEMID'.
         LOOP AT T_OTF2  INTO T_OTF2.
           APPEND T_OTF2 TO T_OTF.
         ENDLOOP.
         REFRESH T_OTF2.
       ELSE.
    *For capturing the o/p pages from ZA3C and Appending
    *at the end of the PDF file just created by the above code
        SELECT SINGLE * FROM ZPLH WHERE VBELN = SSORD
                                  AND   POSNR = ITNO.
         IF SY-SUBRC EQ 0.
           SET PARAMETER  ID: 'AUN' FIELD SSORD,
                            : 'APO' FIELD ITNO.
           CALL TRANSACTION 'ZPNE' AND SKIP FIRST SCREEN.
           IMPORT B = SPOOL_ID  FROM  MEMORY ID 'MEMID2'.
           CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
             EXPORTING
               SRC_SPOOLID                    = SPOOL_ID
               NO_DIALOG                      = ''
               DST_DEVICE                     = E_DEVTYPE
              PDF_DESTINATION                = 'LOHP'
            IMPORTING
               PDF_BYTECOUNT                  = BTC
             PDF_SPOOLID                    =
             LIST_PAGECOUNT                 =
             BTC_JOBNAME                    =
             BTC_JOBCOUNT                   =
            TABLES
               PDF                            = T_SPOOL_2_PDF
           EXCEPTIONS
             ERR_NO_ABAP_SPOOLJOB           = 1
             ERR_NO_SPOOLJOB                = 2
             ERR_NO_PERMISSION              = 3
             ERR_CONV_NOT_POSSIBLE          = 4
             ERR_BAD_DESTDEVICE             = 5
             USER_CANCELLED                 = 6
             ERR_SPOOLERROR                 = 7
             ERR_TEMSEERROR                 = 8
             ERR_BTCJOB_OPEN_FAILED         = 9
             ERR_BTCJOB_SUBMIT_FAILED       = 10
             ERR_BTCJOB_CLOSE_FAILED        = 11
             OTHERS                         = 12
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    ELSE.
           TEXT02 = ITNO.
           MESSAGE I014(ZQOTBANK) WITH TEXT02.
       ENDIF.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      EXPORTING
        USE_OTF_MC_CMD               = 'X'
      ARCHIVE_INDEX                =
    IMPORTING
        BIN_FILESIZE                 = BIN_FILESIZE
    TABLES
        OTF                          = T_OTF
        DOCTAB_ARCHIVE               = T_DOC
        LINES                        = T_LINES
    EXCEPTIONS
       ERR_CONV_NOT_POSSIBLE        = 1
       ERR_OTF_MC_NOENDMARKER       = 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.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        BIN_FILESIZE                    = BIN_FILESIZE
        FILENAME                        = 'C:\SD6.pdf'
        FILETYPE                        = 'BIN'
        APPEND                          = 'X'
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
        FILELENGTH                      = BIN_FILESIZE
      TABLES
        DATA_TAB                        = T_LINES
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanx
    Moni
    Message was edited by: md monirujjaman

    Hello,
    Can you explain the problem in detail plz.
    I do see that the logic which was proposed is implemented in code.
    please check at various places, in run time the following points:
    1. Spool ID exported into ABAP Memory.
    2. Contents of the Main OTF IntTab.
    3. Conversion of the Spool to PFD.Check whether SUBRC = 0. <b>Un-comment all the Exceptions in your FMs where-ever you make a call in your program.</b>
       If this conversion of Spool to PDF is successful, you can choose "Append" option from the popup.
    Hope this helps you. Or if you have any specific query let me know.
    Regards, Murugesh AS

  • Smartform name from spool number

    Hi guys .İ have to learn the Smartform or Sapscript name of a alreasy printed document.So i use the transaction SP02 .There is not any information about the program or Smartform in spool transaction .How can i know SMARTFORM name from the spool number.
    I have seen thiş thread but it doesnt seem a healthy solution .
    smartform name from spool number

    Hi,
    1.Goto sp01 and give your spool request number.
    2.Double click on the spool request number.
    3.In the screen,click on the TemSe attributes tab.
    4.In that tab you can find the object name field.Double click on the Objectname(spool number).It will take you to the TemSe:List of Objects Screen
    5.Check the checkbox and press the CONTENTS tab in the application toolbar.
    6.It will show the TemSe:Contents of Object screen.You can find the SMARTFORM Name in the Second line of the display.
    7.If you need to find the Program name use table TNAPR.
    Jshree

  • Spool Requst smartforms

    Hi all,
    I want to suppress the dialog box in smrtform i.e.printpreview.
    i want to create spool requst only and not smartform layout.
    so,can u help me in this.
    regareds.
    Priya.

    Hi Supriya.
    I would like to suggest a few references, as it is quite similar to your issue,
    [SDN - Reference to Supress page in print preview   |Need to supress page in print preview;
    [SDN - Reference for Creating Spool request in SMARTFORMS|Spool - restrict multiple sap script  layouts into a single spool;
    [SDN - Reference for Several smartform outputs are included in an output request|Several smartform outputs are included in an output request;
    [SDN - Reference for Single Spool Request for Script & SmartForms|Single Spool Request for Script & SmartForms;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Smartform in binary code

    Hi, i have a problem; when i execute a smartform, the spool of smartform is in binary code.
    How can i change the format of spool?
    Thanks.

    Hi trini,
    Hope this link will help u to convert smart form output to pdf.
    http://****************/Tutorials/Smartforms/OTF2PDF.htm
    Regards,
    Nithya.

  • Smartform issue

    Hi Experts,
    When i look at smartform from spool or from print preview it looks ok, but when i try to make pdf file using OTF table my smartform is without special characters (polish letters).
    so what should be the solution.
    Regards,
    Christina
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:30 AM

    Hi Christina,
    try as to as below:
    DATA: lv_lines TYPE I,
    lv_filesize TYPE STRING,
    lv_pdf_xstring TYPE xstring.
    DATA: lt_otf TYPE STANDARD TABLE OF ITCOO,
    lt_obj_bin TYPE STANDARD TABLE OF SOLISTI1,
    lt_lines TYPE STANDARD TABLE OF TLINE,
    u2022     Convert OTF to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    IMPORTING
    bin_filesize = lv_filesize
    bin_file = lv_pdf_xstring
    TABLES
    otf = lt_otf
    lines = lt_lines
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    err_bad_otf = 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.
    u2022     Convert PDF data into Binary fomrat
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = lv_pdf_xstring
    TABLES
    binary_tab = lt_objbin.
    This solves your problem.
    Thanks

  • Smartforms abap

    how to insert excel sheet into main window of smartform.
    thank u,

    Smartforms create spools (remember Adobe pdf format was a printer spool format at the beginning)
    So you cannot include XLS in a spool.
    You have to create a Table in your form.
    Regards.
    PS: Look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms</a>

  • Issue with Turkish character in PDF

    Hi all,
         For a particular requirement we had to print a layout in smartform and send them as a PDf attachement. The steps are explained below.
    1) Create a layout with the Smartform(No spool generated but the OTF is being obtained for PDF)
    2) The obtained OTF is converted into PDF and sent as a mail.
    While one of this above 2 process the turkish character get changed/corrupted depending upon the users default printer. Could anynone let me know how can I prevent this by manual(Through code while caling SF) providing a printer to the smartform.
    Regards
    Simin.

    Hi Gungor,
        The User parameter is not empty.
    1) If I put a printer which does not support Turkish in the user parameters. The PDF created by the program has junk characters
    2) If I put a printer which supports Turkish in the user parameters. The PDF created by the program has turkish characters.
    Though I forcibly pass the printer while calling smartforms in the program, Why is the program still depending on the users parameters.
    My Need is to remove this dependecy of the program over the default printer in the User Master.
    Regards,
    Simin.

  • Pdf from otf table

    Hi.
    I have got problem with my smartform.
    When i look at smartform from spool or from print preview it looks ok, but when i try to make pdf file using OTF table my smartform is without special characters (polish letters).
    Any advice ?

    Hi,
    See below .
    DATA: lv_lines       TYPE I,
              lv_filesize    TYPE STRING,
              lv_pdf_xstring TYPE xstring.
    DATA: lt_otf       TYPE STANDARD TABLE OF ITCOO,
              lt_obj_bin   TYPE STANDARD TABLE OF  SOLISTI1,
              lt_lines     TYPE STANDARD TABLE OF TLINE,
    Convert OTF to PDF
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                 = 'PDF'
        IMPORTING
          bin_filesize          = lv_filesize
          bin_file               = lv_pdf_xstring
        TABLES
          otf                     = lt_otf
          lines                   = lt_lines
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 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.
    Convert PDF data into Binary fomrat
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer     = lv_pdf_xstring
        TABLES
          binary_tab = lt_objbin.
    I was getting problem when i was converting OTF to PDF then I used above function module and my problem is solved. May this help you.
    Thanks,
    Jayshree.

  • Express Document: Update Terminated in VL02n -CONNE_IMPORT_WRONG_COMP_TYPE

    Hello friends,
    Am an abaper (fresher).
    Actually i wanted spool to be generated when my delivery document is saved in transaction VL02n.
    But when i save it and come out , am getting an error telling "Express document: Update terminated."
    When i issue output to the delivery type am getting no response.  But the status of the output type inside the document is processed (Green)
    I have pasted below the SM13 error log.
            Module Name                   Type                Update Return Code
    1     RV_DELIVERIES_SAVE     V1 (no retry)     Error
    When i further look into it i get this error looking in ST22 it shows as mentioned below
    00 671: ABAP/4 processor: CONNE_IMPORT_WRONG_COMP_TYPE
    ( My print program has no syntax errors. I have passed the control parameters for preparing my smartform for spool to be generated when i save the delivery document.  )
    Could you please help me in solving this  issue ?
    Thanks and Regards
    Kausthub

    Hi Kausthub,
    although the print programs has no errors, it is possible that the output itself causes an update error. I remember when I created a sapscript form I forgot to define firstpage as follow-up-page of firstpage. Whenever more than one page was created, I got a dump in update processing - like you got it now.
    On the other hand, CONNE_IMPORT_WRONG_COMP_TYPE should not be related to this - there are some SAP notes applicable.
    Regards,
    Clemens

  • 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

Maybe you are looking for