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

Similar Messages

  • Creating Spool from Smartform??

    Hi
    Can anybody tell how to get the spool from smartform?
    Thanks in Advance
    Davinder Singh

    Hi Davinder,
    After the execution of smartform function module the import parameter JOB_OUTPUT_INFO is populated with data. This is of type SSFCRESCL.
    The component SPOOLIDS of JOB_OUTPUT_INFO contains list of spool id generated for smartform..
    This spool id can be used to read spool request generated using any standard func module like RSPO_RETURN_ABAP_SPOOLJOB.
    Hope this helps you....
    Enjoy SAP.
    Pankaj Singh.

  • How to print multiple pages in single spool in smartforms

    Hi all,
      I have a issue on to print multiple pages in single spool,i can able to print multiple pages in multiple spool .I am doing Check Print smartforms in that i need to print Multiple pages in single spool.Currently i am using the below code please help to solve this issue.
    IF gv_tabix = 1.
    lwa_outp_option-tdnewid = 'X'.
    ELSE.
    lwa_outp_option-tdnewid = ' '.
    ENDIF.
    Thanks,
    Deesanth

    Hi
    TABLES: spfli.
    DATA:
      t_spfli type STANDARD TABLE OF spfli.
    DATA:
      fs_spfli TYPE spfli.
    DATA:
      w_form TYPE tdsfname,
      w_flag TYPE i,
      f_nam TYPE rs38l_fnam,
      w_input TYPE ssfcompin,
      w_control TYPE ssfctrlop.
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECT-OPTIONS s_carrid FOR spfli-carrid.
    SELECTION-SCREEN END OF BLOCK blk .
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
    PARAMETERS:
      p_single RADIOBUTTON GROUP rad1,
      p_ind RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK block1.
    START-OF-SELECTION.
    PERFORM display_data.
    PERFORM ssf_function_module_name.
    PERFORM spool_request.
    *& Form display_data
    * text
    * --> p1 text
    * <-- p2 text
    FORM display_data .
    SELECT * FROM spfli INTO TABLE t_spfli WHERE carrid IN s_carrid.
    ENDFORM. " display_data
    *& Form ssf_function_module_name
    * text
    * --> p1 text
    * <-- p2 text
    FORM ssf_function_module_name .
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING formname = ' '
    IMPORTING fm_name = f_nam
    EXCEPTIONS no_form = 1
    no_function_module = 2.
    * IF sy-subrc NE 0.
    * MESSAGE 'Form cannot be displayed' TYPE 'E' .
    * ENDIF. " IF sy-subrc eq 0
    ENDFORM. " ssf_function_module_name
    *& Form spool_request
    * text
    * --> p1 text
    * <-- p2 text
    FORM spool_request .
    w_input-dialog = 'X'.
    CALL FUNCTION 'SSFCOMP_OPEN'
    EXPORTING input = w_input
    EXCEPTIONS error = 1.
    *" LOOP AT t_spfli .....................................................
    LOOP AT t_spfli INTO fs_spfli.
    w_control-no_open = ' '.
    w_control-no_close = ' '.
    *"Single spool request..................................................
    IF p_single EQ 'X'.
    w_control-no_open = 'X'.
    w_control-no_close = 'X'.
    ELSE.
    *"Individual spool request.............................................
    IF w_flag NE '1'.
    w_control-no_open = 'X'.
    w_control-no_close = ' '.
    w_flag = 1.
    CALL FUNCTION ' '
    EXPORTING control_parameters = w_control
    fs_spfli = fs_spfli
    EXCEPTIONS formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4.
    endif. " IF w_flag ne '1'
    ENDIF. " IF p_single eq 'X'.
    CALL FUNCTION ' '
    EXPORTING
    control_parameters = w_control
    fs_spfli = fs_spfli
    EXCEPTIONS formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4.
    ENDLOOP. " LOOP at t_spfli into ...
    *&This function module close the spool request *
    CALL FUNCTION 'SSFCOMP_CLOSE'
    EXCEPTIONS error = 1.
    ENDFORM. " spool_request
    Regards,
    Sravanthi

  • Delete Spool in Smartform

    Hi Gurus
    I am using RSPO_R_RDELETE_SPOOLREQ to delete the spool after converting the spool from pdf and to email.
    I am having a dump at
    CALL 'RSPOARNS' ID 'ID' FIELD spoolid
                      ID 'FORCE' FIELD 'X'
                      ID 'RC'  FIELD rc.
    code of the FM. It say POSTING_ILLEGAL_STATEMENT, I have authorizations to delete the spool but, I am not finding a solution to delete the spool.
    Do we have any other option to delete the spool?
    Thanks
    J@Y..

    Yes char10
    DATA: delete_id TYPE tsp01_sp0r-rqid_char.
              CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
                EXPORTING
                  spoolid = delete_id.
    I am getting the spool id from Smartform Interface job_output_info-spoolids[]
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'  for OTF
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'  OTF to PDF
    after sending the email
              CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
    Edited by: J@Y on Oct 13, 2009 10:16 AM

  • SPOOL FOR SMARTFORMS

    Hi all,
      I m getting 2 spool requests for a smartform instead of 1. I hav developed my smartform in user exit of Standard program.In spool it is generating one for my smartform and another for std one.
    Please let me know what should i do so that only single spool comes.
    Regards
    Taranam

    The standard program issues a Smartform too?
    Try to force the non-generation for the spool order that you don't want.
    I supouse that you don't want the spool order generating by the std program. So, if this spool order comes after yours, try to force the parameters for the std funcion call...
    SSFCTRLOP-NO_OPEN = 'X'
    SSFCTRLOP-NO_CLOSE
    SSFCOMPOP-TDNEWID = ' '
    Hope this will help you.
    Regards,
    Andrés Sarcevic.

  • Spool issue -Smartforms

    Hi,
    Everytime I run my Print program in Background.
    Output pages are being appended to the existing spool number.
    How do I deactivate this? I need a new Spool each time I run the program.
    Here is my code.
    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
             TDNEWID              = 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
            EXCEPTIONS
              formatting_error = 1
              internal_error   = 2
              send_error       = 3
              user_canceled    = 4.
    Regards
    Vara
    Message was edited by: Vara K

    There is a parameter called TDNEWID in the CONTROL_PARAMETERS / OUTPUT_OPTIONS (I am not sure which one), set that to X and it triggers a new spool every time.
    Regards,
    Ravi
    NOte :Please mark the helpful answers

  • Spool requst

    Hi,
    I created a spool request thro back ground job.
    The same report to be send to external mail of vendor what to be done ?
    pl reply
    matter is urgent
    guru

    go to xk03 for the vendor master. in that in the E mail Id fill the E mail address.
    Go to MN05 enter the output type as neu
    select the vendor /doc type combination set as E mail
    the spool will be sent  to the vendor
    G.Ganesh Kumar

  • Stop generating spool in smartform.

    Hi All,
               I need to stop soopl generation in smart forms .Can any one give some suggestions . I have used TDDELETE = X  but it is not working . SAP Gurus give your suggetions .....
    Regards,
    Veera

    Hello,
    I propose 2 methods:
    Please follow the following logic:
    1. Create a New IntTab with unique Customers.
    2. Loop in this New IntTab.
    3. Initialize all the Fields/Structures.
    4. Get the details of the corresponding Customer.
    5. Call the SSF in the Loop.
    This would reinitialize the SSF Variable for Page number.
    .or.
    I understand that the PAGE numbers are written in separate window.
    You need additional global field in SSF to hold the Customer number, and one for Page Number.
    First, you initialise with the first customer number.
    Since, this window being called for every page make a comparison of the IntTab Customer Number with the New Field for Customer Number.
    If both does NOT match, you reinitialize the field for Page and if it matches you can increment the Page Number.
    Hope either of the above helps you.
    Best Regards, Murugesh AS

  • SPOOL not generated while smartform is executed in Background

    Hi
    I have issue while creating spool for smartform in background.Its works fine in foreground and i m able to view the outpt.
    But in background it should generate a spool but it is not generating?
    I have given the ouput options to supress the dialog but it still it is not generating the spool.
         control-preview = 'X'.
          control-no_dialog = 'X'.
          control-device = 'PRINTER'.
          control-no_dialog = 'X'.
          control-GETOTF = 'X'.
          OUTPUT_OPTIONS-TDDEST = 'LP01'.
          OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    Any suggestions??
    Thanks & Regards
    Jyo

    Hi Jyotheswar,
    When the smartform is generated in background create a new spool by using following code
          output_options-no_dialog = 'X'.
          output_options-tdarmod = 1.
          output_options-tdcopies = 001.
          output_options-tddest = 'LP01'.
          output_options-tdprinter = 'SWIN'.
          output_options-tdlifetime = 1.
          output_options-tdnewid = 'X'.
    tdnewid is the field used to create a new spool request.  You can get the new spool request number in job_output_info-spoolids.
    Regards,
    Birendra

  • Convert spool (which is for smartform output) to PDF?

    how to Convert spool which is for smartform output  to PDF?
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF' is not working for smartform output,
    if i use this there will be error spool not contain list output?
    than whats the function module or way to convert spool contain smartform output to pdg?
    regards,

    hi,
    use this instead
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname                 = 'ZNAK_SMARTFORM_CORRESPONDENCE'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
         IMPORTING
           fm_name                  = func_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.
        printer-getotf = 'X'.
        printer-no_dialog = 'X'.
        CALL FUNCTION func_name
          EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       control_parameters         = printer
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
            validity                   = ls_smart-validity
            lifnr                      = ls_smart-lifnr
            name1                      = ls_smart-name1
            pstlz                      = ls_smart-pstlz
            regio                      = ls_smart-regio
            stras                      = ls_smart-stras
            smtp_addr                  = ls_smart-smtp_addr
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = printer1
      JOB_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.
        t_otf[] = printer1-otfdata.
    DATA gt_tline like TABLE OF tline occurs 0 with header line.
        CALL FUNCTION 'CONVERT_OTF_2_PDF'
      EXPORTING
        USE_OTF_MC_CMD               = 'X'
        ARCHIVE_INDEX                =
         IMPORTING
           bin_filesize                 = w_file
          TABLES
            otf                          = t_otf
            doctab_archive               = gt_docs
            lines                        = gt_tline
      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.

  • How to Convert spool which is for smartform output  to PDF?

    how to Convert spool which is for smartform output  to PDF?
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF' is not working for smartform output,
    if i use this there will be error spool not contain list output?
    than whats the function module or way to convert spool contain smartform output to pdg?
    regards,

    <b>Procedure</b>
         When we activate the Smartform the system generates a Function Module. The function module name we can get from Smartfrom screen from menubar
    “Environment => Function Module_Name” . In a report we can get this Function module name by calling a Function Module standard SSF_FUNCTION_MODULE_NAME. This function module  at runtime calls the FM generated by smartform, which in turn is then used to pass data from the report to Smartform. In the report given below the FM generated is “ /1BCDWB/SF00000152 ”. In this FM we can see CONTROL_PARAMETERS in import tab. This is of type SSFCTRLOP. We need to set the GETOTF of this to be ‘X’. Setting this field will activate the OTF field in smartform.
    In export tab of the FM generated by smartform we can see a parameter JOB_OUTPUT_INFO which is of type SSFCRESCL. The SSFCRESCL is a structure of having one of fields as OTFDATA. OTFDATA in turn is a table of type ITCOO. ITCOO has two fields TDPRINTCOM and TDPRINTPAR. TDPRINTCOM  represents command line of OTF format data and TDPRINTPAR contains command parameters of OTF format data.
    In every Smartform output in OTF format, TDPRINTCOM begins and ends with ‘//’. ‘EP’ represents the end-of-page value for TDPRINTCOM field.
    In addition we need to set few fields at the place where we call this FM(generated by smartform) in our program. While calling this FM we should set control_parameters, output_options, user_settings and job_putput_info fields as shown in program.
    Once these settings are done we can call Function Module CONVERT_OTF to convert the OTF data of smartfrom output to PDF data format. Once these are done we can call method “cl_gui_fronted_services=>file_save_dialog” to specify the directory path where we want to save the output PDF file. After this we can call Function Module GUI_DOWNLOAD to download the PDF file on our local system.
    <b>Here is a sample code of program to perform the function.</b>
    SAMPLE CODE
    [code]*&---------------------------------------------------------------------*
    *& Report  ZAMIT_SMART_FORM_PDF                                        *
    REPORT  ZAMIT_SMART_FORM_PDF                    .
    data: carr_id type sbook-carrid,
          cparam type ssfctrlop,
          outop type ssfcompop,
          fm_name type rs38l_fnam.
    DATA: tab_otf_data TYPE ssfcrescl,
          pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
          tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE,
          file_size TYPE i,
          bin_filesize TYPE i,
          FILE_NAME type string,
          File_path type string,
          FULL_PATH type string.
    parameter:      p_custid type scustom-id default 1.
    select-options: s_carrid for carr_id     default 'LH' to 'LH'.
    parameter:      p_form   type tdsfname   default 'ZAMIT_SMART_FORM'.
    data: customer    type scustom,
          bookings    type ty_bookings,
          connections type ty_connections.
    start-of-selection.
    ***************** suppressing the dialog box for print preview****************************
    outop-tddest = 'LP01'.
    cparam-no_dialog = 'X'.
    cparam-preview = SPACE.
    cparam-getotf = 'X'.
      select single * from scustom into customer where id = p_custid.
      check sy-subrc = 0.
      select * from sbook   into table bookings
               where customid = p_custid
               and   carrid in s_carrid
               order by primary key.
      select * from spfli into table connections
               for all entries in bookings
               where carrid = bookings-carrid
               and   connid = bookings-connid
               order by primary key.
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = p_form
    *                 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.
        exit.
      endif.
    * calling the generated function module
      call function fm_name
           exporting
    *                 archive_index        =
    *                 archive_parameters   =
                     control_parameters   = cparam
    *                 mail_appl_obj        =
    *                 mail_recipient       =
    *                 mail_sender          =
                     output_options       =  outop
                     user_settings        = SPACE
                     bookings             = bookings
                      customer             = customer
                      connections          = connections
          importing
    *                 document_output_info =
                     job_output_info      = tab_otf_data
    *                 job_output_options   =
           exceptions formatting_error     = 1
                      internal_error       = 2
                      send_error           = 3
                      user_canceled        = 4
                      others               = 5.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      tab_otf_final[] = tab_otf_data-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       format                      = 'PDF'
       max_linewidth               = 132
    *   ARCHIVE_INDEX               = ' '
    *   COPYNUMBER                  = 0
    *   ASCII_BIDI_VIS2LOG          = ' '
    IMPORTING
       bin_filesize                = bin_filesize
    *   BIN_FILE                    =
      TABLES
        otf                         = tab_otf_final
        lines                       = pdf_tab
    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.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    *  EXPORTING
    *    WINDOW_TITLE         =
    *    DEFAULT_EXTENSION    =
    *    DEFAULT_FILE_NAME    =
    *    FILE_FILTER          =
    *    INITIAL_DIRECTORY    =
    *    WITH_ENCODING        =
    *    PROMPT_ON_OVERWRITE  = 'X'
      CHANGING
        filename             = FILE_NAME
        path                 = FILE_PATH
        fullpath             = FULL_PATH
    *    USER_ACTION          =
    *    FILE_ENCODING        =
    *  EXCEPTIONS
    *    CNTL_ERROR           = 1
    *    ERROR_NO_GUI         = 2
    *    NOT_SUPPORTED_BY_GUI = 3
    *    others               = 4
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *************downloading the converted PDF data to your local PC********
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       bin_filesize                    = bin_filesize
       filename                        = FULL_PATH
       filetype                        = 'BIN'
    *   APPEND                          = ' '
    *   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                      = file_size
      TABLES
        data_tab                        = pdf_tab
    *   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.
    ENDIF.
    [/code]
    Thanks and Regards,
    Pavankumar

  • 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

  • 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.

  • Program to generate Spool

    Hi,
    I need the standard Program name to Generate the spool in Smartform program and use the spool to convert to PDF and then send the PDF to external Mail ID.
    Regards,
    thanigai

    Hi:
    have a look
    http://sapbrainsonline.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    RSPO_OPEN_SPOOLREQUEST

  • Run smartforms in background mode

    Hi
       Can anybody tell me, can we execute smartforms in background mode. Please tell me. Can we take printout from the spool.
    Smartform have driver program.
    Thanks
    Murali Papana.

    hi,
    Use
    You can not only evaluate queries online, but also print them in the background. In the Reporting Agent of the Administrator Workbench, you can define the display of the query data as the setting for background printing. You can make as many various settings as you want for printing a query in the background. The settings are then brought together in scheduling packets and scheduled for background printing.
    Prerequisites
    You have defined a query in the Business Explorer Analyzer that you now want to print in the background. You have called up the Administrator Workbench to do this.
    You can only print out queries with key figures in structures. If you have defined a query with a key figure in the filter and want to print this query, you must change the definition of the query so that the key figure is in a structure to be printed.
    You can only schedule queries with entered variables for background printing if the required variable entry/entries have been saved as query variants.
    Procedure
    Defining Reporting Agent Settings for Printing in the Background
    Choose the Reporting Agent from the Administrator Workbench.
    Navigate in the left-hand tree to the query you want, and, using the right mouse button, choose New Setting. You get to the "New Reporting Agent Setting" dialog box.
    Enter a technical name and a description.
    Choose Print in the background from the General tabstrip.
    Choose the tabstrip Print Settings from the newly added tabstrips.
    Determine the print settings that you want to make. See also: Print Settings
    Choose the Print Layout tabstrip.
    Decide how you want to set the following print areas:
    Cover sheet
    Page header
    Table header
    Table
    Page footer
    Last page
    See also:
    Defining the Print Layout
    Choose Activate.
    Creating Scheduling Packets and Assigning Reporting Agent Settings for Printing in the Background
    Once you have made the Reporting Agent setting for printing in the background, you have to assign your setting to a scheduling packet for the background run.
    Creating a scheduling packet
    Go back to the Reporting Agent Scheduler, and, in the right-hand Scheduling packets tree, choose the Change pushbutton.
    Select the Print in the background node, and choose Create new packet from the context menu (right mouse button). You get to the Create Scheduling Packet dialog box.
    Specify a name and a description, and choose Save.
    Assigning Reporting Agent Settings for Printing in the Background
    Navigate in the left-hand tree, Reporting Agent Settings, to the Reporting Agent setting you want to use for printing in the background.
    Using drag-and-drop, drag the Reporting Agent setting that you want to use into the right-hand tree, and assign it to the corresponding scheduling packet.
    If the Reporting Agent setting refers to a query with variables, then you need to assign a variant:
    Select the Reporting Agent setting.
    Using the right mouse button, choose Assign variants from the context menu. A dialog box containing the variants for this query appears.
    Choose the variant you want to use.
    Choose Continue.
    You have the option of maintaining variants in the Reporting Agent (in both the left and right-hand trees).
    Select the Reporting Agent setting you want to use.
    Choose Maintain variants from the context menu (right mouse button).
    Note that you always assign Reporting Agent settings for printing in the background to a corresponding scheduling packet for printing in the background.
    To avoid confusion with Reporting Agent settings for exception reporting, you are able to filter according to these two functions in the left-hand menu. The symbols for Exception and Print, in the left-hand tree, also identify the settings.
    Scheduling a Packet as a Job
    In the right-hand tree, select the scheduling packet you want to use.
    Using the right mouse-button, choose Schedule from the context menu. You get to the Change Job RA (name of the scheduling packet) dialog box.
    The name of the job is made up of RA for Reporting Agent, and the name of the scheduling packet.
    Specify the start date and the repetition period for the job.
    See also:
    Scheduling Background Jobs in the documentation for the BC Computing Center Management System.
    If you want to check the status of the scheduled background job, choose the Jobs pushbutton above the right-hand tree in the Reporting Agent Scheduler.
    Hope this helps, Do reward.

Maybe you are looking for

  • Two iphones on one account?

    I purchased an iphone for each of my children. Set them up each with a separate apple account and itunes acct. (Same credit card). But, can I set them both up under the same account - so that if I buy a song for one they both can use it?

  • Error 1603 While installing the MBAM server 2.0 SP1

    Hi, I am getting some error while installing the MBAM 2.0 SP1 server. I gone through the Logs below the logs. what is solution for this issue. I have installed recovery, Audit and Reporting  MBAM DB  on other server  and while trying to install Self

  • Indesign Files Uploaded to the Cloud dont open in the web UI

    Hi, When I upload an indesign file to the cloud, the thumbnail shown is a default one & if I open the file (using the web UI) I cant view the content of the file. I tryed to view the uploaded files using Chrome, Firefox, Safari & IE both in OSX, Wind

  • Importing date UDF's to activity steps using SDK

    I an having difficulty importing/exporting UDF date fields on activity steps using the SDK.  Text UDF's are no problem but any other type of field is not recognized.  No errors are generated.  Any suggestions?

  • Implementing ERP Systems

    HI WHAT ARE THE STEPS WHILE Implementing ERP Systems?