Spool request from FM  REUSE_ALV_GRID_DISPLAY

Hi all,
How to create a spool request for an ALV report by using the FM  "REUSE_ALV_GRID_DISPLAY". is it possible to create the spool request with this FM's parameter IS_PRINT. Please give some hint if it is possible.
Thanks in advance,
etienne.

Hi,
Please go through the beloe code
DATA: wa_print TYPE slis_print_alv.
wa_print-print = 'X'.
pass  wa_print to Is_print in the exporting paramters list of Function module Reuse_alv_grid_display.
and then go to tcode SP01.. to check the spool request.. and click on spool request to see the ALV output..
hope this will help you..
Regards,
Kiran

Similar Messages

  • Restrict people to see only spool requests from one group of users

    I would like to restrict people to see only spool requests from one group of users defined somewhere inside role.
    I am playing with S_SPO_ACT authorisation object but with no positive result,
    Please help

    There is a note  Note 119147 - Spool: Authorizations (https://service.sap.com/sap/support/notes/119147)
    Object for "Selection authorization for spool requests" is S_ADMI_FC where "Operation authorization" use S_SPO_ACT
    Regards

  • Generate spool request from an invoice

    Hi,
    I'd like to know is there any function module to generate an spool request from an invoice document generate previously by VF01 (VF04) SAP transaction code.
    I'd like to generate on demand a spool request over an invoice previously generated by SAP
    Anyone knows if it is possible?
    Thanks

    The billing process included the spool generation runs perfectly by stantard SAP funciontality.
    But I'd like to generate a spool request whenever I want for an invoice previously generated and printed.
    You know that for space requirements the spool request are deleted periodically, but I want to generate a spool request for an invoice, which spool request was generated and deleted. This behaviouir is reclaimed for a system process so, it's not possible to regenerated the spool request using the funcionality incluided in SAP by VF02, VF31 transactions code.
    I need a function module or something like that, so import and invoice document number and export and spool request.
    Thanks in advance,

  • Process Spool Request from RFC

    We are creating an Output in a Delivery with a bapi from a Remote system. The Output is created successfully, but do you have any ideas how to print this output from a remote device?
    Is there a RFC to convert this into PDF? If so, how do we process this.
    I appreciate any help.
    Thanks -

    Hello Brijo
    Maybe this can help you?
    Create Spool Request Number for Smartform?
    Best regards
    Thomas

  • How to know spool requests from other program?

    Hi,
    I have requirement like: one standard program will be scheduled in the background, so corresponding spool requests will generated.
    I need to write a program, which will capture the spool requests of the standard program.
    is there any function module/table available for this requirement? we need to give  spool title, date and time as input parameters to that function module.
    please help me

    Hi,
    try these Function Modules....
    RSPO_IDELETE_SPOOLREQ
    RSPO_IGET_TOC_SPOOLREQ
    RSPO_IMAP_PAGES_SPOOLREQ
    RSPO_ISELECT_SPOOLREQS
    RSPO_RCHANGE_SPOOLREQ_ATTR
    RSPO_RDISPLAY_SPOOLREQ
    RSPO_RDISPLAY_SPOOLREQ_LIST
    RSPO_RID_SPOOLREQ_ATTR
    RSPO_RID_SPOOLREQ_DISP
    RSPO_RID_SPOOLREQ_LIST         List Display for Spool Requests with ID
    RSPO_RISELECT_SPOOLREQS
    RSPO_RLIST_DELETE_SPOOLREQ
    RSPO_RPRINT_SPOOLREQ
    RSPO_RSPOOLREQ_LIST_TO_VIEW
    RSPO_RSPOOLREQ_TO_VIEW
    RSPO_RSTATUS_FOR_SPOOLREQ
    Arunima

  • Exclude spool requests from program RSPO0041

    Hi
    We have a request to keep the spools and logs for certain jobs. If we set the Spool Retention period to 'Do not Delete' in the Print Specifications of the job (via SM37) would this mean that these spools will not be deleted when the SAP_REORG_SPOOL  (Program RSPO0041) job is run?
    Thanks

    Hi,
    Welcome to SDN
    Note 64333 - Change default value for spool retention period
    FYI , even though you select DO NOT DELETE  this it will delete the spool if JOB RSPO* runs .
    May refer this inetresting thread
    How to set the spool retention period till 30 days(Printer Properties).
    running RSPO1041 can help , more selection options are available.
    Regards,
    Edited by: Gagan Deep Kaushal on Nov 9, 2010 10:45 PM

  • How to get data from OTF spool request number

    Hi all,
            How to get OTF Data from the spool request number (OTF)?
            How to create spool request from the OTF Data?
    Regards,
    Sunil Kumar

    Hi,
    Check this links:
    http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm
    Sending Mail from SAP
    https://wiki.sdn.sap.com/wiki/display/sandbox/SendMailwithPDFAttachment?showChildren=false#children

  • Cleaning spool requests - report RSPO1041

    Hi experts,
    We're using SRM 5.5 and we've scheduled the reports
    - BBP_GET_STATUS_2 ( every 2 minutes)
    - CLEAN_REQREQ_UP
    As a consequence, in the SPOOL we are having many requests.
    In order to delete the spool requests, we have one job for the report RSPO1041, which is defined to delete spool requests from report bbp_get_status_2. In addition, we have 2 more jobs to clean the spool, using the same report RSPO1041, but with a generic variant.
    However, those jobs are not being successfully cleaning the spool, as the spool requests are not being deleted.
    So, my question is, is there any reason for the report bbp_get_status_2 generate spool requests?
    And if it is really necessary, is there any other way to clean the spool? Or there is any other reason to the RSPO1041 is not cleaning the spool requests as it should?
    Many thanks.
    Best regards,
    Andreia Nascimento

    - BBP_GET_STATUS_2 ( every 2 minutes)
    - CLEAN_REQREQ_UP
    Normally CLEAN_REQREQ_UP doesn't generate any spools, BBP_GET_STATUS_2 does and it does have the reason to generate spool as you would want a comprehensive report on the synchronization between SRM and R/3 documents.
    In order to delete the spool requests, we have one job for the report RSPO1041, which is defined to delete spool requests from report bbp_get_status_2. In addition, we have 2 more jobs to clean the spool, using the same report RSPO1041, but with a generic variant.
    Why having multiple jobs for the same purpose? I would just schedule one job that manage the cleaning of spools with a desired variant for report RSPO1041. And there should not be a reason for it not to be cleaning up accordingly, unless the job itself is not running into the status "finished". Having multiple jobs involving report RSPO1041 with different variants also increases the complexity for your tracking of its effectiveness.

  • How to balance huge spool request list at SP01

    Dear all,
    My invoice print smartform generates 250-300 spool requests from each locations / User ids. which are getting printed one by one.
    Can i load balance these spool requests according to diffrent loactions / User ids to speed up the printing.
    My SP01 status shows me all spool request in waiting mode. which is having large number list.
    Regards,
    -Maharshi

    BASIS Team set the parameters.

  • Create spool number from the report program

    Hello,
    I want to know the function module to create the spool request from report program, through which I can write the content of the internal table to spool.
    Thanks,
    Lucky

    Hi Lucky ,
    you will have to use 3 function modules in sucession to create a spool request as follows :
    JOB_OPEN
    JOB_SUBMIT
    JOB_CLOSE
    In case of any problem please get back to me.
    Regards,
    Nikhil

  • Increase max. spool requests

    Hello guys,
    since a few days we have a big problem with our system. After a undefined time all workprocesses are full by executing the report SAPLSPOX.
      --> they try to create an output to table TSP01
    SURE the solution is to run a job which deletes old printouts (RSPO0041)
    But I'm having this problem since days.
    NOW I want to increase the number of max. spool requests????
    Or is there a better solution????
    It's very busioness critical at the moment.
    Cheers
    christian

    Hello together,
    thanks all four your help.
    I have changed the max. spool requests from 32000 to 80000 and I run into this problem last evening again.
    Are there any other settings to change. Buffers or something like that........
    Please help me because of system standstill each time we run into this situation.
    Cheers
    Christian

  • User-exit EXIT_SAPLSPOR_001 not executed (filter spool requests)

    Hi,
    The default SAP functionality provided to control the output controller functions via auth. objects S_SPO_DEV, S_SPO_ACT & S_ADMI_FCD does not do what we would like to do.
    There's a user-exit available to implement some additional code: SPOOAUTH / EXIT_SAPLSPOR_001.
    I've activated SPOOAUTH via CMOD and added a record in table TSPOPTIONS (AUTHORITY, value CUSTOM) which was mentioned in the documentation of the function module.
    No other changes were made.
    However, this user-exit is not called when I start trx. SP01.In the selection screen I choose to show all spool request from all users for a specific time period. According to the documentation this should trigger the user-exit.
    Now the funpart begins:
    I've debugged SP01 and found that FM RSPO_CHECK_JOB_PERMISSION contains:
           IF INIT IS INITIAL.                   
             data: v like tspoptions-value.      
             call function 'RSPO_OPTION_GET'     
               exporting                         
                 name                = SPOPT_AUTH
               IMPORTING                         
                 VALUE               = v.        
             if not v is initial.                
    return value of v should be CUSTOM. However it is empty -> skips the user-exit.
    The check in FM RSPO_OPTION_GET contains:
    ALL 'RSPO_CACHE_CONTROL' ID 'AREA' FIELD 'OPTION'           ID 'OP'      
    FIELD 'GET'                
                             ID 'NAME'
    FIELD NAME                 
                             ID 'VALUE'   
    FIELD V.                   
    if sy-subrc ne 0.            
       perform write_trace1 using 'RSPO_OPTION_GET %s failed\n'  name. "#EC NOTEXT                     
       select single value from tspoptions into v where spoption = name.
    Field NAME = AUTHORITY
    Field V    = empty
    Return = 0 -> skips user-exit.
    Have I overlooked something?
    Any help would be welcome.
    Kind regards,
    Mark

    Hi Mark,
    Could be that the option value is being picked from cache/buffer (old value). You can restart the system and verify.
    Also, after putting a break-point in FM RSPO_OPTION_GET, you can edit the value of 'v' in debugger and set it to CUSTOM, just to check whether the user-exit gets executed in this case.

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Pop problem while creating spool request in reuse_alv_grid_display

    Hi Experts,
    I am trying to create a spool request of alv
    and problem is that i do not want pop-up window for asking output devices,
    actually i am calling reuse alv in loop and following steps i have done:
    w_print-print = 'X'.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_BYPASSING_BUFFER = 'X'
          I_CALLBACK_PROGRAM = SY-REPID
          IT_FIELDCAT         = FIELDCAT[]
          I_DEFAULT           = 'X'
          I_SAVE                = 'X'
          is_print                 = w_print
        TABLES
          T_OUTTAB           = T_FINAL
        EXCEPTIONS
          PROGRAM_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.
    Please give the solution.
    Thanks
    Pankaj

    Hi,
    Use FM GET_PRINT_PARAMETERS ,  and  use command NEW-PAGE PRINT ON PARAMETERS <wa_params> NO DIALOG. before calling the alv FM.
    ls_print-print = 'X'.
    DATA: lwa_params TYPE pri_params,
          lv_valid TYPE c.
    CLEAR: lwa_params, lv_valid.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_parameters          = lwa_params
        layout                 = 'X_65_132'
        line_count             = 65
        line_size              = 132
        no_dialog              = 'X'
      IMPORTING
        out_parameters         = lwa_params
        valid                  = lv_valid
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    MOVE-CORRESPONDING lwa_params TO ls_print-print_ctrl-pri_params.
    ls_print-print_ctrl-pri_params-pdest = 'LP01'. " your printr device
    NEW-PAGE PRINT ON PARAMETERS lwa_params NO DIALOG.
    then call FM CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
    this will work.
    refer link [ALV - print - create spool request;
    Regards,
    Ravi.

  • Function module which can print from spool request ?

    Hi ,
    Is there any function module which can print from spool request ?
    Regards
    pabi

    I think NO.
    You have to take print from SP01.
    Amit.

Maybe you are looking for

  • How to create a counter (with fixed increment) in DME file

    Hi Experts, Is there a way to define a counter in one of the Segment/loop of DME (Such as number of invoices), where we have to increment the actual value of the counter reading by a fixed value, say 2. Example, if the counter can print the invoice n

  • Sending through JavaMail starts to fail after several hours

    I have a strange problem send messages through JM. I have two applications, running on Jboss, regularly sending messages to external domains through javamail. On application startup, both work absolutely fine, for several hours. However, after a cert

  • Intalled Base update Automatic from sales order

    Hi From CRM Sales Order it has to update, Automatic Ibase Update throuh Action. As per SAP Standrard will it work then how if not then development required what are the steps to to be fllowup for the development please me out if any body work on IBas

  • -18002 error after Labview 7.1.1 upgrade

    Hi All, It seems like LV 7.1.1 upgrade is very dangerous when you use with Teststand. The existing system runs fine with LV 7.0 and TS 3.1. Now we have upgraded to LV 7.1.1. The LabVIEW adapter was set as LV 7.0 runtime engine previously. Now I could

  • How to run the Hardware test on a Mac mini 2015 ?

    how to run the Hardware test on a Mac mini 2015 ?