Creation of spool request for a report without selection-screen.

Hi Experts ,
I need to create a spool request for ALV Grid report which is not having any selection-screen , after pressing F8 it will directly display the ALV Grid out put.
Can any one help me how to run the above report in background which is not having selection-screen?
Thank you & Regards.
Rajasekhar.P

HI,
At transaction SE38 click Program -> Execute -> Background.
Regards
Sudheer

Similar Messages

  • Run alv report without selection screen in background

    Hello Every body,
    i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
    Any help?
    Thank u.
    Ouail.

    Hi Steve,
    Can you tell me where i have to put your code?
    this is my abap code:
    START-OF-SELECTION.
       p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
       PERFORM copy_from_xml_to_itab TABLES it_ref_file
                                     ref_xml_data
                                     USING p_filref.
    **Begin Extraction File
       SUBMIT ZZ_FI_IVAT_EXTRACTOR
       WITH p_bukrs EQ '1000'
       WITH p_gjahr EQ '1998'
       WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
       WITH cldata eq space
       AND RETURN.
       DATA: FILE_TABLE  TYPE TABLE OF SDOKPATH,
       DIR_TABLE  TYPE TABLE OF SDOKPATH.
       CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
         EXPORTING
           DIRECTORY  = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
           FILTER     = '*.*'
         TABLES
           FILE_TABLE = FILE_TABLE
           DIR_TABLE  = DIR_TABLE
         EXCEPTIONS
           CNTL_ERROR = 1
           OTHERS     = 2.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       "get file name
       LOOP AT FILE_TABLE INTO p_filref.
       ENDLOOP.
       CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
       PERFORM copy_from_xml_to_itab TABLES t_ext_file
                                     ext_xml_data
                                     USING path.
       PERFORM fill_xml_tab_in .
       perform build_fieldcatalog.
       PERFORM compare_data_ref_ext.
       PERFORM send_email.
       perform display_alv_report.
       PERFORM delete_extraction_file.
    in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
       CREATE OBJECT gcl_xml.
    *Upload XML File
       CALL METHOD gcl_xml->import_from_file
         EXPORTING
           filename = p_filref
         RECEIVING
           retcode  = gv_subrc.
       IF gv_subrc = 0.
         CALL METHOD gcl_xml->render_2_xstring
           IMPORTING
             retcode = gv_subrc
             stream  = gv_xml_string
             size    = gv_size.
         IF gv_subrc = 0.
           REFRESH gt_xml_data[].
    * Convert XML to internal table
           CALL FUNCTION 'SMUM_XML_PARSE'
             EXPORTING
               xml_input = gv_xml_string
             TABLES
               xml_table = gt_xml_data
               return    = gt_return.
         ENDIF.
       ENDIF.

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

  • Background processing for ABAP report with selection screen

    Hi ABAP Gurus,
    I m facing a strange problem in scheduling a background job for my report with a selection screen. I have a variant for the report.
    I scheduled a job, but it seems to be not doing anything though all the system resources are available. The job overview shows "Acive" for the job. The job is neither stopping anything, it is just sitting there In SM50, the status shows "On Hold".
    Any ideas/comments on the problem and how this can be overcome?
    Qucik replies and solutions will be highly appreciated as this is a crucial part for a go-live project.
    Thanks in advance.
    Shivani.

    Yes. My report has a selection-screen which requires user input. But I have created  a variant for the report and trying to run it in background using this variant. But facing this problem.
    Strange thing is, instead of the usual SM36/SM37 option where we schedule and monitor background jobs, this option does not work for my report.
    But I tried through SE38, and from my selection screen I selected "Schedule background job" and "run immediately" option, and this works. Though I still use SM37 to monitor this background job.
    I have never faced such a situation before.
    Any hints/tips why this happens and how this can be overcome in the future?
    Thanks in advance.
    Shivani.

  • How to create the multiple spool requests for a single report.

    Hi gurus,
                     I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
    now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
    And one more question is can we create a spool request for a report which is running in online.
    waiting for inputs frm gurus.

    Hello,
    As per my knowledge for creating new spool id you will have to set
    output_options-tdnewid = 'X'.
    and then using
    job_output_info-spoolids
    create a pdf using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Rachana.

  • Differnet spool request for different costomers

    Hi folks,
    I am using f.27 to create a monthly customer statement. But i need differnet spool request for different costomers. so that i can mail the reports for costomers differently. now single spool request is generating.
    regards
    Vijay

    Hi,
    thanks for  reply. Yup we can do that if there are many costumers. then it will be a hectic job to retrieve for all of them and sending mail. so is ther any possible way to generate spool in a breakup way..
    please try...
    Regards
    Viajy

  • Creation of Spool Request

    Hi All,
    System is not creating the spool request for the background job. Two days before the job was running correctly generating the spool request. When I checked today..system is not creating the spool request..
    There is no changes in the authorization profile of the user-id. Also no changes in the program were made. So what may be the possible reason for system not creating the spool. There are entries which suits the condition for the creation of spool.
    Thanks in Advance....

    Hi,
    It could be a number ranges issue, please check trx. SNRO and see if the number ranges are specified as correctly, otherwise please extend, And also check if the batch Job 'SAP_REORG_SPOOL' is running to clear the spool requests which are already being processed, Job 'SAP_REORG_SPOOL' has to run on daily basis. Hope this will solve the issue.

  • Request for sample reports developed using report designer

    Hi All,
    Request for sample reports developed using report designer.
    Thanks

    Ramesh,
    right now there really is no way to solve what you are looking for.  There partial solutions, but you will not be able to force a page break in a dynamic report.
    Here is what I have faced, and what I have come up with so far:
    I have a series of reports that have the same column heading, but spread over 5 pages in a fixed structure.  I need to be able to re-use the header and the general report design with 6 reports.  Here is my solution:
    1. Create an outline of the report.  I did all the formatting by creating a report section for each page.  You can force page breaks between the pages.  Upgrade to patch 1502 (came out last week) and you will see some new functionality (such as fit to page, page numbers, etc).
    2. Insert all you page breaks and do all the formatting.
    3. Insert an infoprovider.  Once in, you can just drag and drop the key figure cells into your formatted report.
    4. Create additional modification for formatting as needed.
    This fixes my problem (for now), but I had to do a lot of work to come up with this.  Also, the latest patch (1501 and 1502) has created an issue for me - there is a null exception when I try to use a variable or a filter value in the report body - I can't save the report.  I have an OSS message out, but our BASIS guys are going to be taking the lead on troubleshooting this.
    The reason that you are seeing some customers on the new pages is probably because of "how the cookie falls" - they just fit that way.
    I am trying to be positive and overcome the limitations that are in place right now. If my technical issue is solved, I would recommend upgrading to the new patch (1403 is the latest stable one in my opinion)
    good luck
    Pavel

  • How to get the spool id or how to create a spool id for the report .

    hi,
    how to get the spool id or how to create a spool id for the report .
    this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
    my requirement is to download a pdf file from the alv grid list.

    Hi Raghu,
    Execute this program.
    REPORT  ZTEST_3318                              .
    tables: usr01.
    perform send_report_to_spool.
    *&      Form  send_report_to_spool
          text
    form send_report_to_spool.
      data: loc_dest like pri_params-pdest,
            wf_listname type char12,
            wf_listtext like PRI_PARAMS-PRTXT,
            wf_copies type i,
            wf_days type i,
            wf_PARAMS LIKE PRI_PARAMS,     " achieving file PRI_PARAMS.
            wf_valid type c.
      clear : wf_listname , loc_dest , wf_listtext .
      move: 'AP interface' to   wf_listname .
      move: 'AP interface' to   wf_listtext .
    select single spld into usr01-spld from usr01 where bname eq sy-uname .
      if sy-subrc eq 0 .
        move: usr01-spld to loc_dest .
      endif .
      call function 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = loc_dest
          copies         = 1
          list_name      = wf_listname
          list_text      = wf_listtext
          immediately    = ' '
          release        = ' '
          new_list_id    = 'X'
          expiration     = 1
          line_size      = 200
          line_count     = 65
          layout         = 'X_65_200'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wf_params
          valid          = wf_valid.
      if wf_valid <> space.
        new-page print on parameters wf_params no dialog.
        perform write_summary .
        new-page print off.
      endif .
    endform.                    "send_report_to_spool
    *&      Form  write_summary
          text
    -->  p1        text
    <--  p2        text
    FORM write_summary .
    data: begin of itab occurs 0,
          matnr type matnr,
          end of itab.
    select matnr
           from mara
           into table itab
           up to 10 rows.
    loop at itab.
    write: / itab-matnr.
    endloop.
    ENDFORM.                    " write_summary
    This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
    After that use that spool for your purpose.
    If Useful award point

  • RFFOEDI1 how to generate a single spool request for payment advices

    Hello,
    We are using RFFOEDI1 to create payment idocs to send to the bank and also create payment advices.  We have multiple payment methods that we using during a single payment run.  When we run F110, the system creates the payment advices as a separate spool request for each payment method in the payment run.  The users would like to see all the payment advices in a single spool request, regardless of the payment method.  Does anyone know if SAP is capable of this?
    Thanks,
    Mark

    We are on ECC 6.0, patch level 14.
    Thanks,
    Mark

  • Find workbench request for existing report

    Hi
    Someone created an Report for me in order to develop some new functionalities.i have to transport it now in the test system but i do not know how i can find the workbench request for it or how i can save it in another workbench request.
    thanks

    Hi Seba ,
    You can find the workbench request for the report by displaying the report and following this path in the menubar.
    Utilities > version > version management.
    If you want to add this request into another request goto SE01 and there you will find the icon for adding the objects for your request.
    Regards,
    Anuj

  • SPOOL REQUEST FOR SMARTFORM

    HI experts,
    how to create the spool request for smartform. can anyone help me. give me the complete procedure.
    thanks in advance for ur responce.

    The user which send the smartform to the spool (probably wf-batch) needs an output device. You can maintain this in SU01.
    Just look at sample code:
    1.Send Smart Form output to spool using the FM <ws_formname> (FM name derived from the export parameters of SSF_FUNCTION_MODULE_NAME).
    //Start of Code Sample
    DATA : ws_formname TYPE rs38l_fnam.
    TYPES: BEGIN OF ty_script,
    trans_ref LIKE eanl-anlage,
    cont_ref TYPE e_edmideservprovcontractid,
    trans_code TYPE char05,
    trans_reason TYPE char05,
    market_sect LIKE eanl-zzmktscode,
    efffrm_date LIKE sy-datum,
    mprn LIKE iflot-zzmprn,
    mlc TYPE char01,
    subbuild_no(40) TYPE c,
    build_no LIKE adrc-str_suppl1,
    dep_fare LIKE adrc-str_suppl3,
    post_town LIKE adrc-city1,
    post_code LIKE adrc-post_code1,
    asset_code LIKE egerh-kombinat,
    paymnt_code(2) TYPE c,
    model_code LIKE equi-typbz,
    manuf_code LIKE equi-herst,
    year_manuf LIKE equi-baujj,
    serial_no LIKE equi-sernr,
    meter_code TYPE char01,
    meter_mech(2) TYPE c,
    meas_cap TYPE zmeasur_cap,
    role_code TYPE char03,
    market_name LIKE eservice-serviceid,
    status TYPE char01,
    END OF ty_script.
    DATA: i_scriptdata TYPE STANDARD TABLE OF ty_script
    WITH HEADER LINE.
    DATA: wa_output_options TYPE ssfcompop,
    wa_control_params TYPE ssfctrlop,
    wa_spoolnum TYPE rspoid,
    wa_printdata TYPE efg_strn_printdata.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'Your Form Name'
    IMPORTING
    fm_name = ws_formname
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    CALL FUNCTION ws_formname
    EXPORTING
    control_parameters = wa_control_params
    c = wa_printdata
    IMPORTING
    job_output_info = wa_job_output_info
    TABLES
    i_scriptdata_input = i_scriptdata(Your Script Data)
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    MOVE wa_job_output_info-spoolids] TO wa_spoolids[.
    READ TABLE wa_spoolids INTO wa_spoolnum INDEX 1.
    IF sy-subrc = 0.
    DATA :id LIKE tsp01-rqident.
    MOVE wa_spoolnum TO id.
    ENDIF. .
    Comments-Id Contains the Spool Request for the given smart form
    //End of Code Sample
    Convert Smart Form Output to Raw
    Format
    2.Convert the Spool Output to OTF using the FM RSPO_RETURN_SPOOLJOB.
    //Start of Code Sample
    data i_soli LIKE soli occurs 0 with header line.
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
    EXPORTING
    rqident = id
    desired_type = 'OTF'
    TABLES
    buffer = i_soli
    EXCEPTIONS
    no_such_job = 1
    job_contains_no_data = 2
    selection_empty = 3
    no_permission = 4
    can_not_access = 5
    read_error = 6
    type_no_match = 7
    OTHERS = 8.
    Comments- i_soli contains the OTF data
    //End of Code Sample
    3.Convert the OTF using FM
    SX_OBJECT_CONVERT_OTF_RAW.
    DATA content_bin TYPE solix_tab.
    DATA objhead TYPE soli_tab.
    DATA i_soli_tab TYPE soli_tab.
    DATA boolean TYPE sx_boolean.
    DATA length TYPE so_obj_len.
    LOOP AT i_soli.
    APPEND i_soli TO i_soli_tab[].
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_RAW'
    EXPORTING
    format_src = 'OTF'
    format_dst = 'RAW'
    CHANGING
    transfer_bin = boolean
    content_txt = i_soli_tab
    content_bin = content_bin
    objhead = objhead
    len = length
    Convert Smart Form Output to Raw
    Format
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    REward points if useful.

  • Creating single spool request for printing all shop floor papers

    Hello PP Gurus,
    We are printing shop floor papers at the time of releasing production order using txn CO02. It creates individual spool request for printing different shop floor papers in the same orders . eg Pick list, goods receipt list etc.
    Is it possible to do the cofiguration setting to create only one spool request for all the different SF papers belong to same order.? If yes, please let me know the steps for customising this.
    Thanks for your help in advance.
    Regards & Thanks
    Rajesh D.

    In transaction OPK8, in forms uncheck the 'New List' check box for the List.
    Regards
    Ramanujan

  • REQUIRE One spool request for n copies in one print command in smartform

    Hii Friends,
              I created a smartform..I require 5 copies of that form..There is a text which needs to be changed in evry copies...eg Original in first copy
                            Duplicate in second copy
                            Triplicate in third copy....n so on
    So i used a loop n i am calling smartform 5 times....The problem is i need one spool request to be created..
    Note: By default sometimes it create one spool request and sometimes 3 spool request...
    Pls share your inputs ............
    Thanks,
    Regards,
    Sujit.

    hi,
    this is more complicated see below description from help
    regards,darek
    Printing Several Forms in One Print Request
    Use
    You want to bundle several forms into one print job.
    Print Request vs. Spool Request
    SAP Smart Forms allows you to bundle several forms to form one output unit. This output unit is called a print request. A print request is different from a spool request:
    Whether a new spool job is created in the spool depends on the settings in the spool dialog.
    Whether a new print request starts depends on the standard parameters of the generated function module you set in SAP Smart Forms. For each print request, the spool dialog is called only once. If you suppress the dialog, you can pass parameters for spool processing only at the beginning of the print request.
    This means that a print request gathers several forms before submitting them to spool processing. Thus they cannot be spread over several spool requests. Vice versa however, you can include several print requests into one spool request.
    Procedure
    Use function module SSF_FUNCTION_MODULE_NAME to retrieve the name of the function module generated from the Smart Form (see also: Integrating the Smart Form Into the Application).
    Call the Smart Form for the first time and set the NO_CLOSE parameter of the control structure. This prevents the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request as well. Leave the NO_OPEN parameter empty.
    Instead of calling the Smart Form for the first time you can also call function module SSF_OPEN .
    If you want to start a new spool request for the print request, set the TDNEWID field of the Output Options in this first call.
    For all other form output of the application program that you want to include into the print request, use a loop to set both the NO_OPEN field and the NO_CLOSE field of the control structure.
    To close the print request, in the call of the last Smart Form set the NO_OPEN parameter and unmark the NO_CLOSE parameter.
    Instead of calling the Smart Form for the last time, you can also call function module SSF_CLOSE .
    Result
    The forms you called in the steps described above are included into one print request. If in the first step you started a new spool request, you can now view its status in the spool request overview (transaction SP01 ).

  • Spliting Spool Request for Dunning in background.

    Hi Experts,
    I'm having a requirement to split the spool request for every 1000 pages,as for more then 1000 pages for Dunning executed in background.
    the job is automaticaly canceled after 30 mn of execution
    => in F150, status of the printout is "Printout has terminated" .
    My requirement is to split the spool request using enhancement in print program.
    How can i split the spool request after 1000 pages and again print from 1001 to last.
    print program for F150 - SAPF150D2
    Thanks in advance.

    Hi Yusuf,
    There is no otherway to delete the spool request except giving the option delete in the authorization object S_SPO_ACT.Make sure that you havenot given the values SP01, SP0R under the authoriztion object S_ADMI_FCD. If you have given both  the authorization objects with the above mentioned values than that user will get the authorization to delete the spool requests created by the other users also. So if you want to restrict the user not to delete the spool requests created by the other users make sure , not to give him the values SP01, SP0R under the authoriztion object S_ADMI_FCD.
    Regards,
    Bharath.

Maybe you are looking for